2X faster development
The ultimate UWP UI toolkit to boost your development speed.
Description: This article describes how to view the ChartArea alone in the SfChart. Solution: The chart area alone is displayed by personalizing the Visibility property of the axes of the chart. To display the chart area alone in SfChart, set the Visibility property of primary and secondary axes to Collapsed. XAML <syncfusion:SfChart x:Name="columnChart"> <syncfusion:SfChart.PrimaryAxis > <syncfusion:CategoryAxis Header="Computer sales" Visibility="Collapsed"/> </syncfusion:SfChart.PrimaryAxis> <syncfusion:SfChart.SecondaryAxis> <syncfusion:NumericalAxis Header="Quantity Sold" Visibility="Collapsed"/> </syncfusion:SfChart.SecondaryAxis> <syncfusion:ColumnSeries Label="2014" ItemsSource="{Binding Computers}" XBindingPath="Computer" YBindingPath="Year2014" /> </syncfusion:SfChart> C# this.columnChart.PrimaryAxis.Visibility = Visibility.Collapsed; this.columnChart.SecondaryAxis.Visibility = Visibility.Collapsed; The following screenshot illustrates the output for the chart that is displayed with its area alone. OutputFigure 1: SfChart with chart area alone. |
2X faster development
The ultimate UWP UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.