Search found 5 matches
- Mon Mar 19, 2018 2:08 pm
- Forum: JFreeChart
- Topic: different itemLabelPositions for each item
- Replies: 1
- Views: 3049
Re: different itemLabelPositions for each item
Looks Like I found a solution, in case anyone needs it: you can't have N TextAnchor for the renderer for you can set 1 only, but overwriting the Renderer you can set N ItemLabelPosition to the renderer, I used a Map which had the Comparable of the chart and the TextAnchor which is TextAnchor.CENTER ...
- Thu Mar 15, 2018 9:50 pm
- Forum: JFreeChart
- Topic: different itemLabelPositions for each item
- Replies: 1
- Views: 3049
different itemLabelPositions for each item
Hi, I have a problem with ItemLabelPosition in a XYplot. I've been asked to set the ItemlabelPosition por each item separately, that is, for example that one item may have its ItemLabelAnchor.OUTSIDE12 and other would have ItemLabelAnchor.OUTSIDE7. I understand that this can be set for the renderer ...
- Fri Feb 26, 2016 1:30 pm
- Forum: JFreeChart
- Topic: make any positive bar start at 0 in waterfall chart
- Replies: 4
- Views: 6232
Re: make any positive bar start at 0 in waterfall chart
Hi, thanks for your quick response. The thing is that I am completely new to Jfreechart (it's my second day working with it) and still don't know all the parameters very well. I am currently trying to override those methods by adding a condition in certain parts of the methods, but it seems that the...
- Thu Feb 25, 2016 10:47 pm
- Forum: JFreeChart
- Topic: make any positive bar start at 0 in waterfall chart
- Replies: 4
- Views: 6232
Re: make any positive bar start at 0 in waterfall chart
Hi, what I need is that every blue bar (which will always contain a positive value) instead of starting where the values are being substracted or added, it must start from the 0 in the Y axis, just like the first and last bars. That is, I want every blue bar to be like the first and last bars, so wh...
- Thu Feb 25, 2016 4:07 pm
- Forum: JFreeChart
- Topic: make any positive bar start at 0 in waterfall chart
- Replies: 4
- Views: 6232
make any positive bar start at 0 in waterfall chart
Hi I am using a waterfall chart with positive and negative values. the user may add new positive or negative bars dinamically. What I need is that when a positive bar (blue bars) is added, it has to start at 0 in the Y axis, something similar to the "subtotal" bars in excel. I need to avoid this beh...