int totalPoints = 10_000;
var sth = DataGen.RandomStockPrices(null, totalPoints);
var sth2 = sth.Select(s => s.Close).ToList();
var Series = new ObservableCollection<ISeries>
{
new LineSeries<double>
{
//Values = new ObservableCollection<double> { 200, 558, 458, 249, 457, 339, 587 },
Values = sth2,
Stroke = null,
GeometrySize = 0,
GeometryFill = null,
GeometryStroke = null,
// Fill = null,
LineSmoothness = 0,
},
};
var cartesianChart = new CartesianChart
{
Series = Series,
ZoomMode = LiveChartsCore.Measure.ZoomAndPanMode.X,
Location = new System.Drawing.Point(0, 0),
Size = new System.Drawing.Size(50, 50),
Anchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top | AnchorStyles.Bottom,
AnimationsSpeed = TimeSpan.Zero,
};
Animation, line smoothing are disabled. Zooming-in enabled.. but it's nearly impossible to use the plot.