Stacked100 - Bar
Posted: Fri Dec 05, 2008 2:47 pm
Hello,
at the moment I work with the webcharts stacked100-Bars.
I have different Bars created, that are all Stacked100-Bars.
Sometimes I add values to every Bar-Series (Index 0 .. 6) per Timestamp, which I have created (i.e. EndDate, see below) and sometimes I only add values to a few of my 7 BarSeries (i.e. StartDate, see below).
The Problem here is that I get Gaps in the WebChart between the Stacked100-Bars and the Values are not drawn correctly.
What can I do to get this working correctly?
Best regards
Michael
at the moment I work with the webcharts stacked100-Bars.
I have different Bars created, that are all Stacked100-Bars.
Sometimes I add values to every Bar-Series (Index 0 .. 6) per Timestamp, which I have created (i.e. EndDate, see below) and sometimes I only add values to a few of my 7 BarSeries (i.e. StartDate, see below).
Code: Select all
DateTime StartDate = new DateTime(2008, 01, 02, 10, 00, 00);
DateTime EndDate = new DateTime(2008, 01, 02, 12, 00, 00);
Chart_Stack = WebChart_Stack.Chart;
Chart_Stack.Axes.Bottom.Automatic = true;
bar_stacked[0].Add(StartDate, 4);
bar_stacked[1].Add(StartDate, 20);
bar_stacked[5].Add(StartDate, 10);
bar_stacked[6].Add(StartDate, 2);
bar_stacked[0].Add(EndDate, 40);
bar_stacked[1].Add(EndDate, 30);
bar_stacked[2].Add(EndDate, 20);
bar_stacked[3].Add(EndDate, 20);
bar_stacked[4].Add(EndDate, 20);
bar_stacked[5].Add(EndDate, 20);
bar_stacked[6].Add(EndDate, 20);
What can I do to get this working correctly?
Best regards
Michael