This question is locked. New answers and comments are not allowed.
I would like to show a stacked bar chart that is comprised of two series. This part I have set up and working just fine using databinding.
There is always 24 points, one for each hour for both series. I have set up the xaxis with shorttime and formatted the labels. My datalayer is doing the oa date conversions and passing date values as double to the source datatable. I'm handing the on_databind event to set up appropriate properties for the series including the col specifications and series type properies.
Now that my range stacked bars are setup and working fine I am trying to add an additonal series to the chart that is not made up of a full 24 points. In fact there may be 0 points or many points in the entire series landing on dates between the xaxis markers (which are formatted for each hour). The reason for this is the third series is intended to represent events which for all intents and purposes are random. I intended to use the same databinding event handler to capture and change the type to type point of this third series to point and simply append my data for this series to the existing datatable. I would intended to pass the variable x dates of the third series with a static y value representing a value just above the max of my existing series1/2 stacked ranges.
and i was wondering if you could help me with a vb.net sample?
the series data looks something like this (assume in my data that I've done the oa_Date conversion). Further assume that for both series 1 and 2 there are full 24 points, one for each hour.
Whether I try to represent the dataset below using binding or manually creating series I can not get the position of the 3rd series set properly on the xaxis.
series_1,5/5/2011 2:00,8
series_1,5/5/2011 3:00,9
series_1,5/5/2011 4:00,32
series_1,5/5/2011 5:00,3
series_2,5/5/2011 2:00,21
series_2,5/5/2011 3:00,23
series_2,5/5/2011 4:00,3
series_2,5/5/2011 5:00,12
series_3,5/5/2011 2:23,30
series_3,5/5/2011 4:46,30
There is always 24 points, one for each hour for both series. I have set up the xaxis with shorttime and formatted the labels. My datalayer is doing the oa date conversions and passing date values as double to the source datatable. I'm handing the on_databind event to set up appropriate properties for the series including the col specifications and series type properies.
Now that my range stacked bars are setup and working fine I am trying to add an additonal series to the chart that is not made up of a full 24 points. In fact there may be 0 points or many points in the entire series landing on dates between the xaxis markers (which are formatted for each hour). The reason for this is the third series is intended to represent events which for all intents and purposes are random. I intended to use the same databinding event handler to capture and change the type to type point of this third series to point and simply append my data for this series to the existing datatable. I would intended to pass the variable x dates of the third series with a static y value representing a value just above the max of my existing series1/2 stacked ranges.
and i was wondering if you could help me with a vb.net sample?
the series data looks something like this (assume in my data that I've done the oa_Date conversion). Further assume that for both series 1 and 2 there are full 24 points, one for each hour.
Whether I try to represent the dataset below using binding or manually creating series I can not get the position of the 3rd series set properly on the xaxis.
series_1,5/5/2011 2:00,8
series_1,5/5/2011 3:00,9
series_1,5/5/2011 4:00,32
series_1,5/5/2011 5:00,3
series_2,5/5/2011 2:00,21
series_2,5/5/2011 3:00,23
series_2,5/5/2011 4:00,3
series_2,5/5/2011 5:00,12
series_3,5/5/2011 2:23,30
series_3,5/5/2011 4:46,30