javascriptreactjschartsfusioncharts

FusionChart; Remove color range slider from map


Please, how can I remove colour range slider from fusion chart? I have tried to remove the colorrange from the chart object but it is stil there.

Thanks


Solution

  • In your dataSource colorrange object, set "gradient" to 0

    "colorrange": {
        "gradient": 0,
        "color": [
          {
            "minvalue": "0",
            "maxvalue": "50",
            "code": "#62B58F"
          },
          {
            "minvalue": "50",
            "maxvalue": "75",
            "code": "#FFC533"
          },
          {
            "minvalue": "75",
            "maxvalue": "100",
            "code": "#F2726F"
          }
        ]
      }