Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-14339

ChartPanel should use Double instead of Long as width/height property

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 13.4.7, 15.2.3, 16.1.0
    • 15.7.1, 16.2.0
    • None
    • Flagged
    • Orion
    • Orion.Cycle7.Sprint

    Description

      Class: com.onehippo.cms7.reports.plugins.chart.ChartPanel#onRenderProperties uses long for width and that should be (like in other panels) a double property. This is also documented as such (https://documentation.bloomreach.com/14/library/enterprise/enterprise-features/content-reports/configure-content-reports.html)

          if (config.getString(CONFIG_WIDTH) != null) {
                  properties.put("width", config.getLong(CONFIG_WIDTH));
           }
      

      Attachments

        Activity

          People

            jhoffman Jeroen Hoffman
            mmilicevic Marijan Milicevic
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: