Adding Bar with default color values
Posted: Fri Nov 16, 2007 12:18 pm
Hi
I have an eval copy of Teechart pro 8 active ex running on VB.net and I can't seem to add a bar to the series with the default color theme defined by the chart editor.
My code looks something like this:
Me.AxTChart1.Series(0).Add(50, "Test", System.Convert.ToUInt32(System.Drawing.ColorTranslator.ToOle(System.Drawing.Color.Empty)))
Me.AxTChart1.SetTheme(TeeChart.EChartTheme.ctWindowsXP, TeeChart.EColorPalette.cpWindowsXP)
Me.AxTChart1.Series(0).ColorEachPoint = True
I feel like I am really missing something here ...???
I have an eval copy of Teechart pro 8 active ex running on VB.net and I can't seem to add a bar to the series with the default color theme defined by the chart editor.
My code looks something like this:
Me.AxTChart1.Series(0).Add(50, "Test", System.Convert.ToUInt32(System.Drawing.ColorTranslator.ToOle(System.Drawing.Color.Empty)))
Me.AxTChart1.SetTheme(TeeChart.EChartTheme.ctWindowsXP, TeeChart.EColorPalette.cpWindowsXP)
Me.AxTChart1.Series(0).ColorEachPoint = True
I feel like I am really missing something here ...???
