In my code I've used this renderer: renderer = (XYLineAndShapeRenderer) plot.getRenderer(0); renderer.setDrawSeriesLineAsPath(true); plotDataset.addSeries(serieDati); renderer.setSeriesShapesVisible(nserie, false); renderer.setSeriesPaint(nserie, Color.BLACK); renderer.setSeriesStroke(nserie, new Ba...
I've added some XYseries in a XYSeriesCollection on a XYLineChart.
Zoom doesn't display lines if there aren't points of the XYseries inside the zoom area, even if a line (between two point outside the area) intersect the Zoom Area.
but now i can't retrieve the list of annotation added to the renderer,
becuase from XYPlot.getRenderer.getAnnotations() doesn't exist a function similar to XYPlot.getAnnotations()
Hi i have a problem to add an annotation relative to a dataset that isn't the primary. Imagine a xy plot where I plot, for example, two datasets with the same x axis and two different y axis. Then I want to draw an annotation for the two different dataset. When I click with the mouse on the plot of ...
ok but, with the old version the code: viewerPlot.getChartPanel().getEntityForPoint(event.getTrigger().getX(), event.getTrigger().getY()); return a XYItemEntity, in the new version the type is PlotEntity. What can i do? I need to use the function entity.getDataset() , and i can only have with XYItem...
Hi i hava problem to make cast from ChartEntity to XYItemEntity with the last release of Jfreecharrt (1.0.13). Following the code working fine using Jfreecharrt 1.0.12 XYItemEntity entity = (XYItemEntity) viewerPlot.getChartPanel().getEntityForPoint( event.getTrigger().getX(), event.getTrigger().get...
Hi David, as nobody seems to have an answer to my probleme, I try to ask you directly if you can suggest me a way to perform what I am asking for. I am not asking a complete code listing but a suggestion to
resolve my needs.
Thanks
To be more clear Xmax=27506 Xmin=-7207 Delta Tick=(27506+7207)/10=3471.3 I expected to obtain a graphics with the X scale drawed like the following: 0 !---------------!-------------!--------------!-------------! -7207.......-3753.7.....-264.4........3206.9......6678.2 but I obtain the following with...
Problem Description Xmin and max values : scalaMinX= - 7207 scalaMaxX= 27506 dimX=10 I draw the axis using the following sequence ...... NumberAxis domainAxis_x = (NumberAxis) plot.getDomainAxis(); domainAxis_x.setStandardTickUnits(NumberAxis.createIntegerTickUnits()); domainAxis_x.setRange(new Rang...