SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
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.
If I correctly understand your requirements you want to change background of something that we call axis bands.
It is possible to provide background in code by setting appropriate brush style for each axis:
xAxis.AxisBandsStyle = new SolidBrushStyle(Color.Red); yAxis.AxisBandsStyle = new SolidBrushStyle(Color.Blue);
or by creating custom theme and applying it to the chart. If you need more information about how to do this then I would suggest to take a look on this example which uses built-in themes and custom BerryBlue theme which is defined in styles:
<!-- Axis defaults --> <item name="tickTextColor">#FF6495ED</item> <item name="majorGridLinesColor">#102A47</item> <item name="minorGridLinesColor">#0D223D</item> <item name="axisBandsColor">#0E233A</item>
Hope this will help you!
Please login first to submit.