C# plotting chart- How to show maximum scale when set fixed interval at same time -
i trying plot mschart setting x axis both maximum property , fixed interval. chart plotted not showing maximum scale(tickmark). unless use auto interval instead of fixed interval.
if set x axis maximum value , auto interval, max scale showing.(but interval not want)
chart1.chartareas[0].axisx.maximum = dt.rows[lastpointindex].field<double>("x"); chart1.chartareas[0].axisx.minimum = 0;
if add this, maximum scale not showing.
chart1.chartareas[0].axisx.interval = 0.15;
btw, add points in way:
for (int j = 0; j <= index; j++) { double x = dt.rows[j].field<double>("x"); double y = dt.rows[j].field<double>("y"); colomun1.points.addxy(x, y); }
Comments
Post a Comment