mirror of
https://github.com/bitbaum/chartkit.git
synced 2026-12-04 11:58:16 +01:00
A share-price chart of daily closes drew a dot on every value: about 250 beads on a one-year chart. LineChart gains two backward-compatible props: - markers: "all" (default, unchanged) | "none" | "ends" | "auto". auto drops the dots above 60 points on a series; ends keeps only the last value. A hidden value is a full-height strip of the plot (strips tile it edge to edge), and hover or keyboard focus shows its dot, a hairline cursor and its value. The table still holds every value. - area: a light fill under each line in the series' token colour. Core gains areaPath, hitColumns, resolveMarkers, AUTO_MARKER_LIMIT. Browser check runs at 1440px too and covers the dense chart at 390/1440. Claude-Session: https://claude.ai/code/session_018WZnBnaLP6RhwFkLxRTKgE Co-authored-by: Claude <noreply@anthropic.com>
24 lines
1.2 KiB
TypeScript
24 lines
1.2 KiB
TypeScript
/**
|
|
* @bitbaum/chartkit/react — the charts every product draws.
|
|
*
|
|
* import { LineChart, BarChart } from "@bitbaum/chartkit/react";
|
|
* import "@bitbaum/chartkit/styles.css";
|
|
*
|
|
* Every component renders on the server to SVG and HTML: no effect, no
|
|
* measurement. The look follows the app's tokens through `--ck-*` variables
|
|
* (see styles.css); the behaviour — a table behind every drawing, a label
|
|
* that never clips, a point that is a link — is fixed here.
|
|
*/
|
|
export { LineChart } from "./LineChart.js";
|
|
export type { LineChartProps } from "./LineChart.js";
|
|
export { BarChart, ShareBars } from "./Bars.js";
|
|
export { ColumnChart, columnScale } from "./Columns.js";
|
|
export type { ColumnChartProps, ColumnPoint, ColumnSeries } from "./Columns.js";
|
|
export type { BarChartProps, BarRow, ShareBarsProps, ShareRow } from "./Bars.js";
|
|
export { Sparkline, Meter, StatTiles } from "./Small.js";
|
|
export type { SparklineProps, MeterProps, StatTile, StatTilesProps } from "./Small.js";
|
|
export { Timeline } from "./Timeline.js";
|
|
export type { TimelineProps, TimelineEvent } from "./Timeline.js";
|
|
export { ChartFigure, DataTable } from "./Figure.js";
|
|
export type { LineMarkers, LinePoint, LineSeries, XValue } from "../index.js";
|
|
//# sourceMappingURL=index.d.ts.map
|