Search
ChartWidget Class
Remarks See Also
 






Represents a dashboard widget that displays a MindFusion Charting control.

Namespace: MindFusion.Dashboards
File: ChartWidget.js

 Syntax

JavaScript  Copy Code

// class
ChartWidget.prototype = {}

 Remarks

ChartWidget embeds the full MindFusion.Charting engine into a dashboard card, supporting a wide range of visualization styles.

The chart visualization mode is configured via the chartType property, a member of the ChartType enumeration:

  • Bar: Side-by-side, stacked, or overlay bar charts.
  • Line: Polyline, smooth spline curve, or step line charts.
  • Area: Semi-transparent single or multi-series area charts.
  • Pie: Slices, callouts, and doughnut charts.
  • Bubble: 3D-data bubble Cartesian scatter charts.
  • Scatter: 2D scatter plots with customizable markers and shape sizes.
  • Candlestick: Financial stock charts with open, high, low, and close markers.
  • Funnel: Pipeline progression and conversion funnels.
  • Radar: Multi-axis radial spider and radar charts.
  • Tower: bar towers.
  • Heatmap: Matrix grid color maps.

Data is supplied by assigning an array of DashboardSeries configurations to the series property. Each series binds chart dimensions (values, labels, coordinates, or stock prices) to fields within the widget's registered DataSource.

Additional configuration properties:

The ChartWidget responds automatically to theme changes through the active ThemeManager, updating plot surfaces, axis strokes, grid lines, and data label brushes without manual redraw calls.

 Inheritance Hierarchy

MindFusion.Dashboards.DashboardWidget
    MindFusion.Dashboards.ChartWidget

 See Also