Exemple #1
0
        public static void GenerateBarGraph(this DenseVector d, string[] categories, string filename)
        {
            Highcharts.Highcharts chart = new Highcharts.Highcharts("chart3535").SetSeries(new Series
            {
                Data = new Data(d.VectorToPointArray())
            });

            chart.WriteHighChartToFile(filename);
        }
Exemple #2
0
        public static void GenerateSimpleGraph(this DenseVector d, string filename)
        {
            Highcharts.Highcharts chart = new Highcharts.Highcharts("chart3535")
                                          .SetSeries(new Series
            {
                Data = new Data(d.VectorToPointArray())
            })
                                          .SetPlotOptions(new PlotOptions
            {
                Series = new PlotOptionsSeries {
                    Marker = new PlotOptionsSeriesMarker {
                        Enabled = false
                    }, TurboThreshold = 0
                }
            })
                                          .InitChart(new Chart {
                ZoomType = ZoomTypes.X, Type = ChartTypes.Spline
            })
            ;

            chart.WriteHighChartToFile(filename);
        }
Exemple #3
0
 public static void GenerateSimpleComparisonGraph(string[] dataNames, DenseMatrix data, string filename)
 {
     Highcharts.Highcharts chart = new Highcharts.Highcharts("chart3535");
     chart.WriteHighChartToFile(filename);
 }
Exemple #4
0
 public static void GenerateSimpleComparisonGraph(string[] dataNames, DenseMatrix data, string filename)
 {
     Highcharts.Highcharts chart = new Highcharts.Highcharts("chart3535");
     chart.WriteHighChartToFile(filename);
 }
Exemple #5
0
        public static void GenerateSimpleGraph(this DenseVector d, string filename)
        {
            Highcharts.Highcharts chart = new Highcharts.Highcharts("chart3535")
                .SetSeries(new Series
                {
                    Data = new Data(d.VectorToPointArray())
                })
                .SetPlotOptions(new PlotOptions
                {
                    Series = new PlotOptionsSeries {Marker = new PlotOptionsSeriesMarker {Enabled = false}, TurboThreshold = 0}
                })
                .InitChart(new Chart {ZoomType = ZoomTypes.X, Type = ChartTypes.Spline})
                ;

            chart.WriteHighChartToFile(filename);
        }
Exemple #6
0
        public static void GenerateBarGraph(this DenseVector d, string[] categories, string filename)
        {
            Highcharts.Highcharts chart = new Highcharts.Highcharts("chart3535").SetSeries(new Series
            {
                Data = new Data(d.VectorToPointArray())
            });

            chart.WriteHighChartToFile(filename);
        }