angular-chart.js icon indicating copy to clipboard operation
angular-chart.js copied to clipboard

Multi line chart with different sets of values on x-axis

Open indusbull opened this issue 9 years ago • 3 comments

In my multiline chart, each line may have different set of data points. For example, the chart has 2 lines A & B. Then x-axis labels would be of fixed # like months - Jan to March. The line A has data points for month Jan & Feb and line B has data points for Jan & March. I'm not able to make it work using angularjs but according to this, it is possible using chartjs.

Example Plnkr

indusbull avatar Nov 28 '16 21:11 indusbull

I'm struggeling with the same problem and can not make it work either. Any recommendations for Chart.js 2.x?

flrndttrch avatar Dec 17 '16 14:12 flrndttrch

I'm having the same issue. I try to represent the datasets on multiple X axis and the chart is displayed empty. No dataset is drawn on it and i don't understand why or how to fix this. (Angular 2 & Typescript)

LE: i solved my issue by changing the scale X type to 'category'

IuliaDobra avatar Oct 13 '17 10:10 IuliaDobra

Did it work with line charts ? Can you please provide example you made ?

tangorri avatar Jul 15 '19 15:07 tangorri