Unplanned
Last Updated: 14 Jan 2022 07:27 by ADMIN
Jay
Created on: 14 Jan 2022 07:25
Category: Chart
Type: Bug Report
0
valueAxis labels template function invokes twice when chart is bound to data source

Bug report
ValueAxis.labels.template function invokes twice when Chart is bound to data source

Reproduction of the problem

Check the following Dojo: https://dojo.telerik.com/oJUGixUy/4

Inspect the console

Expected/desired behavior
ValueAxis labels template function shall invoke just one time.

Corner case:

If ValueAxis.labels.font is specified template function is invoked correctly only once.

valueAxis: {
                labels: {
                  // With the font commented out, chart labels get resolved twice
                  font: '11px Arial, Helvetica, sans-serif',
                  template: shortLabels
                }
              },

Environment
**Kendo UI version: [all]
**jQuery version: [all]
**Browser: [all]

0 comments