gionkunz/chartist-js

Labels on barcharts

Opened this issue · 0 comments

My client would like the stacked barchart to show some text on a digital dashboard.
The value of the amount for that section, and also some text associated with it.
In the case of the data below, they want the StdHours as the amount and the JDEWO as the additional text.
Barchart needs to include all data for a machine in one bar.
If this is already a possibility, can you show me a code snippet for this?

Machine Seq StdHours JDEWO
A1439 1.00 323.70 54141545
A1443 1.00 465.75 54162375
A1443 2.00 27.33 54174747
A1443 3.00 9.00 54174749
A1443 4.00 22.23 54174750
A1443 5.00 465.75 54174757
A1443 6.00 1121.63 54174765
A1444 1.00 56.25 54162362
A1444 2.00 240.25 54159639
A1444 3.00 56.25 54162363
A1444 4.00 2.22 54174742