Skip to content
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

expand scope of style expressions #21

Open
sbidoul opened this issue Oct 1, 2017 · 1 comment
Open

expand scope of style expressions #21

sbidoul opened this issue Oct 1, 2017 · 1 comment
Labels
enhancement no stale Use this label to prevent the automated stale action from closing this PR/Issue.

Comments

@sbidoul
Copy link
Member

sbidoul commented Oct 1, 2017

It is currently possible to define style expressions at the kpi level.

Eg: 'some style' if profit < 0 else 'some other style'.

That works fine for reports where the only difference between columns is the time period.

For reports made possible in version 3 where columns are more specialized, it makes sense to have style expressions apply at the column level (eg to apply something such as 'red' if cell_val < 0 else ''.

Such generic style expressions should be defined on styles (so one can define styles such as red if negative), and then applied at the column level with the implementation of #14.

@github-actions
Copy link

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Dec 26, 2021
@sbidoul sbidoul added no stale Use this label to prevent the automated stale action from closing this PR/Issue. and removed stale PR/Issue without recent activity, it'll be soon closed automatically. labels Dec 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement no stale Use this label to prevent the automated stale action from closing this PR/Issue.
Projects
None yet
Development

No branches or pull requests

1 participant