Category / Section
How to enable zooming in PivotChart?
1 min read
This KB illustrates that how to enable zooming in PivotChart.
Solution:
You can enable zooming option while viewing more members in PivotChart using the following code example.
JS
$("#PivotChart1").ejPivotChart({ url: "../wcf/OlapChartService.svc", zooming: {enable : true, type : 'x,y', enableMouseWheel: true } });
ASP
<ej:PivotChart ID="PivotChart1" runat="server" Url="../wcf/OlapChartService.svc"> <Zooming enable="true" type="x,y" enable="true" enableMouseWheel="true"/> </ej:PivotChart>
MVC
@Html.EJ().Pivot().PivotChart("OlapChart1").Url(Url.Content("../wcf/OlapChartService.svc")).Zooming(zooming => zooming.Enable(true).EnableMouseWheel(true).Type("x,y"))