mirror of
https://github.com/bitbaum/chartkit.git
synced 2026-12-04 03:47:28 +01:00
Three gaps found when four apps tried to adopt 0.6.0:
- LineChart: a dated axis now ticks on days, weeks, months or years for any
span, and is never left bare. A 30-day daily series had no date label.
- ColumnChart: period labels are printed whole and thinned (every n-th) per
band of plot width via a container query, instead of being cut at 8
characters or to their column ("20…", "J…" at 390px).
- Meter: tone (accent, neutral, positive, warning, negative) and
showValue={false}. Sparkline: null breaks the line, per-point tones colour
their dots; dots are round-capped strokes so they render filled.
Additions only. Tests in core, render and browser checks; demo, README and
CHANGELOG updated.
Claude-Session: https://claude.ai/code/session_019MDtmuJhiHPASaR5k8raL9
Co-authored-by: Claude <noreply@anthropic.com>
26 lines
1.4 KiB
TypeScript
26 lines
1.4 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 { ChartTone, SparklineProps, SparkPoint, 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";
|
|
export { DoughnutChart } from "./Doughnut.js";
|
|
export type { DoughnutChartProps, DoughnutRow } from "./Doughnut.js";
|
|
//# sourceMappingURL=index.d.ts.map
|