Check documentation for the latest version 6.0 of dhtmlxSuite set DHTMLX Docs

set

associates hash of data with some ID

void set(string|number id,object hash);

Parameters

idstring|numberthe id of the item in question
hashobjectjavascript object, which contains data

Example

myChart.set(id,{
    property:value
});

Details

Method was added as pair for "get", but so far there is no any practical use-cases, which can be based on it.

Back to top