Skip to main content

High**Resolved** Charts update 14.0 SP3 -> 14.1 SP2 breaks beforeCreateChart code at .data

Comments

1 comment

  • Johnny Stevens

    The resolution that I've received from Logi Support for this issue is to add another check to my first if statement.

    Old code:

    var verticalBarChartContainer = Y.one('#Chart1');
    var SeriesData = [];
    verticalBarChartContainer.on('beforeCreateChart', function(e) {
        if (e.options.series == null) 
            return;

    New code:

    var verticalBarChartContainer = Y.one('#Chart1');
    var SeriesData = [];
    verticalBarChartContainer.on('beforeCreateChart', function(e) {
      if (e.options.series == null || e.options.series.length == 0)
            return;
    0

Please sign in to leave a comment.