Skip to content

Commit

Permalink
fix: types and spacing grid
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfernandes committed Oct 23, 2024
1 parent b00e7f0 commit c3db54f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions packages/charts/src/stories/bar-charts.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { Chart } from '../index'
import { compactNumber } from '../utils/format'
import type { StoryObj } from '@storybook/react/*'
import type { StoryObj } from '@storybook/react'

export default {
const Bar = {
title: 'Charts/bar',
component: Chart,
}
export default Bar

type Story = StoryObj<typeof Chart>

Expand Down
2 changes: 1 addition & 1 deletion packages/charts/src/theme/chartStyles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { defaultSpinnerColor } from './colors'

export const BAR_CHART_LEGEND_DEFAULT_STYLE: EChartsOption['legend'] = {
orient: 'horizontal',
left: '3%',
left: '10rem',
bottom: 0,
align: 'left',
itemWidth: 16,
Expand Down

0 comments on commit c3db54f

Please sign in to comment.