PieSlice class setTitle() method doesn't work
When I'm trying to add a title to PieSlice it doesn't work.
Slice slice = new PieSlice(); slice.setTitle("asdf");
Please fix it asap.
Comments (11)
-
repo owner -
It doesn't work for me neither. Using your example which I found in the source extending whit an additional command: slice.setTitle("asdf")
-
repo owner Yes... But how doesn't it work.
-
It doesn't appears. I haven't seen any title on the graph or next to.
-
repo owner Its not supposed to. Its for utility.
-
Then how the users will know the meaning of slices if we won't showing them the name of them?
-
Same for line graph. There are no possibility to set names for the points on the axis. It would be great if we can have this.
-
@iamisti I was planning on adding some scale for the y axis of linegraphs anyway.
Meaning: I would first add an y axis (some kind of
hasYAxis
boolean flag). Then I would add some grey hairlines across the graph (maybe also switchable with a flag).I'm not yet sure about the algorithm for those hairlines, though. How many or what kind of spacing between them. It highly depends on the y values, of course.
Now I could also add some numbers next to the y asis so that the values of those lines get clear.
Would that help?
Alas, since I'm busy this week, that's most probably something for the next weekend.
-
@RittmeyerW it would be great, thanks!
-
repo owner That is up to you to implement in your own way :)
-
I think that a good behaviour is to display a bubble attached to the slice with the name of the Slice when the user click on that slice.
- Log in to comment
In what way does it not work.