# Graph Item with DateTimeScale and One Category Slot Displays Only the First Date of the Year

## Environment

<table>
	<tr>
		<td>Product</td>
		<td>Progress® Telerik® Reporting</td>
	</tr>
  	<tr>
		<td>Report Items</td>
		<td>Graph</td>
	</tr>
</table>

## Description

Тhe Graph item with `DateTimeScale` and one category slot displays only the first date of the year.

The [DateTime](https://www.telerik.com/products/reporting/documentation/api/telerik.reporting.datetimescale) 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](https://www.telerik.com/products/reporting/documentation/api/telerik.reporting.datetimescale#Telerik_Reporting_DateTimeScale_BaseUnit). When the data doesn't supply such a range, the algorithm sets the [BaseUnit](https://www.telerik.com/products/reporting/documentation/api/telerik.reporting.datetimescale#Telerik_Reporting_DateTimeScale_BaseUnit) to [Years](https://www.telerik.com/products/reporting/documentation/api/telerik.reporting.datetimescaleunits) 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`

## Solution

Set the `Minimum` and `Maximum` of the scale dynamically using [Bindings](https://www.telerik.com/products/reporting/documentation/designing-reports/connecting-to-data/expressions/using-expressions/bindings) and the approach from the KB article [Use Bindings to Control the Coordinate System Properties in the Graph](https://www.telerik.com/products/reporting/documentation/knowledge-base/graph-bindings-to-control-coordinate-system-properties).
