EJSC.Chart.x_axis_formatter

See Also

 

Definition

 

EJSC.Formatter x_axis_formatter = EJSC.Formatter

 

Description

 

Defines the formatter that will be used to format the tick marks on the X axis before displaying them.

 

Types:

EJSC.DateFormatter

EJSC.NumberFormatter

 

Example

 

>> Display x-axis tick labels as YYYY-MM-DD

 

var chart =  new EJSC.Chart(

              "chart",

              {x_axis_formatter: new EJSC.DateFormatter({format_string: "YYYY-MM-DD"})}

       );