expression_states should be an array, and each element should be a valid argument for GraphingCalculator.setExpression() This function will attempt to create expressions for each element in the array, and is equivalent to expression_states.forEach(function(expression_state){ calculator.setExpression(...
GraphingCalculator.setBlank([options]) Reset the calculator to a blank state. If an options object is present, the allowUndo property serves the same function as it does in GraphingCalculator.setState. Examples: // Save the current state of a calculator instance var state = calculator.getState...
GraphingCalculator.setBlank([options]) Reset the calculator to a blank state. If an options object is present, the allowUndo property serves the same function as it does in GraphingCalculator.setState. Examples: // Save the current state of a calculator instance var state = calculator.getState...
remapColors Boolean false Remap colors in the saved state to those in the current Calculator.colors object. See the Colors section. GraphingCalculator.setBlank([options]) Reset the calculator to a blank state. If an options object is present, the allowUndo property serves the same function as ...
remapColors Boolean false Remap colors in the saved state to those in the current Calculator.colors object. See the Colors section. GraphingCalculator.setBlank([options]) Reset the calculator to a blank state. If an options object is present, the allowUndo property serves the same function as ...
GraphingCalculator.setBlank([options]) Reset the calculator to a blank state. If an options object is present, the allowUndo property serves the same function as it does in GraphingCalculator.setState. Examples: // Save the current state of a calculator instance var state = calculator.getState...
GraphingCalculator.observeEvent('change', function (eventName, event) {/*...*/})The 'change' event is emitted by the calculator whenever any change occurs that will affect the persisted state of the calculator. This applies to any changes caused either by direct user interaction, or by calls...
Reset the calculator to a blank state. If an options object is present, the allowUndo property serves the same function as it does in GraphingCalculator.setState. Examples: // Save the current state of a calculator instance var state = calculator.getState(); // Use jQuery to post a state...
GraphingCalculator.observeEvent('change', function () {/*...*/}) The 'change' event is emitted by the calculator whenever any change occurs that will affect the persisted state of the calculator. This applies to any changes caused either by direct user interaction, or by calls to API method...
GraphingCalculator.observeEvent('change', function (eventName, event) {/*...*/}) The 'change' event is emitted by the calculator whenever any change occurs that will affect the persisted state of the calculator. This applies to any changes caused either by direct user interaction, or by call...