BarSeries with DateTimeAxis

Oystein Bjorke 10 years ago 0
This discussion was imported from CodePlex

sargent wrote at 2014-06-02 05:20:

I am looking to create a horizontal bar graph with a DateTimeAxis as my X axis
Image

From the research I have done it appears a RectangularBarSeries graph would work out best for me. I've looked around but can not find any good examples or documentation on this. Could someone provide a simple example to get me started? Thanks.

objo wrote at 2014-06-06 21:08:

Did you see the example RectangleBarSeriesExamples in the ExampleLibrary? I think it should be possible to use it with DateTimeAxis and CategoryAxis - just use DateTimeAxis.ToDouble to convert the DateTime values to numbers. And please create an example we can include in the ExampleLibrary!