Defining a basic chart and implementing its theme is quite simple.
The real work comes in when defining plots, axes, and series. Each piece serves its own distinct,
important purpose.

Plots

One of the main focuses of plots within charting is defining the type of chart to be added
and providing values for the specific chart type's settings. The charting features numerous
2D charts including:

Default - Universal line chart capable of rendering lines, fill areas under those lines,
and placing markers at data points. This plot type is used if no plot type was specified
when adding it to a chart.

Scatter - Similar to MarkerOnly, yet capable of charting using gradient fields.

Grid - For adding a grid layer to your chart.

Some of the standard plot options include:

type - The chart type (Pie, Bars, Scatter, etc).

lines - Represents if lines should be added within the chart.

markers - Represents if markers should be added to data points within the chart.

areas - Represents if areas within the chart should be shaded.

shadows - Represents if shadows should be added to lines within the plot (ex: {dx:4, dy:4}).

tension - Adds curves to lines within plots for added smoothness. Values can be:
X - Cubic bezier lines.
x - Similar to "X" but assumes that the point set is closed (a loop). It can be used when
plotting true XY data.
S - Quadratic bezier lines.

gap - Represents the number of pixels between bars.

Each chart type may have its own custom options. The Pie plot type, for example, has a
radius setting which defines the size of the chart's radius:

Axes

Most charts feature axes and many of those are the traditional x and y setup. An axis may
be horizontal (the default) or vertical.

getApproximateSize

Returns the size of the component in pixels. The size is a calculation and does not
exactly reflect the real size that may be different due to additional styles not taken
into account by this method. The size is calculated from the font of the component and
default or defined values (such as character length or number of lines for text area).