I want to create a chart with a line series, and a scatter series or point series. You can say that a scatter series is a line chain with no line but still is the marker.
So I am trying to set the line width to 0, but the line is still for point series
XYSeries renderer renderer = new XYSeriesRenderer (); Renderer.setColor (Color.GREEN); Renderer.setPointStyle (PointStyle.SQUARE); Renderer.setFillPoints (wrong); Renderer.setLineWidth (0); Renderer.setDisplayChartValues (incorrect); Renderer.setPointStrokeWidth (2); Renderer.setShowLegendItem (true);
I want to get results like this
This post answers my problems
< / P>
Actually, we need to convert any code into anchartgine source code so that it is not drawn as line if line = 0
Comments
Post a Comment