I want to change the color of the fill bellow the chart(with blue using line chart,FastMountainRenderableSeries etc) but I have problem with defining the BrushStyle and it wont apply on chart(issue with color define-initPaint).Should I change the function ?or how to change default area color ?
- Guest asked 8 years ago
- last edited 8 years ago
- You must login to post comments
Hi Patrik,
You can set fill color with next code:
FastMountainRenderableSeries mountainSeries = new FastMountainRenderableSeries();
// mountain series should be filled using red color
mountainSeries.setAreaStyle(new SolidBrushStyle(Color.RED));
Also you can define gradient fill or fill with specified texture by creating appropriate style instance. You can find more information about brush styles in our documentation: SolidBrushStyle, LinearGradientBrushStyle, RadialGradientBrushStyle and TextureBrushStyle.
Please take a look and let me know if it helps!
Best regards,
Yura
- Yura Khariton answered 8 years ago
-
Thanks Yura ! It worked !
- You must login to post comments
Please login first to submit.