Can you make the bubble size and color dependend on a MDX measure in icCube amChart widget?

馋奶兔 提交于 2019-12-06 13:33:54

Yes it is possible:

The table should look like this:

In your amCharts bubble widget, add the following in Graph:

"colorField":"color" //the name of the column that contains the colors

and set use mdx colors to "no".

I named my colorField "kleur". Any value here is possible, but it has to be the same as the column name that contains the colors.

Yes you can, just you have to write the following into the "Extra Options" field:

:{
    graphs:[{
        xField: "your_x_field",
        yField: "your_y_field",
        valueField: "amount",
        bulletSizeField: "bullet size",
        bullet : "round",
        colorField: "color"
    }]
}

Note that, your graphs defined above will be overwritten by this one, you have to specify here all the graph settings.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!