mdewilde / chart

Java library for use with Chart.js javascript library
Apache License 2.0
112 stars 43 forks source link

Support stack on individual DataSets #17

Closed bischoffdev closed 5 years ago

bischoffdev commented 6 years ago

Hello,

I need to set the stack option on individual DataSets like so

"datasets": [{
            "data": [340.0, 0, 0, 440.0, 340.0, 0],
            "label": "failed",
            "stack": "complete"
        }, {
            "data": [0, 340.0, 440.0, 0, 0, 340.0],
            "label": "passed",
            "stack": "complete"
        }]

but there is no setStack() option in your library on BarDataset.

Is there a way?

Best, Benjamin

bischoffdev commented 5 years ago

Not needed anymore, thanks :-)