Category / Section
How to display Multilpe chartControls as Multiple Chart Areas?
1 min read
First create multiple chartcontrols and specify its Axes’s location tye to Set. Then specify the axes’s location of chart control with longest labels to axes’s location of other chart controls.
C#
this.chartControl2.PrimaryXAxis.LocationType = ChartAxisLocationType.Set;
this.chartControl2.PrimaryXAxis.Location = chartControl1.PrimaryXAxis.Location;
VB
Me.chartControl2.PrimaryXAxis.LocationType = ChartAxisLocationType.Set
Me.chartControl2.PrimaryXAxis.Location = chartControl1.PrimaryXAxis.Location