thielj / MetroFramework

Metro UI of Windows 8 for .NET Windows Forms applications
http://thielj.github.io/MetroFramework
Other
396 stars 225 forks source link

Windows Form Line graph does not adopt Style manager style #77

Open TylerBurnett opened 7 years ago

TylerBurnett commented 7 years ago

After trying with several attempts i think its an actual issue as the linegraph fore colour and back colour are not adopted by the graph..

capture

The line graph is on a Metro Tab Page.. this is the current designer code:

             // 
            // XPTracker
            // 
            this.StyleExtender.SetApplyMetroTheme(this.XPTracker, true);
            chartArea1.Name = "ChartArea1";
            this.XPTracker.ChartAreas.Add(chartArea1);
            legend1.Enabled = false;
            legend1.Name = "Legend1";
            this.XPTracker.Legends.Add(legend1);
            this.XPTracker.Location = new System.Drawing.Point(-4, 39);
            this.XPTracker.Name = "XPTracker";
            this.XPTracker.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Excel;
            series1.ChartArea = "ChartArea1";
            series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Line;
            series1.Legend = "Legend1";
            series1.Name = "Series1";
            this.XPTracker.Series.Add(series1);
            this.XPTracker.Size = new System.Drawing.Size(457, 271);
            this.XPTracker.TabIndex = 2;
            this.XPTracker.Text = "MonthlyXP";