Anycharts For stacked Column charts

0
Hello, Currently, I am working on charts using AnyChart. For that, I have a JSON structure from Plotly.js, which looks like this: var trace1 = { x: ['giraffes', 'orangutans', 'monkeys'], y: [20, 14, 23], name: 'SF Zoo', type: 'bar' }; var trace2 = { x: ['giraffes', 'orangutans', 'monkeys'], y: [12, 18, 29], name: 'LA Zoo', type: 'bar' };   I want to draw a graph similar to this using AnyChart. However, in the microflow, I’m not sure how to assign the values correctly. For a single column, I used an iterator and set the X and Y values. But in this case, I want to assign multiple series (based on the Name), each with its own X and Y values. I’m struggling to figure out how to handle this in a loop or if there is a better approach. If possible, please share a sample microflow or a visual reference to help me understand it better. Thank you in advance.
asked
2 answers
0

Hi Pankaj,

 

I would suggest you to go with Apache e-chart module. it will provide more customization on graph level. You can find multiple options with rich UI.

 

Apache E-chart: https://echarts.apache.org/examples/en/index.html

 

Apache e-chart module: https://marketplace.mendix.com/link/component/119979?ste_sid=9049e1cc5f31eb83e36b58ef7b96fbfe

 

Some examples are included in the module, please refer those.

 

Thanks,

Mobin

answered
0

Also module AnyChart is deprecated since it is not going to get converted to a version that is usable in React-client.

An alternative is the platform supported Chart-module. If that does not contain a graph of your choice out-of-the-box, then, in the recent Chart-module-version, you can create a Custom-chart and the same info you do to the AnyChart.

answered