EJSC.Chart.y_axis_formatter

See Also

 

Definition

 

EJSC.Formatter Y_axis_formatter = EJSC.Formatter

 

Description

 

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

 

Types:

EJSC.DateFormatter

EJSC.NumberFormatter

 

Example

 

>> Display y-axis tick labels as $0.00

 

var chart =  new EJSC.Chart(

              "chart",

              {y_axis_formatter: new EJSC.NumberFormatter({currency_symbol: "$", forced_decimals: 2, variable_decimals: 2})}

       );