Skip to content

Commit

Permalink
added sparkline areaProp and connectNulls prop
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnMarieW committed Oct 11, 2024
1 parent 0828f4a commit c1b0212
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ts/components/charts/Sparkline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ interface Props extends BoxProps, StylesApiProps, DashBaseProps {
strokeWidth?: number;
/** If set, `color` prop is ignored and chart color is determined by the difference between first and last value. */
trendColors?: SparklineTrendColors;
/** Props passed down to recharts `Area` component */
areaProps?: object;
/** Determines whether points with `null` values should be connected, `true` by default */
connectNulls?: boolean;
}

/** Sparkline */
Expand Down

0 comments on commit c1b0212

Please sign in to comment.