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

Cannot specify point color in bubble chart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2.1.2
    • Labels:
      None

      Description

      Steps to Reproduce

      Run below zul file

       

      <window>
        <charts id="chart" type="bubble"/>
        <zscript><![CDATA[
          import org.zkoss.chart.Charts;
          import org.zkoss.chart.Point;
          import org.zkoss.chart.Series;
          final Series series = new Series();
          final Point point = new Point(0, 1, 2);
          point.setColor("#123456");
          series.addPoint(point);
          chart.addSeries(series);
        ]]></zscript>
      </window>

      Current Result

      No point was shown.

      Expected Result

      Should show a blue bubble

      Debug Information

      {{The point would be converted to 

      {"x":0,"low":1,"high":2,"color":"#123456"}

      }}
      after color was specified. It should be

      {"x":0,"y":1,"z":2,"color":"#123456"}

       

        Attachments

          Activity

            People

            Assignee:
            rudyhuang rudyhuang
            Reporter:
            RaymondChao RaymondChao
            Votes:
            0 Vote for this issue
            Watchers:
            3 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 - 4 hours
                4h