Examples of CylinderBarChart


Examples of com.extjs.gxt.charts.client.model.charts.CylinderBarChart

      cm.setXAxis(xa);
      YAxis ya = new YAxis();
      ya.setSteps(16);
      ya.setMax(160);
      cm.setYAxis(ya);
      CylinderBarChart bchart = new CylinderBarChart();
      bchart.setColour("#440088");
      bchart.setAlpha(.8f);
      bchart.setTooltip("$#val#");
      for (int t = 0; t < 4; t++) {
        if ((t + 1) == (Math.ceil(segments / 3.0))) {
          bchart.addBars(new BarChart.Bar(Random.nextInt(50) + 50, "#aa88ff"));
        } else {
          bchart.addValues(Random.nextInt(50) + 50);
        }
      }
      cm.addChartConfig(bchart);
      return cm;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.