Assigning to properties with and without brackets '[]'

0 Answers 95 Views
Charts
J
Top achievements
Rank 1
J asked on 15 Sep 2021, 06:41 AM

Hello,

I wonder what's the difference between assigning to kendo-chart-series-item property with and without [].

I looked at this example and saw there are values assigned to type, style, data and name properties of the series item. Some of the properties are assigned with [] and some without. I think all of them should be assigned with [] because all are component properties, aren't they?

And what confuses me even more, in the example there is a value assigned to type property without [], but in our project we assign to [type], so what's the right way?

Thanks for clarification.

J

No answers yet. Maybe you can help?

Tags
Charts
Asked by
J
Top achievements
Rank 1
Share this question
or