mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-08 02:30:51 +08:00
29 lines
708 B
C#
29 lines
708 B
C#
using System;
|
|
using LiveCharts;
|
|
using LiveCharts.Dtos;
|
|
using LiveCharts.Wpf;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
|
|
namespace UnitTests.SeriesAndValues
|
|
{
|
|
[TestClass]
|
|
public class AutoColorSetter
|
|
{
|
|
[TestMethod]
|
|
public void AutoSeriesColors()
|
|
{
|
|
//var testguy = new CartesianChart();
|
|
//testguy.MockIt(new CoreSize(200, 200));
|
|
|
|
//var seriesCollection = new SeriesCollection();
|
|
|
|
//for (var i = 0; i < 100; i++)
|
|
//{
|
|
// seriesCollection.Add(new LineSeries {Values = new ChartValues<double> {1, 2, 3}});
|
|
//}
|
|
|
|
//testguy.Series = seriesCollection;
|
|
}
|
|
}
|
|
}
|