1. Y label is not displaying jfree.orgHi 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!! |
2. Not displaying y Label jfree.orgHi, I am using CategoryDataset and following code will draw NO DATA AVAILABLE chart. Here my problem is i am not able to see y label. Can anyone tell me what is the reason? I am using latest JFree libs - jfreechart-1.0.6.jar and jcommon-1.0.10.jar -------------------------------------------------------------------- DefaultCategoryDataset dataset =new DefaultCategoryDataset(); CategoryAxis xAxis=new CategoryAxis3D(""); if(chartType==Monitor.APPLICATION_CALL_MONITOR_DAYWISE){ xAxis=new CategoryAxis3D("Days"); Calendar calendar=Calendar.getInstance(); Date date=sdf.parse(callDate); calendar.setTime(date); Date ... |
3. Get X and Y Labels from a JFreeChart jfree.orgHello, I was wondering if it would be possible to get the XLabel and YLabel from a JFreeChart object. I searched the Javadoc and saw that I can get the Title of the chart, or even the Legend items, but I can't figure how to get the axis labels. I know that these labels only exist in some types of charts, ... |