xtal_dataview 0.5.0
xtal_dataview: ^0.5.0 copied to clipboard
A comprehensive Flutter charting library with Area, Bar, Column, Heatmap, Sunburst, Dual-Axes, and Horizontal Bar charts. Features interactive tooltips, smooth animations, and customizable themes.
0.5.0 #
- Add
showValueLabelsandvalueLabelFormatterparameters to BarChart, ColumnChart, and DualAxesChart for displaying aggregate values above bars.- ColumnChart stacked mode shows the total sum above each stack.
- DualAxesChart supports per-axis formatters (
leftValueLabelFormatter/rightValueLabelFormatter). - New
barValueLabelStyletheme property for styling vertical bar value labels.
- Add
SunburstCenterDisplayModeenum to SunburstChart for toggling center display betweennameAndValue(default) andvalueOnly. - Add
yAxisLabelAlignmentparameter to HeatmapChart for controlling Y-axis label text alignment (TextAlign.left/center/right). - Fix HeatmapChart Y-axis labels being truncated: left padding now dynamically adjusts to fit the widest label.
0.4.0 #
- Update default color system to a unified design palette.
- Sunburst chart: replace 21-color palette with a curated 12-color palette (Blue, Red, Neon Mint, Gray, Purple, Amber, Teal, Pink, Sky, Coral, Violet, Gold).
- Heatmap chart: upgrade default gradient from 2-stop to 9-step Blue scale for smoother color distribution.
- Calendar heatmap: align Sunday/Saturday colors with the new Red/Blue palette.
- Make tooltip value
fontWeightcontrollable viatooltipValueStyletheme property (previously hardcoded to bold in each chart).
0.3.7 #
- Add missing
CrossAxisAlignment.stretchto legend layout Column/Row in ColumnChart (same fix applied to SunburstChart in 0.3.6). - Add
showColorLegendparameter to HeatmapChart to toggle the gradient color legend bar (defaulttrue).
0.3.6 #
- Remove
LayoutBuilderfrom all 8 chart widgets for significantly improved resize performance. - Fix SunburstChart not rendering when
showLegendis enabled (missingCrossAxisAlignment.stretchon internal Column/Row). - Add resize performance test page to example app with width/height sliders and performance overlay toggle.
0.3.5 #
- Add
topPaddingparameter to all chart widgets to control the space above the chart drawing area (default0). Previously, a hardcoded 16px top padding was always applied.
0.3.4 #
- Add
rotateXAxisLabelsparameter to ColumnChart and DualAxesChart for vertical (-90°) X-axis label display.
0.3.3 #
- Add
showAllXAxisLabelsparameter to ColumnChart and DualAxesChart for disabling automatic label thinning.
0.3.2 #
- Make CalendarHeatmap responsive: automatically adapts to bounded height constraints using
LayoutBuilderinstead of requiring a fixed minimum height.
0.3.1 #
- Add
showAllXAxisLabelsparameter to BarChart for disabling automatic label thinning.
0.3.0 #
- BREAKING: Rename package from
crystal_chartstoxtal_dataview. Update your imports topackage:xtal_dataview/xtal_dataview.dart. - Add
unit,unitPosition,valueScale,useThousandsSeparatorparameters to SunburstChart. - Add
centerBackButtonColor,centerLabelStyle,centerValueStyleparameters to SunburstChart for center back button customization.
0.2.1 #
- Add legend support (
showLegend,legendPosition) to ColumnChart. - Add dynamic Y-axis label width to ColumnChart (no more truncation with
…). - Fix SunburstChart unnecessary re-animation by adding value equality (
==/hashCode) toChartTreeNode. - Dismiss tooltip when tapping outside the chart area on all chart types.
0.2.0 #
- Add tap-based tooltip and highlight for all chart types on iOS/touch devices.
- Fix BarChart hit test accuracy by passing full layout parameters (yScale, unit, valueScale, etc.).
- Add
TextDecoration.noneto tooltip text styles to prevent unwanted underlines on iOS.
0.1.3 #
- Add dynamic axis label sizing and X-axis label rotation for BarChart.
0.1.2 #
- Change calendar heatmap month selector labels from English abbreviations (Jan–Dec) to numeric (1–12).
0.1.1 #
- Fix axis title and axis label overlap on all chart types.
- Fix axis labels wrapping to multiple lines (enforce single-line rendering).
- Fix DualAxes right Y-axis title overlapping with labels.
- Increase axis title padding (20px → 24px) and X-axis title offset (22px → 26px).
0.1.0 #
- Initial release.
- Area Chart — Gradient-filled area chart with smooth curve support.
- Bar Chart — Grouped vertical bar chart.
- Column Chart — Column chart with grouping and stacking support.
- Dual Axes Chart — Dual-axis chart with independent left/right Y axes (line / area / column).
- Heatmap Chart — Category-by-category heatmap with color scale legend.
- Horizontal Bar Chart — Horizontal bar chart.
- Sunburst Chart — Sunburst chart with drill-down support.
- Calendar Heatmap — High-performance calendar heatmap based on Canvas (
CustomPainter). - Common features: Hover tooltips, animations, customizable themes (light/dark), value formatter (unit, scaling, thousands separator).
