ColumnSeries with DateTimeAxis instead of category axis

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

Tom4Cat wrote at 2012-07-04 11:32:

Hi Objo,
thank you for the great project.

In our application I need a ColumnSeries based on a DateTimeAxis.
If I didn't overlook it in discussion or issue tracker I could only use CategoryAxis on x-Axis or?
The target is to show bar charts based on a time span.
Best variant for us: set start and end date, set granularity (to use with zooming functions)
At the moment I transform the dates to strings to use as categories, but your DateTimeAxis at the LineSeries looks even better ;-)

Thank you for your great work...
PS: Is there a possibility to donate something to you (wish list at amazon or paypal account)?



objo wrote at 2012-07-07 00:22:

A CategoryAxis is required for the BarSeries/ColumnSeries (the categories are needed for stacking/grouping).

Try using (or subclass) RectangleBarSeries, which should be possible to use with DateTimeAxis/TimeSpanAxis (I hope to get time to improve these axes later this year).

Books are very welcome :) Here is an Amazon wishlist with some titles related to this library!