Hi,
I'm trying to change the gaps between the pionts of a line chart series depending on user input (watch pic). I searched for quiet a while but I cant find any answers.
pls help.
7 Answers, 1 is accepted
0
fabian
Top achievements
Rank 1
answered on 27 Jul 2016, 11:37 AM
BTW: the numbers should be the gap size, not the series pionts.
0
Hi,
The axis labels are placed uniformly for all chart types. Note that you can control the visibility of each individual label by overriding categoryAxis.labels.visual. This makes it possible to skip some labels by returning null. For example:
categoryAxis: {
labels: {
visual: function(e) {
if (e.value == xx) {
return;
}
// Render default label
return e.createVisual();
}
}
I hope this helps.
Regards,
T. Tsonev
Telerik by Progress
The axis labels are placed uniformly for all chart types. Note that you can control the visibility of each individual label by overriding categoryAxis.labels.visual. This makes it possible to skip some labels by returning null. For example:
categoryAxis: {
labels: {
visual: function(e) {
if (e.value == xx) {
return;
}
// Render default label
return e.createVisual();
}
}
I hope this helps.
Regards,
T. Tsonev
Telerik by Progress
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
0
fabian
Top achievements
Rank 1
answered on 29 Jul 2016, 09:39 AM
Thank you very much!
0
fabian
Top achievements
Rank 1
answered on 29 Jul 2016, 10:22 AM
I have another question. Is there a way to set specific Major lines like
MajorLines:{
set:(7,13,32)
}
0
fabian
Top achievements
Rank 1
answered on 29 Jul 2016, 10:31 AM
would "skip" be an option?
0
Hi,
The grid lines don't provide a "visual" override, but you can turn them off completely and render your own.
It's a bit of a learning curve, but this approach is much more flexible as well.
I hope this helps.
Regards,
T. Tsonev
Telerik by Progress
The grid lines don't provide a "visual" override, but you can turn them off completely and render your own.
It's a bit of a learning curve, but this approach is much more flexible as well.
I hope this helps.
Regards,
T. Tsonev
Telerik by Progress
Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
0
fabian
Top achievements
Rank 1
answered on 02 Aug 2016, 09:06 AM
I already got a solution but thanks for the answer anyway