AUTHOR: Stephania Tapela
DATE MODIFIED : January 22, 2017
DATE POSTED: September 10, 2016
Article relates to
September 19th, 2016
Last modified by
Graph item with DateTimeScale and one category slot displays only the first date of the year.
The DateTime scale is designed to work with a date range and it needs at least two dates in order to determine the minimum and maximum range values, and then - the used BaseUnit. When the data doesn't supply such range, the algorithm sets the BaseUnit to Years and falls back to the first date of the current year. That's why you will get a date like 2016-01-01, if you change the BaseUnit to Auto.
The solution is to set the Minimum and Maximum of the scale dynamically using Bindings and the approach from How to: Use Bindings to Control the Coordinate System Properties.
Copyright © 2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.