Skip to content

feat(web): add desc display option to sort tooltip items descending#82

Open
ducthotran2010 wants to merge 1 commit into
bobheadxi:mainfrom
ducthotran2010:feat/order
Open

feat(web): add desc display option to sort tooltip items descending#82
ducthotran2010 wants to merge 1 commit into
bobheadxi:mainfrom
ducthotran2010:feat/order

Conversation

@ducthotran2010
Copy link
Copy Markdown

  • Add desc field to ChartDisplay in web/config.go to configure tooltip sort order
  • Regenerate web/src/generated.ts to include desc: boolean in ChartDisplay
  • When display.desc: true, render a custom ApexCharts tooltip that sorts series items by value highest → lowest

Usage

charts:
  - name: My Chart
    display:
      desc: true

imageimage

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.

1 participant