Uploaded image for project: 'Community Dashboard Framework'
  1. Community Dashboard Framework
  2. CDF-895

CCC - Stacked area chart has an incorrect behaviour when one of the series has null and not null values.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Severity: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0 GA, 6.1-16.08.18, 16.08.18
    • Component/s: None
    • Labels:
      None
    • Story Points:
      0
    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      Here you can see the problem, by analysing heat values series:

      http://jsfiddle.net/ckc4q5r3/2/

      This issue can be reproduced with the following chart specification:

      new pvc.StackedAreaChart({
          canvas: "cccExample",
          width:  500,
          height: 300,
          animate: false,
          plot2:   true,
          nullInterpolationMode: 'none'
      })
      .setData({
         "resultset":[
             ["A", 20,   30],
             ["B", 20,   30],
             ["C", null, 30]
         ],
         "metadata":[
              {colName: "Category", colType: "String" },
              {colName: "Heat",     colType: "Numeric"},
              {colName: "Electric", colType: "Numeric"}
         ]
      }, {crosstabMode: true})
      .render();
      

      Also, note, this does not happen if nullInterpolationMode is linear or zero, or if plot2 is false.

        Attachments

        1. CDF-895.png
          CDF-895.png
          33 kB
        2. CDF-895.zip
          2 kB
        3. CDF-895-fixed.png
          CDF-895-fixed.png
          11 kB

          Activity

            People

            • Assignee:
              wfaulkner William Faulkner
              Reporter:
              javelar Joana Maria Avelar Carvalho
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: