Using multiple dataset in the same chart with different values

时间:2018-02-03 10:59:52

标签: reactjs

I am using react-chartjs-2. I have a Line chart and x: time y: value. I have 2 different dataset. First dataset value is very as low as 0.00000145 and etc. The second dataset value is as high as millions. When i use this in the same chart, first dataset is at the bottom and looks like a single straight line as chart comparing 2 datasets. Time is same for both datasets. So what is the best way to see two different datasets self comparing?

1 个答案:

答案 0 :(得分:0)

我认为,最好的方法是制作单个图表,它将显示两个数据集之间的相关性 - 第一个数据集的值与另一个数据集的划分。我认为,它可能具有代表性