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

0
0

Hi,

I tried to remove the black borders of the chart surface but to no avail. Is there a way to remove the border and have the chart to show just the major Grid lines?

I am right now using the theme – Bright Spark.

Version
5
  • You must to post comments
0
0

Hi Chris,

The border should be stylable via the GridLinesPanel style. have a look at Xaml Styling documentation for more info

Templating and Styling Chart Parts

enter image description here

<!--  Define styles for the GridLinesPanel  -->
<Style x:Key="GridLinesPanelStyle" TargetType="s:GridLinesPanel">
       <Setter Property="Background" Value="Pink"/>
       <Setter Property="BorderThickness" Value="2"/>
       <Setter Property="BorderBrush" Value="SteelBlue"/>
</Style>

<!-- Where xmlns:s="http://schemas.abtsoftware.co.uk/SciChart" -->
<s:SciChartSurface GridLinesPanelStyle="{StaticResource GridLinesPanelStyle}">
</s:SciChartSurface>

Best regards,
Andrew

  • You must to post comments
0
0

Thanks. That worked!

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.