表1.binding.source = "mysql.sqry";
var bcol1 = new BCol("sale_type", STRING, true);
var bcol2 = new BCol("cogs", INTEGER, false);
var meaCol = new MeasureCol(SUM, bcol2, null);
var dimCol = new DimCol(bcol1);
var arr = [dimCol, meaCol];
表1.binding.setCols(arr);
支持,测试没有问题呢
图表1.binding.source = "咖啡中国市场销售数据.sqry";
var bcol = new BCol("计算列2", STRING, true);
var dimCol = new DimCol(bcol);
图表1.binding.addCol(0, dimCol);
支持,测试没有问题呢
图表1.binding.source = "咖啡中国市场销售数据.sqry";
var bcol = new BCol("计算列2", STRING, true);
var dimCol = new DimCol(bcol);
图表1.binding.addCol(0, dimCol);