• .NET Core 3.0 and 3.1
• .NET 5
• .NET 6
Notes when using the above:
-There is an issue in LightningChart version 10.1.2.1, which prevents the chart from working properly in Core/.NET 5 and 6 projects. We have released a hotfix for this, which is available as a NuGet package (LC version 10.1.2.2). Therefore, when creating Core/.NET 5 or 6 application with LightningChart, we recommend downloading that package.
-Visual Studio may give a warning about installed package using different target and not being fully compatible with your project. However, this does not prevent the LightningChart or the application in general from working. In these cases, the warning can be suppressed or just ignored.
-In Core/.NET 5 and 6 projects, LightningChart will not appear in Visual Studio toolbox, since it is built using .NET Framework. The chart will still work well when created and configured in code.
Creating LightningChart in code example:
Code: Select all
public partial class MainWindow : Window
{
private LightningChart _chart;
public MainWindow()
{
InitializeComponent();
CreateChart();
}
private void CreateChart()
{
_chart = new LightningChart();
(Content as Grid).Children.Add(_chart);
_chart.BeginUpdate();
// Configure chart here
_chart.EndUpdate();
}
}