Skip to content

Chart rangeBar stacked not working #926

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ToniJ123 opened this issue May 28, 2025 · 1 comment
Open

Chart rangeBar stacked not working #926

ToniJ123 opened this issue May 28, 2025 · 1 comment

Comments

@ToniJ123
Copy link

ToniJ123 commented May 28, 2025

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

Image

Image

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

@ToniJ123 ToniJ123 added the bug Something isn't working label May 28, 2025
@alexisrc1
Copy link
Contributor

hello @ToniJ123, thanks for raising this issue.
lets group all your requests and tackle them for our meeting in September!

@lovasoa lovasoa added enhancement New feature or request and removed bug Something isn't working enhancement New feature or request labels May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants