Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Jun 13, 2024
  2. Jun 01, 2024
    • Jesse Devaney's avatar
      Fix data labels too dense with large single series (#42985) · 72443c62
      Jesse Devaney authored
      
      * remove unused variable
      
      * conditionally render labels sparsely if large amount of data points
      
      * update loki snapshots
      
      * refactor data label formatter conditions
      
      * setup intelligent label plotting
      
      * handle the case when there are no labels
      
      * add sparse data label rendering to bar charts
      
      * do not compute if no labels need to be shown or hidden
      
      * add sparse data labeling to waterfall charts
      
      * adjustment for large series waterfall labels
      
      * revert change
      
      * refactor name
      
      * add sparse labels to stacked bar and area
      
      * improve scaleFactor
      
      * fix type errors
      
      * remove unused labelFormatter
      
      * update snapshots
      
      * patch ECharts
      
      - labels with no text, i.e. "", were still being considered as plot-able labels which was causing labels with real text "asdfec.." to be hidden because of overlap.
      - This patch makes it so that labels with no text, i.e. "", are not considered to be candidates for overlap checking.
      
      * update loki snapshots
      
      * only loop over dataset once for getWaterfallChartDataDensity
      
      * improve performance of chart data density calculations
      
      * update loki snapshots
      
      * update E2E spec
      
      * update E2E spec
      
      * increase cartesian label density allotment
      
      * update loki snapshots
      
      * update loki snapshots
      
      * comment out node_modules cache since it cannot be skipped by commit and is breaking CI
      
      * fix type errors
      
      * Reset node modules if patches are changed
      
      * refactor type naming
      
      ---------
      
      Co-authored-by: default avatarUladzimir Havenchyk <uladzimir.dev@gmail.com>
      Co-authored-by: default avatarUladzimir Havenchyk <125459446+uladzimirdev@users.noreply.github.com>
      Unverified
      72443c62
  3. Apr 26, 2024
Loading