User (Legacy) Posted November 8, 2004 Report Share Posted November 8, 2004 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 More sharing options...
Software FX Posted November 9, 2004 Report Share Posted November 9, 2004 Wrong namespace: SoftwareFX.ChartFX.AxisItem.X -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.