Good looking, animated, easy to customize, MVVM charts for WPF, WinForms under MIT Licence
SeriesCollection.Add(new RowSeries
{
MaxRowHeigth = 15,
Title = "",
Values = new ChartValues<double>(stackedlist.Select(s => Convert.ToDouble(s.ValueVorjahr)).ToList()),
DataLabels = true,
Foreground = Brushes.Black,
FontSize = 9,
Fill = Brushes.Green,
});
I want to use LiveCharts for UWP, but this version not working https://lvcharts.net/App/examples/v1/uwp/Basic%20Line%20Chart
The probelm is in the XAML file at the <lvc:Axis> part the VS needs AxesCollection tag. Can somebody help with this? If I write AxesCollection it doesnt work
Margin
doesn't seem to help
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;