fgpv-vpgf / contributed-plugins

Free to use but unsupported plugins for FGPV/RAMP2
0 stars 15 forks source link

Chart slider precision #278

Open jolevesq opened 3 years ago

jolevesq commented 3 years ago

Be able to set precision for chart slider. The automatic way may keep too many digit. Make modification to the authoring tool as well.

jolevesq commented 2 years ago

For this, we need to add a parameter to the configuration for charts to store the value

"yAxis": {
            "type": "linear",
            "title": "My values",
            "precision": "0"  ***** this is the parameter to create and use
            "values": "",
            "split": ""
          }