Search
Dashboard Class
Remarks See Also
 






A control that can hold multiple chart Plot-s and Gauge-s and manages their layout.

Namespace: com.mindfusion.charting.swing
File: com.mindfusion.charting.swing

 Syntax

Java  Copy Code

public class Dashboard extends JComponent implements RootControl, Printable

 Remarks

A new instance of Dashboard contains only an empty LayoutPanel where you should add Plot, GaugeRenderer, and AxisRenderer objects that define the dashboard content. By default LayoutPanel is a StackPanel instance, where you can also add intermediate Panel classes to change the layout relationships between child components.

Chart classes derive from Dashboard and provide initial dashboard configuration with only a single SeriesRenderer and Plot of respective types that draw data from chart's Series property. For example, BarChart is a dashboard that contains a Plot2D, BarRenderer, and X and Y AxisRenderer components. If you need to display more plots or axis renderers in a dashboard, you could either start from an empty Dashboard, or add the extra components to the LayoutPanel of a concrete Chart class that already contains its default plot and axis components.

 Inheritance Hierarchy

java.lang.Object
    java.awt.Component
        java.awt.Container
            javax.swing.JComponent
                com.mindfusion.charting.swing.Dashboard
                    com.mindfusion.charting.swing.Chart

 See Also