Jump to content
Software FX Community

XAxis Constant Lines


User (Legacy)

Recommended Posts

Error reported when referencing AxisItem of Internet.Server.

"AxisItem not a member of Server"

From the Samples and Resource Center:

constantLine = Chart1.ConstantLines(1)

constantLine.Value = 3

constantLine.Color = System.Drawing.Color.Orange

constantLine.Axis = SoftwareFX.ChartFX.Internet.Server.AxisItem.X

constantLine.Text = "Limit 2"

constantLine.Width = 3

My Code:

'Dim constantLine As SoftwareFX.ChartFX.Internet.Server.ConstantLine

'constantLine = ProfileChart.ConstantLines(0)

'constantLine.Value = 7.5

'constantLine.Color = System.Drawing.Color.Black

'constantLine.Axis = SoftwareFX.ChartFX.Internet.Server.AxisItem.X

'constantLine.Text = "Maximum Tolerance"

'constantLine.Width = 0.5

'constantLine.Style = System.Drawing.Drawing2D.DashStyle.Dash

'Dim constantLine2 As SoftwareFX.ChartFX.Internet.Server.ConstantLine

'constantLine2 = ProfileChart.ConstantLines(1)

'constantLine2.Value = 7

'constantLine2.Color = System.Drawing.Color.Black

'constantLine.Axis = SoftwareFX.ChartFX.Internet.Server.AxisItem.X

'constantLine2.Text = "Minimum Tolerance"

'constantLine2.Width = 0.5

'constantLine2.Style = System.Drawing.Drawing2D.DashStyle.Dash

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...