Skip to content

Add units to chart data point hover card#1049

Merged
1Blademaster merged 1 commit into
mainfrom
992-feature-show-unit-on-hover-card-in-fla
Mar 5, 2026
Merged

Add units to chart data point hover card#1049
1Blademaster merged 1 commit into
mainfrom
992-feature-show-unit-on-hover-card-in-fla

Conversation

@1Blademaster
Copy link
Copy Markdown
Member

image

Copilot AI review requested due to automatic review settings March 4, 2026 21:04
@1Blademaster 1Blademaster linked an issue Mar 4, 2026 that may be closed by this pull request
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds dataset units to the Chart.js tooltip (hover card) in the Falcon Log Analyser charts by customizing the tooltip label callback and reusing the unit stored in dataset.yAxisID.

Changes:

  • Introduced a shared getChartLabel tooltip callback to append units to tooltip labels.
  • Wired the custom tooltip label callback into both dataflashOptions and fgcsOptions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread gcs/src/components/fla/graphConfigs.js
@1Blademaster 1Blademaster merged commit e7fc319 into main Mar 5, 2026
9 checks passed
@1Blademaster 1Blademaster deleted the 992-feature-show-unit-on-hover-card-in-fla branch March 5, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Show unit on hover card in FLA

2 participants