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

polar chart with Options3D causes client side error

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 3.0.1
    • Fix Version/s: 3.0.2
    • Security Level: Jimmy
    • Labels:

      Description

      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); 
      

        Activity

        Hide
        rudyhuang rudyhuang added a comment -

        Has some side effects found on testing

        Show
        rudyhuang rudyhuang added a comment - Has some side effects found on testing

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

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