xtal_dataview 0.5.0 copy "xtal_dataview: ^0.5.0" to clipboard
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 showValueLabels and valueLabelFormatter parameters 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 barValueLabelStyle theme property for styling vertical bar value labels.
  • Add SunburstCenterDisplayMode enum to SunburstChart for toggling center display between nameAndValue (default) and valueOnly.
  • Add yAxisLabelAlignment parameter 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 fontWeight controllable via tooltipValueStyle theme property (previously hardcoded to bold in each chart).

0.3.7 #

  • Add missing CrossAxisAlignment.stretch to legend layout Column/Row in ColumnChart (same fix applied to SunburstChart in 0.3.6).
  • Add showColorLegend parameter to HeatmapChart to toggle the gradient color legend bar (default true).

0.3.6 #

  • Remove LayoutBuilder from all 8 chart widgets for significantly improved resize performance.
  • Fix SunburstChart not rendering when showLegend is enabled (missing CrossAxisAlignment.stretch on internal Column/Row).
  • Add resize performance test page to example app with width/height sliders and performance overlay toggle.

0.3.5 #

  • Add topPadding parameter to all chart widgets to control the space above the chart drawing area (default 0). Previously, a hardcoded 16px top padding was always applied.

0.3.4 #

  • Add rotateXAxisLabels parameter to ColumnChart and DualAxesChart for vertical (-90°) X-axis label display.

0.3.3 #

  • Add showAllXAxisLabels parameter to ColumnChart and DualAxesChart for disabling automatic label thinning.

0.3.2 #

  • Make CalendarHeatmap responsive: automatically adapts to bounded height constraints using LayoutBuilder instead of requiring a fixed minimum height.

0.3.1 #

  • Add showAllXAxisLabels parameter to BarChart for disabling automatic label thinning.

0.3.0 #

  • BREAKING: Rename package from crystal_charts to xtal_dataview. Update your imports to package:xtal_dataview/xtal_dataview.dart.
  • Add unit, unitPosition, valueScale, useThousandsSeparator parameters to SunburstChart.
  • Add centerBackButtonColor, centerLabelStyle, centerValueStyle parameters 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) to ChartTreeNode.
  • 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.none to 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).
0
likes
150
points
297
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#chart #flutter #visualization #data-visualization

License

MIT (license)

Dependencies

flutter

More

Packages that depend on xtal_dataview