Hi All,
i have very queer problem.My chart is not displaying Y-label. snippet of code is
NumberAxis3D yAxis = new NumberAxis3D();
CategoryPlot plot = new CategoryPlot(dataset,xAxis,yAxis,line3d);
chart = new JFreeChart(title, (new Font("", Font.BOLD,
12)), plot, true);
yAxis=(NumberAxis3D)plot.getRangeAxis();
yAxis.setLabel("Time to Answer");
Ideally it should display.I m using Jfree 1.0.5.jar
Is it bug/i m doing wrong way
All suggestions are welcome!!
Y label is not displaying
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
I tried to reproduce this, but it works fine for me. Can you post a small self-contained demo that shows the problem?
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


David,david.gilbert wrote:I tried to reproduce this, but it works fine for me. Can you post a small self-contained demo that shows the problem?
Here is imagehttp://img242.imageshack.us/my.php?imag ... ingkq8.jpg
You will notice that Y label is not displaying where its expected to do.I am exporting to chart to SVG format.
I will post code also
chart = new JFreeChart(title, (new Font("", Font.BOLD, 12)), plot,true);
yAxis=(NumberAxis)plot.getRangeAxis();
yAxis.setLabel("Times in Milli Seconds");
Where i m doing wrong??
Thanks in advance
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
I believe you that the y-axis label is not showing. What I can't do right now is reproduce the problem, which is why I asked you to post a small self-contained demo that shows the problem. I don't have anything else to go on, so I can't help you.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader

