How to customize the Zooming factor in the Pivot chart?

Answer:

We can set customize zooming in the code behind by using the ZoomFactor property in the PivotChartSettings tag.

<SfPivotView Width="800" TValue="ProductDetails" Height="600" ShowFieldList="true">

<PivotViewDisplayOption Primary="Primary.Chart" View="View.Chart">

PivotViewDisplayOption>

<PivotChartSettings Title="Sales Analysis">

<PivotChartPrimaryXAxis ZoomFactor="0.5">PivotChartPrimaryXAxis>

<PivotChartSeries Type=ChartSeriesType.Column>PivotChartSeries>

PivotChartSettings>

<PivotViewDataSourceSettings DataSource="@dataSource" ExpandAll="false">

PivotViewDataSourceSettings>

SfPivotView>


Find the sample for customizing the Zooming factor in the Pivot Table chart from here.

Loader.
Up arrow icon