How to Setup Graph in mendix.

0
I am working on voting application. where i have taken total 7 items to vote. After vote  i have to show the voting result in graph form. so i want to know how to setup this items in graph form.
asked
2 answers
0

Hi Soham,

Graphs, in general, can be displayed using the chart widgets. 

You can simply select your desired graph type from this list. How the chart (graph) data is displayed, will be based on your data structure (or domain model).

You can customise your charts using the Plotly documentation (Plotly (JavaScript)) and the “Advanced”-tab of your charts. A sample of how this will look is as follows:

{
    "xaxis":{
        "type": "date",
        "tickformat": "%A",
        "dtick": 86400000
    },
    "margin": {
        "b": 25,
        "r": 5,
        "t": 5
    },
    "legend": {
        "orientation": "h",
        "y": -0.2
    }
}

I would also recommend you check out the docs here: Charts | Mendix Documentation

Hope it helps!

answered
0

Hi,

Take a look at the Charts, Any chat widget documentations

https://docs.mendix.com/refguide/chart-widgets/

https://docs.mendix.com/refguide/charts-any-configuration/

Hope it helps!!!

answered