Skip to content

Conversation

@olandr
Copy link
Contributor

@olandr olandr commented Dec 15, 2025

Description

This implements log-based Yaxis for the TimeSeriesChart.

It does so by exposing the yaxis.logBase field of YAXisComponentOption to the user. NOTE: To make this possible one key feature had to be implemented in the UI components of Perses for the calculation of nearby-series/hover see perses/shared#11.

Screenshots

None
log-none
log2
log-2
log10
log-10

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.

@olandr olandr force-pushed the feat/logarithmic-support-3434 branch 2 times, most recently from d839dd5 to dcb9f97 Compare December 15, 2025 12:05
@olandr olandr marked this pull request as ready for review December 16, 2025 15:06
@Nexucis Nexucis requested review from a team and jgbernalp and removed request for a team December 18, 2025 18:44
@jgbernalp
Copy link
Contributor

@olandr there are some lint errors, can you check when you have some time?

@olandr olandr force-pushed the feat/logarithmic-support-3434 branch from dcb9f97 to 334ffbd Compare January 6, 2026 06:49
@olandr olandr requested review from a team, AntoineThebaud and Nexucis as code owners January 6, 2026 06:49
…imeSeriesChart

- adds possibility for choosing the "ECharts yaxis type:log" field instead of just 'value'.
- adds options for choosing log-base (2, 10)
- adds cue and updates go-sdk with logbase

---------

Signed-off-by: Simon Olander <[email protected]>
@olandr olandr force-pushed the feat/logarithmic-support-3434 branch from 334ffbd to 9871835 Compare January 6, 2026 14:47
@olandr
Copy link
Contributor Author

olandr commented Jan 7, 2026

The failing test is a bit confusing to me, I am not very certain on what the test is actually testing (or how it really is connected to my changes?).

I can also not replicate the failing test locally (all PASS). Any suggestions what should be done here?

@jgbernalp
Copy link
Contributor

it seems it was a flaky test.

@jgbernalp jgbernalp enabled auto-merge January 7, 2026 12:49
@jgbernalp jgbernalp added this pull request to the merge queue Jan 7, 2026
Merged via the queue into perses:main with commit 27ab89f Jan 7, 2026
20 of 21 checks passed
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