Articles in this section
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

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied