updateAnnotation() Method

Description

Updates the settings of the annotation with the given id.

The methods is useful, when you want to change color or style of the existing annotation.

This method is more useful, than recreating in cases when only one or two params need to be altered.

Parameters

Returns

Boolean.

If successfully updated returns "true", if there is no annotation with such id or format settings do not match the type - "false".

Samples

Calling sample - alter selected Line settings:



Sample:

Online HTML/JavaScript Sample

See also

addAnnotation()

to top