javascriptreactjschartsfusioncharts

Remove color range slider from map in FusionChart


How can I remove colour range slider from Fusion Chart? I have tried to remove the colorrange from the chart object but it is still there.


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"
          }
        ]
      }