/// <summary> /// Load a default style for the charts /// </summary> /// <param name="chartData"></param> /// <param name="highResolution"></param> public static void LoadDefaultChartStyle(ChartData chartData, bool highResolution = false) { //data.ChartStyle.BackGradientStyle = GradientStyle.TopBottom; //data.ChartStyle.BackgroundColor = Color.White; //data.ChartStyle.BackgroundSecondColor = Color.LightBlue; //data.ChartStyle.CopyrightFontSizeDelta = 0.6F; var chartStyle = GlobalValues.DefaultTypography().ChartStyle; if (highResolution) { chartStyle.Width = 4500; chartStyle.Height = 2781; chartStyle.FontSize = 12; } chartStyle.CopyrightFontSizeDelta = 0.6F; chartStyle.BackgroundColor = Color.Transparent; //_chartStyle.AxisLineColor = Color.DarkBlue; // chartData.ChartStyle = chartStyle; chartData.Copyright = "(c) Testfirma"; }