This is a migrated thread and some comments may be shown as answers.

Automatic fade out of categories

1 Answer 35 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Karl-Heinz
Top achievements
Rank 1
Karl-Heinz asked on 21 Feb 2014, 03:45 PM
Hello,

I want to use a DataViz Chart (line chart or area chart) to display chronological data. It is necessary that the category axis covers a month from the beginning to the end. The baseUnit property will be set to "days".

The current month causes a problem: My application does not calculate any values in advance. Therefore, the chart hides all categories for dates in the future.

Is it possible to avoid this adjustment?

1 Answer, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 25 Feb 2014, 09:54 AM
Hi Karl,

In order to achieve this you could set max value to the categoryAxis. As an example: 
$("#chart").kendoChart({
  //....
  categoryAxis: {
     baseUnit: "days",
     max: new Date("2012/01/31")
  }
});

Regards,
Iliana Nikolova
Telerik
Tags
Charts
Asked by
Karl-Heinz
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Share this question
or