Page 1 of 1

Questions on chart components

Posted: 24 Apr 2012, 15:02
by LarsD
Hello,

1) Is it possible to completly disable grid inside the chart (e.g line or bar chart)? May be with a custom style class?

2) Is it possible to place the legend outside of a line or bar chart? Options like "ne" or "w" allways place the legend inside of the inner grid.

3) Is it possible to define the y axis value steps? Often the component calculates the steps and then you get double values regardless that the chart values are only integers. (very big problem if you define min and max values). The x axis has the same problem but here you can use the workaround of strings.

4) Is it planned to create a "pointsChart" component? Basically like line but without the lines beween the value dots, also a disable option for the linws could be an option.

kind regards,
Lars

Re: Questions on chart components

Posted: 24 Apr 2012, 15:50
by andyba
Check out http://www.primefaces.org/showcase/ui/dynamicImage.jsf and then go to the JFreeChart site to see how you can do what you want.

Re: Questions on chart components

Posted: 24 Apr 2012, 17:37
by LarsD
ok, but this would be a step back in evolution ;-) i don't want to reinvent things which are already available in primefaces.

if these things are not possible atm i will create a feature request.

kind regards

Re: Questions on chart components

Posted: 24 Apr 2012, 23:18
by kukeltje
if these things are not possible atm i will create a feature request.
Or implement them and add them to primefaces-extensions ;-)

Re: Questions on chart components

Posted: 25 Apr 2012, 18:21
by LarsD
hm, i have no experience with this.

is there a guide or something similar?

Lars