SQLpage
SQLpage copied to clipboard
Chart rangeBar stacked not working
Introduction
Chart component, example 9 from documentation link not working if you set it TRUE as stacked.
Actual behavior
When you do enable TRUE as stacked, it just prints blank white chart component area.
select
'chart' as component,
'Project Timeline' as title,
'rangeBar' as type,
TRUE as time,
'teal' as color,
TRUE as stacked, --THIS CAUSES BLANK RESULT
'cyan' as color,
TRUE as labels,
'2021-12-28' as xmin,
'2022-01-04' as xmax;
select
'Phase 1' as series,
'Operations' as label,
'2021-12-29' as value,
'2022-01-02' as value;
select
'Phase 2' as series,
'Operations' as label,
'2022-01-03' as value,
'2022-01-04' as value;
select
'Yearly maintenance' as series,
'Maintenance' as label,
'2022-01-01' as value,
'2022-01-03' as value;
Screenshots
Expected behavior
This might be user error also from me, but I would like to have these two labels on the same row in chart rangeBar results, because they cannot be on top of each other. From the behaviour with other chart types, stacked property would allow me to achieve this result.
It does not matter if its TRUE as time, or many other properties that I tested.
Version information
0.35.0 SQLpage
hello @ToniJ123, thanks for raising this issue. lets group all your requests and tackle them for our meeting in September!