Create a line chartJS with multiple datasets and multiple label sets

0
1

Hi,

Is it possible to create a chart using chartJS that contains multiple datasets but each dataset has unique labels.

For example:

data1 = { 10, 20, 30, 40 }, yLabels1 = { “2”, “4”, “6”, “8” }

data2 = { 15, 25, 35, 45 }, yLabels2 = { “3”, “5”, “7”, “9” }

Then the resulting chart is like the image attached. Note that in the actual data used, the x-axis increments are not uniform like the example provided, they are datetime values like:

x: 3/8/2022 12:00:00 AM       y: 323
x: 3/28/2022 12:00:00 AM     y: 100
x: 6/2/2022 12:00:00 AM       y: 15

Attachment
  • You must to post comments
0
0

Hi Kieran,

If you can find a sample online using ChartJS that demonstrates this functionality and provide the source code it can definitely be implemented.
If you would like help implementing it, contact SALES @ WISEJ . COM to get a support package.

Regards,
Levie

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.