flitter-ui (지금 베타입니다)
Back to Bar Chart

Toast Style

Inspired by Toast UI Chart

Pastel tones, smooth staggered animations, hover focus effects — Inspired by Toast UI Chart.

Configuration

Colors

Series color palette. Colors cycle automatically when datasets exceed palette length.

PropertyTypeDefaultDescription
colorsstring[]["#00a9ff", "#ffb840", ...]Color palette for dataset series

Font

Base typography applied to axis labels and legend text.

PropertyTypeDefaultDescription
font.familystring"Noto Sans JP"
font.sizenumber11

Title

PropertyTypeDefaultDescription
title.visiblebooleantrueShow or hide the title
title.colorstring"#000000"Text color
title.fontSizenumber16Font size in px
title.fontFamilystring?Overrides font.family
title.fontWeightstring?"bold"Font weight
title.position"top" | "bottom""top"Placement relative to chart
title.alignment"start" | "center" | "end""center"Horizontal alignment

Legend

PropertyTypeDefaultDescription
legend.visiblebooleantrue
legend.position"top" | "bottom""bottom"

Axis

Applies to both x-axis and y-axis.

PropertyTypeDefaultDescription
axis.colorstring"#BBBBBB"Line and tick color
axis.thicknessnumber1Line thickness (px)
axis.label.colorstring"#666666"Label text color
axis.label.fontSizenumber11Label font size (px)
axis.label.gapnumber8Gap between tick and label (px)
axis.tick.sizenumber6Tick mark length (px)

Grid

PropertyTypeDefaultDescription
grid.colorstring"#EEEEEE"
grid.thicknessnumber1

Padding

Chart area padding in pixels.

PropertyTypeDefaultDescription
padding.topnumber20
padding.rightnumber20
padding.bottomnumber20
padding.leftnumber20

Animation

PropertyTypeDefaultDescription
animation.enabledbooleantrueEnable entry animation
animation.durationnumber300Duration per bar group (ms)
animation.staggerDelaynumber60Delay between groups (ms)

Bar

PropertyTypeDefaultDescription
bar.gapnumber1Horizontal margin between bars in a group (px)
bar.cornerRadiusnumber0Bar corner radius (px)

Vertical

Horizontal

Negative Vertical

Negative Horizontal