I am using the CartesianCustomLineAnnotation to set the VerticalTo property. I would like the vertical line to extend the entire height of the chart from 0 all the way to the top. Since I am generating the chart using data from a database query I can not know the scale of the y-axis. Sometimes it is 0-100, other times it can be in the millions. The chart does a good job of adjusting the Y-axis labels to display data to scale, but since I am hard-coding the LineAnnotation, sometimes the VerticalTo is lower than the actual height of the Y-axis.
Is there a simple way to set the height of the line annotation so it always goes to the top without hard-coding a really large number? The properties off of VerticalAxis do not seem to help.
Thanks in advance.
Is there a simple way to set the height of the line annotation so it always goes to the top without hard-coding a really large number? The properties off of VerticalAxis do not seem to help.
Thanks in advance.