A control used to draw tower charts, rendering series side by side to allow comparing data sequence and sizes.
Namespace: com.mindfusion.charting.swing
File: com.mindfusion.charting.swing
Java Copy Code |
---|
public class TowerChart extends Chart |
Assign the series to compare to LeftSeries and RightSeries properties of the chart. The chart segments are arranged according to the value of TowerLayout property, and their shape is drawn as specified by SegmentShape.
This control requires three-dimensional series. The first dimension specifies event order or timing and is used to sort or position segments. Second dimension specifies duration and is rendered as segment length along the main axis. Third dimension specifies a value rendered as segment width along the cross axis. You could use the stock EventSeries class as data container, or implement the Series interface to provide data from your own data structures.
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
com.mindfusion.charting.swing.Dashboard
com.mindfusion.charting.swing.Chart
com.mindfusion.charting.swing.TowerChart