Skip to content

[FEATURE]: Add logarithmic scale + max and min configuration for heatmap#562

Merged
ibakshay merged 6 commits intomainfrom
ibakshay/improve-heatmap
Feb 11, 2026
Merged

[FEATURE]: Add logarithmic scale + max and min configuration for heatmap#562
ibakshay merged 6 commits intomainfrom
ibakshay/improve-heatmap

Conversation

@ibakshay
Copy link
Copy Markdown
Contributor

@ibakshay ibakshay commented Feb 7, 2026

Related to perses/perses#2978.
This feature is similar to #559

Description

  • Added logBase option (2 or 10) to enable logarithmic X-axis scaling for heatmap charts.
  • Handle edge cases for log scales (zero/negative values)
  • Added option to give min and max values

Screenshots

Screen.Recording.2026-02-08.at.23.15.22.mov

@ibakshay ibakshay requested review from a team, AntoineThebaud and Nexucis as code owners February 7, 2026 15:55
@ibakshay ibakshay requested review from jgbernalp and removed request for a team February 7, 2026 15:55
@ibakshay ibakshay marked this pull request as draft February 7, 2026 16:32
Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
@ibakshay ibakshay force-pushed the ibakshay/improve-heatmap branch 2 times, most recently from c8c7d41 to 7a141c5 Compare February 8, 2026 18:16
Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
@ibakshay ibakshay marked this pull request as ready for review February 8, 2026 18:39
@ibakshay ibakshay changed the title [FEATURE]: Add logarithmic scale support for heatmap [FEATURE]: Add logarithmic scale + max and min configuration for heatmap Feb 9, 2026
Copy link
Copy Markdown
Contributor

@AntoineThebaud AntoineThebaud left a comment

Choose a reason for hiding this comment

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

LGTM

@ibakshay ibakshay added this pull request to the merge queue Feb 11, 2026
Merged via the queue into main with commit 7f0914f Feb 11, 2026
13 checks passed
@ibakshay ibakshay deleted the ibakshay/improve-heatmap branch February 11, 2026 17:39
ZPascal pushed a commit to ZPascal/plugins that referenced this pull request Feb 15, 2026
…map (perses#562)

* [FEATURE]: Support logbase y axis for heatmap

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* change echart to custom to use native log values

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* fix deprecated function + lint

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* fix: max without min value

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* add min and max to heatmapchart sdk

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

* fix overlapp y axis tick

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>

---------

Signed-off-by: Akshay Iyyadurai Balasundaram <akshay.iyyadurai.balasundaram@sap.com>
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