EJSC.Chart.axis_bottom                

See Also

Top  Previous  Next

 

Definition

 

EJSC.Axis axis_bottom = EJSC.LinearAxis

 

Description

 

Defines the axis that will at the bottom 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:

EJSC.LinearAxis

EJSC.LogarithmicAxis

 

Example

 

>> Hide the bottom axis

 

var chart =  new EJSC.Chart(

                      "chart",

               

                               axis_bottom: { visible: false }

               }

);

 

 

>> Display a base 10 logarithmic axis at the bottom of the chart.

 

var chart =  new EJSC.Chart(

                      "chart",

               

                               axis_bottom: new EJSC.LogarithmicAxis({ base: 10 })

               }

);