[SOLVED] Cannot get ChartJS to work - see sample attached

Answered
0
0

Hi – I’m trying to get a basic chartJS to work – following pretty close to your published example (which does work on my computer).

Please see attached test project.  For the life of me I cannot figure out what I’m doing wrong…

I set the chart type – and a dataset with data and colors, and labels for the chart.  But nothing appears – just a blank chart.

Any help would be greatly appreciated.

Thanks in advance!

 

Matthew

Attachment
  • You must to post comments
Best Answer
0
0

Hi Matthew,

I just fell into the same problem.
Please add the following code.

chart.Options.Scales.xAxes (0) .Type = Ext.ChartJS.ScaleType.Category

Reference) chartjs-data-set-is-not-displayed-in-the-new-project

Masafumi

  • You must to post comments
0
0

Awesome – that did the trick.  Thank you Masafumi!

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.