highcharts / highcharts-editor

https://www.highcharts.com/products/highcharts-editor
Other
250 stars 96 forks source link

JSON import with colors array isn't working #217

Open raf18seb opened 3 years ago

raf18seb commented 3 years ago

When defining my own colors array here: ... image

... and then when trying to export JSON to a file here: ... image

... the JSON file is corrupted (see the end of file: "colors":[")

{
  "title": {
    "text": "MyChart"
  },
  "subtitle": {
    "text": "MyUntitledChart"
  },
  "exporting": {},
  "yAxis": {
    "title": {}
  },
  "series": [{
    "name": "Column2"
  }],
  "plotOptions": {
    "series": {
      "animation": false
    }
  },
  "data": {
    "csv": "\"Column1\";\"Column2\"\n0;5\n1;4\n2;7",
    "googleSpreadsheetKey": false,
    "googleSpreadsheetWorksheet": false
  },
  "chart": {},
  "colors": ["

Editor version

The one that is currently (25.03.2021) online: http://editor.highcharts.com/full.html

ChandanChainani commented 2 years ago

Please close this issue as it been fixed in v0.3.0 release