I am using Zedgraph version 5.1.5.28844 with VS 2015. This project compiled about a year ago but now after opening I am getting errors that don't make sense. I am getting errors like Title is readonly and Min is not a member of Yaxis. I know that a year ago it was. Don't know what the deal is. I tried reloading the older resource but still getting the same errors. Does anyone have an explainination?
Hi Ryan,
It appears that the version that you were compiliing to was a much older version that you think.
John introduced the Scale class in Dec 2005 v4.3.2. This class extracted the min/max and step configuration to a seperate class.
to set the Axis min/max use
currentPlot.YAxis.Scale.Min = 0
currentPlot.YAxis.Scale.Max = 2.5
The axis title properties have been changed to an AxisLabel in v5. Access its title
currentPlot.XAxis.Title.Text
currentPlot.YAxis.Title.Text
Title has changed from a string to a Label
access the title
currentPlot.Title.Text