Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/metabase/metabase. Pull mirroring updated .
  1. Jul 01, 2024
  2. Jun 28, 2024
  3. Jun 26, 2024
  4. Jun 25, 2024
  5. Jun 21, 2024
  6. Jun 20, 2024
    • Phoomparin Mano's avatar
      fix(sdk): font size, color and padding in viz (#44283) · dab2d852
      Phoomparin Mano authored
      * funnel start color should be text-dark
      
      * change pivot table font size unit to em for scaling
      
      * change funnel and legend item unit to em
      
      * change funnel font size to em
      
      * change object detail font size to em
      
      * change gauge font size to em
      
      * add cartesian chart padding config
      
      * update docs
      
      * remove isEmbeddingSdk prop
      
      * simulate the 0.875em base font size
      
      * chart padding override should apply in query builder
      
      * add cartesian padding to stories
      
      * update readme docs
      
      * fix collection browser option in readme docs
      
      * fix pivot table font size scaling
      
      * update loki
      
      * update loki
      
      * use em for smart scalar
      
      * update chart default padding
      
      * revert smart scalar font size scaling due to measurement
      
      * dynamic font family and font size as defaults
      
      * pivot table
      
      * add more properties to sdk docs
      
      * make FONT_SIZES constant local
      
      * link to discussion on query builder extra spacing
      
      * enforce that font is passed to getLeftHeaderWidths
      Unverified
      dab2d852
  7. Jun 17, 2024
  8. Jun 14, 2024
  9. Jun 13, 2024
  10. Jun 06, 2024
  11. Jun 05, 2024
    • Jesse Devaney's avatar
      Fix column scaling ("Multiply by a number") bugs (#43668) · 6ac4fe97
      Jesse Devaney authored
      * return empty string so non-empty labels do not get hidden by empty labels
      
      * fix function name
      
      * apply scaling in transformed dataset
      
      * add missing option to OptionsType
      
      * fix double scaling
      
      * add column scaling to waterfall transformed dataset
      
      * add column value scaling to dataset transform
      
      * fix stacked bar segment labels not responding to column scaling
      
      * fix tooltip values displayed
      
      * since scaling as added to transformedDataset, use transformedDataset for formatters
      
      * revert changes to display percentage instead of absolute value
      
      * fix stacked data labels
      
      * add loki variant for custom y-axis range with column scaling
      
      * fix stack segmented label formatters compact calculation
      
      * scale original dataset and use that instead of modifying transformedDataset
      
      * update loki snapshots
      
      * fix scatter plot dataset scaling
      
      * fix tooltip values being double scaled
      
      * add E2E test to validate behavior
      
      * add helper for not duplicating the column scaling
      
      * port multiple y-axis metrics with column scaling fixes to RowChart
      
      * add waterfall and scatterplot loki variants
      
      * fix type errors and failing unit tests
      
      * fix failing unit tests
      
      * update loki snapshots
      Unverified
      6ac4fe97
    • Aleksandr Lesnenko's avatar
      Set min bar height for non-zero bars (#43485) · f025758d
      Aleksandr Lesnenko authored
      * set min bar height for non-zero values
      
      * fix y-axis split logic uses transformed dataset instead of actual data
      Unverified
      f025758d
  12. Jun 04, 2024
    • Phoomparin Mano's avatar
      feat(sdk): font size scaling and adjustment for visualizations (#43264) · 9d61985f
      Phoomparin Mano authored
      * support test utilities in sdk import
      
      * add relative unit default chart font size in embedding defaults
      
      * make font size follow sdk root
      
      * feat(sdk): add font size settings to axis ticks
      
      * feat(sdk): add font size settings to series labels
      
      * re-add hasTimelineEvents from merge commits
      
      * apply default font size at the theme level
      
      * add table header cell font size
      
      * calculate cell font size based on 12.5px
      
      * rename theme.chart to theme.cartesian
      
      * refactor visualization theme
      
      * refactor default viz theme
      
      * remove chart style config
      
      * add goal line
      
      * pass font size to chart measurements
      
      * use px as reference unit
      
      * support row chart viz
      
      * add missing echarts font size
      
      * add table cell font sizes
      
      * use css variables for funnel color
      
      * fix theme type in smart scalar story
      
      * add bar chart to storybook for visual test
      
      * add line chart to storybook for visual test
      
      * add loki reference images
      
      * add loki reference images for row chart
      
      * add loki shared reference images to stories filter
      
      * update loki reference image
      
      * synchronize base font size
      
      * add theme provider to funnel test setup
      
      * add missing default visualization theme
      
      * add unit test for get size in px
      
      * update loki reference image
      
      * fix static viz build error
      Unverified
      9d61985f
  13. Jun 03, 2024
  14. 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
  15. May 30, 2024
  16. May 28, 2024
  17. May 24, 2024
  18. May 21, 2024
  19. May 17, 2024
    • Jesse Devaney's avatar
      Move series data label formatters from `option` to the `model` (#42616) · c747c170
      Jesse Devaney authored
      
      * move series data label formatters to the model
      
      - TODO: move stacked data label formatters to the model
      
      * combo stacked chart
      
      * spec
      
      * remove irrelevant spec
      
      * combo stacking
      
      * fix selecting y-axis on stacked charts
      
      * snapshot
      
      * linter, specs, types
      
      * propagate combo stacking to area and bar charts
      
      * enable combo stacking for bar/area charts, fix data transform
      
      * fix types, specs
      
      * fix y-axis extents calculations
      
      * remove spec that tested the removed control, update specs, update test data
      
      * propagate combo stacking to area and bar charts (#42600)
      
      * propagate combo stacking to area and bar charts
      
      * enable combo stacking for bar/area charts, fix data transform
      
      * fix types, specs
      
      * fix y-axis extents calculations
      
      * remove spec that tested the removed control, update specs, update test data
      
      * review
      
      * remove unused formatting options parameter
      
      * move stacked labels formatter to model
      
      * fix stacked combo chart label display for non-stacked lines
      
      * combo stacked chart
      
      * spec
      
      * remove irrelevant spec
      
      * combo stacking
      
      * fix selecting y-axis on stacked charts
      
      * snapshot
      
      * linter, specs, types
      
      * propagate combo stacking to area and bar charts (#42600)
      
      * propagate combo stacking to area and bar charts
      
      * enable combo stacking for bar/area charts, fix data transform
      
      * fix types, specs
      
      * fix y-axis extents calculations
      
      * remove spec that tested the removed control, update specs, update test data
      
      * review
      
      * fix waterfall chart labels
      
      ---------
      
      Co-authored-by: default avatarAleksandr Lesnenko <alxnddr@gmail.com>
      Co-authored-by: default avatarAleksandr Lesnenko <alxnddr@users.noreply.github.com>
      Unverified
      c747c170
  20. May 16, 2024
    • Aleksandr Lesnenko's avatar
      combo stacked chart (#42085) · 8b9e1526
      Aleksandr Lesnenko authored
      * combo stacked chart
      
      * spec
      
      * remove irrelevant spec
      
      * combo stacking
      
      * fix selecting y-axis on stacked charts
      
      * snapshot
      
      * linter, specs, types
      
      * propagate combo stacking to area and bar charts (#42600)
      
      * propagate combo stacking to area and bar charts
      
      * enable combo stacking for bar/area charts, fix data transform
      
      * fix types, specs
      
      * fix y-axis extents calculations
      
      * remove spec that tested the removed control, update specs, update test data
      
      * review
      
      * show show data values setting on normalized charts that have a line series
      
      * fixes
      Unverified
      8b9e1526
  21. May 14, 2024
  22. May 06, 2024
  23. May 03, 2024
  24. May 02, 2024
  25. May 01, 2024
  26. Apr 26, 2024
Loading