public final class

MainTitleStyle

extends TitleStyle
java.lang.Object
   ↳ com.shinobicontrols.charts.TitleStyle
     ↳ com.shinobicontrols.charts.MainTitleStyle

Class Overview

Visual style properties relating to the ShinobiChart title. If you make any styling changes after the chart has been displayed, you should call chart.redrawChart().

Summary

Public Constructors
MainTitleStyle()
Public Methods
Title.CentersOn getCentersOn()
Whether the chart centers on the full chart view, the plot area, or the canvas.
boolean getOverlapsChart()
Whether the chart title label reserves space at the top of the chart, or overlaps the canvas.
void setCentersOn(Title.CentersOn titleCentersOn)
Sets whether the chart centers on the full chart view, the plot area, or the canvas.
void setOverlapsChart(boolean overlapChartTitle)
Sets whether the chart title label reserves space at the top of the chart, or overlaps the canvas.
[Expand]
Inherited Methods
From class com.shinobicontrols.charts.TitleStyle
From class java.lang.Object

Public Constructors

public MainTitleStyle ()

Public Methods

public Title.CentersOn getCentersOn ()

Whether the chart centers on the full chart view, the plot area, or the canvas.

Returns
  • What the chart's title centers on

public boolean getOverlapsChart ()

Whether the chart title label reserves space at the top of the chart, or overlaps the canvas.

Returns
  • Whether the chart's title overlaps the canvas or not

public void setCentersOn (Title.CentersOn titleCentersOn)

Sets whether the chart centers on the full chart view, the plot area, or the canvas.

Parameters
titleCentersOn What the chart's title centers on
See Also

public void setOverlapsChart (boolean overlapChartTitle)

Sets whether the chart title label reserves space at the top of the chart, or overlaps the canvas.

Parameters
overlapChartTitle Whether the chart's title overlaps the canvas or not