public ChartBarSeriesSerializerTests()
        {
            var chart = ChartTestHelper.CreateChart <SalesData>();

            chart.DataSource = SalesDataBuilder.GetCollection();
            barSeries        = new ChartBarSeries <SalesData, decimal>(chart, s => s.RepSales);
        }
Пример #2
0
        public ChartScatterSeriesSerializerTests()
        {
            var chart = ChartTestHelper.CreateChart <XYData>();

            chart.DataSource = XYDataBuilder.GetCollection();
            scatterSeries    = new ChartScatterSeries <XYData, float>(chart, s => s.X, s => s.Y);
        }
        public ChartPieSeriesSerializerTests()
        {
            var chart = ChartTestHelper.CreateChart <SalesData>();

            chart.DataSource = SalesDataBuilder.GetCollection();
            series           = new ChartPieSeries <SalesData, decimal>(chart, s => s.RepSales, s => s.RepName, s => s.Color, s => s.Explode);
        }
        public ChartSeriesDefaultsSerializerTests()
        {
            var chart = ChartTestHelper.CreateChart <SalesData>();

            seriesDefaults = new ChartSeriesDefaults <SalesData>(chart);
        }
 public ChartHtmlBuilderTests()
 {
     chart   = ChartTestHelper.CreateChart <SalesData>();
     builder = new ChartHtmlBuilder <SalesData>(chart);
 }