Swapping X and Y Axes During Runtime

To invert the axes after the chart was loaded, use the following code:

 

((Renderer2D)c1Chart1.Data.Renderer).Inverted = true;


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.