Profile Picture

How to zoomIn or ZoomOut Chart programatically?

Posted By Niranjan Singh 12 Years Ago
Author
Message
Niranjan Singh
Posted 12 Years Ago
View Quick Profile
Forum Member

Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)Forum Member (41 reputation)

Group: Forum Members
Last Active: 4 Years Ago
Posts: 49, Visits: 179
NChartCommander commander = new NChartCommander();
commander.ChartControl = nChartControl1;
commander.ZoomStep = 1;
commander.RotationStep = 1;
commander.ChartSizeStep = 1;


NZoomInCommand cmd = commander.Commands.GetCommandFromId((int)ChartCommand.ZoomIn) as NZoomInCommand;

How to Execute this Command. It is Enabled property is false always.
How NChartCommander and NChartCommand or NZoomInCommand interact to reflect the effect on the chart control.





Similar Topics


Reading This Topic