EJSC.Chart.axis_top
See Also
Definition
EJSC.Axis axis_top = EJSC.LinearAxis
Description
Defines the axis that will at the top of the chart. All four axes are defined as EJSC.LinearAxis by default when the chart is created and do not need to be manually created unless a different type of axis is needed. These properties automatically allow the setting of axis properties during chart creation as shown in the example below.
Types:
Example
>> Show the top axis
var chart = new EJSC.Chart( "chart", { axis_top: { visible: true } } );
>> Display a base 10 logarithmic axis at the top of the chart.
var chart = new EJSC.Chart( "chart", { axis_top: new EJSC.LogarithmicAxis({ base: 10 }) } ); |