Hi David,
I was Creating VerticalBarchart3D and I found from online document description
public static JFreeChart createVerticalBarChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset data,
boolean legend,
boolean tooltips,
boolean urls)
but it is not compiling...giving error class not found in chartFactory.
public static JFreeChart createVerticalBarChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset data,
boolean legend )
It compiles when i take those tw parameters out.
And i have another question how can i pass category labels and series names if i use CategoryDataset?
Thank you,
Divya.
About Class ChartFactory
Re: About Class ChartFactory
Hi Divya,
You can put the category names and the series names into an array and call the DefaultCategoryDataSet( ) constructor.
Hope this helps,
--Narasimha
You can put the category names and the series names into an array and call the DefaultCategoryDataSet( ) constructor.
Hope this helps,
--Narasimha
Re: About Class ChartFactory
Hello Narasimha,
Thank you for your reply.I got it.and i have another question how can i show some string values over the bar (like in a pie you can show the values).Actually on top of the bar thae values like 30% .
how can i do this?
Divya.
Thank you for your reply.I got it.and i have another question how can i show some string values over the bar (like in a pie you can show the values).Actually on top of the bar thae values like 30% .
how can i do this?
Divya.
Re: About Class ChartFactory
Hi Divya,
Check this link below
http://www.object-refinery.com/phorum-3 ... 391&t=6377
may be it will be of some use.
--Narasimha
Check this link below
http://www.object-refinery.com/phorum-3 ... 391&t=6377
may be it will be of some use.
--Narasimha