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

Changing the DashType does not reflect in legend [Angular 2]

3 Answers 114 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Tsvetelin
Top achievements
Rank 1
Tsvetelin asked on 26 Jan 2017, 12:49 PM

Hi Forum,

When I change the DashType of the new Chart for Angular 2.x, the change is not reflected in the legend.

When I change the colour, for instance it's reflected.

Is that the expected behaviour or is it a bug, and could you suggest a fix/workaround for this.

Thanks in advance.
Cheers.

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 30 Jan 2017, 08:42 AM
Hello Tsvetelin,

I made an example changing the dashType of the Chart and the type was changed as expected:

http://plnkr.co/edit/GHHXNt2V8uSB6zs6FtGr?p=info

Let me know if I missed something.

Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Tsvetelin
Top achievements
Rank 1
answered on 30 Jan 2017, 01:48 PM
Hello Stefan,

excuse me for the poorly formed post, I was in a hurry.
What I meant was that the line-series in the legend should be the same as the line in the chart (not only by colour).
Here is an example.

http://plnkr.co/edit/UcbQuXgcDJCYGlGt75rN?p=preview

In this case I expect it to be dashed line.

With regards,
Tsvetelin

0
Accepted
Stefan
Telerik team
answered on 01 Feb 2017, 12:56 PM
Hello Tsvetelin,

Thank you for the clarification.

This feature is currently not supported from the Kendo UI Chart. The colour is changed to give better representation in the legend as mismatching colours will create a confusing effect.

Still, I can suggest submitting a feature request and based on its popularity we may implement it in a future release:

http://kendo.uservoice.com/forums/127393-kendo-ui-feedback

Regards,
Stefan
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data (charts) and form elements.
Tags
Charts
Asked by
Tsvetelin
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Tsvetelin
Top achievements
Rank 1
Share this question
or