chartjs-plugin-datasource icon indicating copy to clipboard operation
chartjs-plugin-datasource copied to clipboard

chartjs-plugin-datasource.js:172 Uncaught TypeError: helpers$2.isFinite is not a function

Open igor-sysoev opened this issue 3 years ago • 0 comments

 {
      data: { url },
      plugins: [ChartDataSource],
      options: {
        animation: {
          duration: 0, // general animation time
        },
        plugins: {
          datasource: {
            type: "csv",

            url,
            delimiter: ",",
            rowMapping: "datapoint",
            datasetLabels: true,
            indexLabels: true,
            datapointLabels: false,
            datapointLabelMapping: {
              _dataset: 0,
              _index: 1,
              x: 1,
              y: 2,
            },
          },
        },
      },
    };

I get the following error Uncaught TypeError: helpers$2.isFinite is not a function when using the config above

igor-sysoev avatar Oct 22 '21 21:10 igor-sysoev