chartjs icon indicating copy to clipboard operation
chartjs copied to clipboard

Select value attribute

Open digitaldias opened this issue 7 years ago • 0 comments

If I pass chartJs an array of objects, it would be nifty to be able to point out which of the attributes that chartJs should use for value. Let's say for example I get an array of these from an ajax call:

{
"Id" : 1313,
"TimeStamp" : "someTimeStamp",
"Temperature" : 23.4,
"Humidity" : 32.1
}

It would really help if I could tell ChartJs to point to Temperature to plot a temperature graph. and use the TimeStamp for x-labels.

digitaldias avatar May 10 '17 11:05 digitaldias