Closed stockiNail closed 2 years ago
The gradient size is based on chart area but, being the plugin bound to a scale and being a chart configured with stacked scale, the coloring is not as expected.
Plugin options:
gradient: { backgroundColor: { axis: 'y', colors: { 0: 'green', 50: 'blue', 100: 'red' } } }
Currently (chart area based):
Expected:
The gradient size is based on chart area but, being the plugin bound to a scale and being a chart configured with stacked scale, the coloring is not as expected.
Plugin options:
Currently (chart area based):
Expected: