So I have a Composite Chart made up of Line Chart layers with the X-Axis representing a bunch of dates, and the Y-Axes representing numeric values. Since the Series representing the data are NumericTimeSeries, the graph adds weekends to the X-Axis even though the data supplied are strictly weekdays.
I can switch to NumericSeries, but it doesn't draw anything unless I change the Axis.DataType to AxisDataType.String, and the Axis.SetLabelAxisType to SetLabelAxisType.ContinuousData which is fine except that my date formatting in the Axis.Labels.ItemFormatString gets ignored ("<ITEM_LABEL:MM/dd/yyyy>").
I'd prefer to keep the NumericTimeSeries and somehow communicate that I wish for missing time intervals to be ignored, but I doubt that's possible from what I've seen in the scant documentation. If I'm forced to treat the dates as strings, how can I force them to be formatted the way I need?
Thanks,ChrisPowers
By the way, I'm using 2007 Volume 1 CLR 2.x Release (v7.1.20071.40).
No problem. I just thought it was odd since I had requested that my other post be moved from the WebChart forum to this forum:
http://forums.infragistics.com/forums/t/9074.aspx
...and instead, this post--which was placed correctly--was moved to the WebChart forum.
Any chance of the other post being moved here? Or, more importanly, any insight on what might be causing the problem referenced in that post?
Sorry Chris..it was not clear from the inital post which platform this was in reference to (at least not that I saw). Its been moved into the appropriate forum.
Devin
Any particular reason why this thread was moved? This is a Windows Forms / WinChart issue, not an ASP.net / WebChart issue.
Nice to have some closure on this issue. Thanks for your help, David.
okay, i guess i didn't understand the question fully. it's not possible to plot on a time scale adjusted for weekend time in this way. all time axes are linear.
i think your solution of using a NumericSeries is the least complex (and therefore the best) way to work around this limitation.