Jump to content
Software FX Community

How do I add a line to a chart?


User (Legacy)

Recommended Posts

Figured it out. For those that are interested, try:

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

myChart.ConstantLines(0)

With constantLine

.Axis = SoftwareFX.ChartFX.AxisItem.Y2

.Value = 0

.Color = System.Drawing.Color.Gray

.Style = Drawing.Drawing2D.DashStyle.DashDot

.Width = 1

End With

"Stephen Miller" <chartfx@3la.com.au> wrote in message

news:oPyvGfCyDHA.3512@WEBSERVER1...

> I want to add a simple horizontal zero line to a chart. What's the best

way

> to do this?

>

> I'm using v 6.2 and VB.Net

>

> Thanks,

>

> Stephen

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...