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

Chat plotband

6 Answers 76 Views
Charts
This is a migrated thread and some comments may be shown as answers.
shaneed
Top achievements
Rank 1
shaneed asked on 16 Apr 2014, 12:16 PM
Hi,
In our chart graph, I was trying  to use plotband on categoryAxis. For plot band, we need to define "from" and "to" values for the axis. Is there a way, if I can define "from" value (no "to" value defined) and graph background from "from" defined axis point to end of the axis is colored?

Currently I am doing this by setting "to" value as the "max" axis value.
Also for the plotted graph (as attached), I see the plotband and graph line looks shifted. For eg: In the attached image at bottom, the from date is Apr 15 and to date is Apr 16". Expected  is the point corresponding to 15th Apr and 16th Apr should be inside plotband, which is not the case. Do we need to define some offset. How to fix this issue? 

6 Answers, 1 is accepted

Sort by
0
Hristo Germanov
Telerik team
answered on 18 Apr 2014, 12:08 PM
Hi shaneed,

This is a bug and we will fix it as soon as possible. There is no possible workaround for this issue. I will let you know when this issue is fixed. Thank you for the understanding. 

I have updated your telerik points.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
shaneed
Top achievements
Rank 1
answered on 18 Apr 2014, 01:00 PM
Can you let me know the exact bug?
Bug is about "not possible way to specify max as  plot band limit" or about "plot band area is rendered a bit left compare to chart"
0
shaneed
Top achievements
Rank 1
answered on 21 Apr 2014, 05:03 AM
Can you please provide any workaround??
0
Hristo Germanov
Telerik team
answered on 22 Apr 2014, 08:58 AM
Hi shaneed,

Plot bands bugs:
1) You should be able to select the maximum of the axis.
2) from: 1/1/2014 to: 2/1/2014 is equal to 2 categories in axis with justified: false.

The possible workaround is to set justified to true but this will change the rendering of the line chart points. They will be rendered on the ticks instead of in the center between ticks.
-=Live Example=-

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
shaneed
Top achievements
Rank 1
answered on 07 May 2014, 10:58 AM
I went through the demo, and can see that for 2013 version, the plot bands are not getting plotted.
We are using kendo.all-2013.2.918.min.js version. To fix the issue we will need to upgrade the kendo version.
Please answer following concerns:
1. If we upgrade jg, will that need any change in grid/dropdown/chart code?
2. Will we need changes in css file as well?
0
Hristo Germanov
Telerik team
answered on 09 May 2014, 09:48 AM
Hello shaneed,

I am glad to inform you that the issues around the plot bands are fixed and they will be included in the next internal build scheduled for today.

If you need to fill all axis with a plot band you need to set plotBands.to date to be the axis max + 1 base unit.

1) In order to see if there is any breaking changes you need to examine the breaking changes section.
2) You need to update the css files too because there is some minor fixed that you should have.

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
shaneed
Top achievements
Rank 1
Answers by
Hristo Germanov
Telerik team
shaneed
Top achievements
Rank 1
Share this question
or