Skip to content

Conversation

@linuspahl
Copy link
Contributor

@linuspahl linuspahl commented Jun 4, 2025

Please note, this PR needs a backport for 6.2 and 6.1. (both versions implement the required plotly version)

Description

Motivation and Context

Due to a plotly update (related change: plotly/plotly.js#7009) we no longer have to calculate the width and offset bars in the bar chart manually (Thank you for finding this @maxiadlovskii).

This is improving the bars width in some scenarios, like the one described in #22163.

Fixes #22163
/nocl

@linuspahl linuspahl changed the title Simplify offset and width calculation for bar chart traces. Remove no longer needed offset and width calculation for bar chart traces. Jun 4, 2025
@linuspahl linuspahl changed the title Remove no longer needed offset and width calculation for bar chart traces. Remove no longer needed offset and width calculation for bars in bar chart. Jun 4, 2025
@linuspahl linuspahl marked this pull request as ready for review June 4, 2025 14:04
@maxiadlovskii maxiadlovskii merged commit 4bfd17e into master Jun 5, 2025
26 of 28 checks passed
@maxiadlovskii maxiadlovskii deleted the issue-22163-v2 branch June 5, 2025 10:11
dennisoelkers pushed a commit that referenced this pull request Jun 6, 2025
…22806)

Co-authored-by: Linus Pahl <46300478+linuspahl@users.noreply.github.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.

Narrow Bars on Bar Chart/Group Mode with Time Field Group By

3 participants