ChartCreator can generate custom style chart image(bar,line,pie) on the UWP platform.
ChartCreator 是一套UWP图表工具,可以生成自定义的图表(柱状图,折线图,饼图)图片。
UWP:download from Nuget
var chart = new LineChart
{
Values = values,
Style =JsonConvert.DeserializeObject<LineChartStyle>(styleJson)
};
var canvasCommandList = chart.GetChartImage();
var bitmap=await canvasCommandList.GetSoftwareBitmapAsync();