How can I modify the line color of a silverlight chart ???, Silverlightchart

Source: Internet
Author: User

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>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.