Settings charts

Do you have a solution to prevent that all the points in chart are not connected to each other :

here is the setting of a “PRECIPITAION” node

Do you also know of other possible settings for the dashboard graphics?

I suppose you are using dashboard-1.
If you are just starting to develop, i suggesgt going for dashboard-2 or uibuilder.

aside,
you can use css styling to get what you require i believe.

If you do not want the points connected you can repeat the message but send null instead of a payload value
you can also send ui-control messages using the ui_control property
e.g

{
    "options": {
        "elements": {
            "line": {
                "borderWidth": 1,
                "fill": true
            },
            "point": {
                "radius": 0
            }
        }
    }
}

You can search for more options here Line Chart | Chart.js, but remember dashboard 1 uses an older version.

So you may want to switch to Dashboard 2 as it is new and uder full development.

Thank you for your answers, I will start using dashboard 2 immediately so as not to fall too far behind modernism :yum:

In Dashboard 2.0 - we have a "Scatter" chart type, which will just draw the points on the chart, no lines.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.