Skip to content

Conversation

@abelyakin
Copy link
Contributor

Description

Minor change that makes sparkline use areaOpacity from theme. Same as other sparkline visual settings.

This PR depends on perses/shared#49

Checklist

  • Pull request has a descriptive title and context useful to a reviewer.
  • Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.

Signed-off-by: Belyakin Alexander <belyakinaa@cloudx.group>
@abelyakin abelyakin requested a review from a team as a code owner January 29, 2026 09:20
@abelyakin abelyakin requested review from Gladorme and removed request for a team January 29, 2026 09:20
areaStyle: {
color,
opacity: 0.4,
opacity: chartsTheme.sparkline.areaOpacity,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably want to have opacity defined in StatChartSparklineOptions too 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. I added areaOpacity to StatChartSparklineOptions and wired it as an override (theme as default) for consistency with width.

Signed-off-by: Belyakin Alexander <belyakinaa@cloudx.group>
@Gladorme
Copy link
Member

lgtm, but it will need new shared release before merging

@Gladorme
Copy link
Member

Ah no it will need to be added on CUE model and Go sdk too.
For editor, it can be added later :)

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

Successfully merging this pull request may close these issues.

2 participants