SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

1
0

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 ?

Version
1.0.0.1063
Images
  • You must to post comments
1
0

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

    • Guest
    • 2 years ago
    • 1
    Thanks Yura ! It worked !
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.