Hi,
I am trying to provide a zoom feature for my pie chart, but I am not sure if that is possible because I've only seen examples where zoom is used for bar chart. I have two pie charts rcv1 and rcv2. Below is my code:
public PDM_Chart()
{
InitializeComponent();
rcv1.ShowPanZoom = true;
ChartPanZoomController panZoomController = new ChartPanZoomController();
panZoomController.PanZoomMode = ChartPanZoomMode.Horizontal;
rcv1.Controllers.Add(panZoomController);
rcv2.ShowPanZoom = true;
ChartPanZoomController panZoomController1 = new ChartPanZoomController();
panZoomController1.PanZoomMode = ChartPanZoomMode.Horizontal;
rcv2.Controllers.Add(panZoomController1);
}
Either pressing ctrl and scroll the mouse wheel or left click and drag doesn't seem to show anything. What am I doing wrong?