fanthos/chartjs-chart-timeline

Feature request: parametrize options

Opened this issue · 1 comments

I really like this solution, thanks for that!
It would be great if rectangle options could be parameterized for use similar to the options of a regular bar chart, e.g.:

options: {
    elements: {
        rectangle: {
	    text: {
                display: false,
                textColor: 'rgba(0, 0, 0, 1),
            },
            borderWidth: 2,
            barThickness: 10
        }
    }                 
}

Thanks.
I think the new options seems better, but I don't want to break the code.
Will do this later.