Jump to content
Software FX Community

Secondary X Axis

User (Legacy)

Recommended Posts

Can you provide me with a VB.Net example for creating a secondary X Axis.  I

can not figure out how to reference the Axis Class. The Axis Class is not

recognized in the Dim Statement. I have the following code:

Dim axis2 As Axis = Chart1.Axis(3)

axisX2.YAxis = False

axisX2.Visible = True

axisX2.Position = AxisPosition.Near

axisX2.LabelsFormat.Format = AxisFormat.Date

' Align with main X-axis

axisX2.Min = Chart1.AxisX.Min - 1

axisX2.Max = Chart1.AxisX.Max - 1

axisX2.Style = AxisStyle.Centered

The Axis object is not recognized in the Dim Statement.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...