How can I modify the line color of a silverlight chart ???, Silverlightchart
How can I modify the line color of a silverlight chart ???
I made it all yellow. How can I change the color of the line and the width of the line? Thank you.
How does JFreeChart make the line chart thicker and change the color of the line chart?
Change the color through XYLineAndShapeRenderer, setSeriesPaint, and setSeriesStroke.
These demos are available. More demos
How does JFreeChart make the line chart thicker? How does it change the color of the line chart?
Through the process of XYLineAndShapeRenderer to setSeriesPaint to change the color setSeriesStroke to change the paint brush should be such these demos have to look at the parameters in the demo setSeriesPaintpublic void setSeriesPaint (int series, java. awt. paint paint, boolean every y) Sets the paint used for a series and, if requested, sends a RendererChangeEvent to all registered listeners. parameters: series-the series index. curve No. paint-the paint (null permitted ). does the color define y-policy listeners notify the listener of another similar width change: renderer. setSeriesStroke (0, new BasicStroke (2.0F); change color: renderer. setSeriesPaint (0, Color. green); the specific parameters are set as needed. 0 indicates the index 0 of the broken line, indicating the first line to view the original post>