Option
Using Option
The VividChart object can have any field associated with its chart type set by using the options method. The VividChart object will then use the value provided when it queries the table. Options is overloaded and can accept 3 different types of input.
Tips: Using options will override any fields provided by the chart object.
Using option to assign a field using a field name and value
Options can accept a string containing the chart field name to be used followed by a value representing the value to assign to the field.
Using options with a field name and value:
Using option with a JavaScript object
Options can accept a JavaScript object which contains key/value pairs corresponding to chart fields and the values to use. This can accept more than one field option.
Using options with a JavaScript object.
Using option with JSON
Options can accept JSON which contains key/value pairs corresponding to chart field and the values to use. This can accept more than one field option.
Using options with JSON:
Last updated