我正在尝试在Windows运行时应用程序中动态创建CartesianChart。
代码:
CartesianChart ch = new CartesianChart
{
Series = new SeriesCollection
{
new LineSeries
{
Title = "",
Values = new ChartValues<double> { 1, 1, 2, 3 ,5 }
}
}
};
错误消息:
The text associated with this error code could not be found.
Cannot deserialize XBF metadata type list as 'OrientationConverter' was not found in namespace 'LiveCharts.Uwp'. [Line: 0 Position: 0]
在这种情况下,有人可以给我建议吗?