Group: Forum Members
Last Active: 9 Years Ago
Posts: 11,
Visits: 10
|
Hi!
I haven't found the better place to post a feature request, so I'll leave it here.
It would be nice to have an ability to customize the number of scale rows in NRangeTimelineScaleConfigurator.
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hello Victor, Currently the NRangeTimelineScaleConigurator can display up to three rows and it is possible to hide/show any of them. In most cases three scale rows is enough to display all the necessary information, can you please let us know about a particular scenario that requires more scale rows?
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 9 Years Ago
Posts: 11,
Visits: 10
|
An ability to have more than three rows would be useful in case of wide time spans, when we need to be able to zoom to the most fractional NDateTimeUnits.
For example, the data range is 7/12/2011 to 7/12/2013, the step is 1 hour. We would like the NRangeTimelineScaleConigurator to display year, month, date and hour. When there is no zoom, the two rows (year, month) is more than enough. But if we zoom the chart in up to the hours level, the years will not be visible any more. The obvious workaround in this case is to configure the MonthFormatter of the third row like this:
scale.ThirdRow.DateTimeUnitFormatterPairs.MonthFormatter = new NDateTimeValueFormatter("MMM yyyy");
but this is not an option if we want to have exactly one row per datetime unit.
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Victor, Internally there is no limit on the number of rows in the timeline other than of course the number of date time units. We will expose a property that allows you to add / removes rows from the scale configurator in the next service pack (will be live in a couple of days). BTW at the time of writing we could not find a chart that uses more than three date time units to graduate the scale.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 9 Years Ago
Posts: 11,
Visits: 10
|
Hi, Thank you for the feedback.
As to the charts - consider the one, which depicts the forecast (or the history) of some value for the several years, with quite high resolution of the data samples, e.g. 1 hour. Of course, the number of date scale rows is not the matter of functionality here, but the matter of usability. But the usability is the reason for the NRangeTimelineScaleConigurator to exist, isn't it?
Anyway, this particular feature is not that critical, but the one which would be nice to have.
Best Regards, Victor
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Victor, That makes sense especially in case the formatting units are fixed - you can download the updated version from our website - to add a new row to the scale, you need to write something like: NRangeTimelineScaleConfigurator timeLineScale = new NRangeTimelineScaleConfigurator(); timeLineScale.Rows.Add(new NRangeTimelineScaleRow()); axis.ScaleConfigurator = timeLineScale; for value timeline scales you need to add rows of type (NValueTimelineScaleRow). Hope this helps - let us know if you meet any problems.
Best Regards, Nevron Support Team
|