Uploaded image for project: 'ZK Charts'
  1. ZK Charts
  2. ZKCHARTS-71

polar chart with Options3D causes client side error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 3.0.2
    • 3.0.0, 3.0.1
    • Security Level: Jimmy

      Steps to Reproduce

      run the attachement

      Current Result

      chart.wpd:531 Uncaught TypeError: Cannot read property 'length' of undefined
          at chart.wpd:531
          at Array.forEach (<anonymous>)
          at a.each (chart.wpd:28)
          at b.ZAxis.getSeriesExtremes (chart.wpd:531)
          at b.ZAxis.setScale (chart.wpd:156)
          at chart.wpd:270
          at Array.forEach (<anonymous>)
          at a.each (chart.wpd:28)
          at a.Chart.render (chart.wpd:270)
          at a.Chart.<anonymous> (chart.wpd:504)
      

      Expected Result

      ignore Options3D if not supported by chart

      Workaround

      don't enable Options3d for polar charts

      or disable 3D when switching between chart types

      mychart.getOptions3D().setEnabled(false); 
      

            rudyhuang rudyhuang
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 7 hours, 30 minutes
                7h 30m