InputFields

This section is regarding Methods and Properties available in Inputfields Element.

Examples:
  stockChart.rangeSelector.inputFields.get(“enabled”);
  stockChart.rangeSelector.inputFields.set(“valueType”, “dateTime”);
  stockChart.rangeSelector.inputFields.get(“startValue”);
Note:
  • You can refer to Inputfields Element for complete list of properties available.
  • StockChart should be rendered before you can access inputFields & its methods / properties.

Methods in InputFields

Method Description Example
get(String propertyName) Returns the specified property of inputFields. stockChart.rangeSelector.inputFields.get(“valueType”);
set(String propertyName, Mixed value [,Boolean updateChart = true]) Sets the specified property of inputFields & optionally updates (default) the StockChart. stockChart.rangeSelector.inputFields.set(“enabled”, false);

Writable Properties in InputFields:

All Inputfields options become available as properties after StockChart is rendered. You can access them either via get method or dot notation. But you can change/set those values only via set method.

Please refer to Inputfields Element for complete list of properties available.



Try Editing The Code


If you have any questions, please feel free to ask in our forums.Ask Question