Good looking, animated, easy to customize, MVVM charts for WPF, WinForms under MIT Licence
TimeAxis.MinValue += HalfPointsCountPerZoom;
TimeAxis.MaxValue -= HalfPointsCountPerZoom;
if (TimeAxis.MinValue < 0)
{
TimeAxis.MinValue = 0;
}
if (TimeAxis.MaxValue > TimeAxis_TotalPointsCount)
{
TimeAxis.MaxValue = TimeAxis_TotalPointsCount;
}
ZoomLevel++;
}
}
chartValues
in your series:YourSeries.Values = chartValues;
@wajahat > Hello there, AddRange() method not working for ChartValues<ObservablePoint> any help? @Wajahat
I use add observable point similar to the following..... private ObservablePoint[] _PowerHP = new ObservablePoint[ListSize];
_PowerHP[Index] =
new ObservablePoint(
XAxisValue,
Math.Round(Convert.ToDouble(row["PowerHPFiltered"]), 1)
);
Series_PowerHP_Base.Values.AddRange(_PowerHP);