moberwasserlechner/vaadin-chartjs

Fill options in LineDataset - String

hubertooo opened this issue · 1 comments

Is it possible to change fill parameter to string?
LineDataset.java

public LineDataset fill(boolean fill) {
    this.fill = fill;
    return this;
}

This functionality is good to implement :
http://www.chartjs.org/samples/latest/charts/area/line-datasets.html

image

This was done with #51, but it doesnot with work string but with enums and overloaded methods to ensure correct input.

See the demo for code samples http://vaadin-demos.qqjtxeeuih.eu-central-1.elasticbeanstalk.com:5600/#!line-fill-chart