bindto property
dynamic
bindto
Specify the CSS selector or the element which the chart will be set to. D3 selection object can be specified also. If other chart is set already, it will be replaced with the new one (only one chart can be set in one element).
- NOTE: In case of element doesn't exist or not specified, will add a
<div>
element to the body.
Implementation
external dynamic
/*String|HtmlElement|Null|{
/**
* Specify the element where chart will be drawn.
*/
element?: string | HTMLElement;
/**
* Specify the class name of bind element.
* NOTE: When class name isn't bb, then you also need to update the default CSS to be rendered correctly.
*/
classname?: string;
}*/
get bindto;
void
bindto=(dynamic v)
Implementation
external set bindto(
dynamic
/*String|HtmlElement|Null|{
/**
* Specify the element where chart will be drawn.
*/
element?: string | HTMLElement;
/**
* Specify the class name of bind element.
* NOTE: When class name isn't bb, then you also need to update the default CSS to be rendered correctly.
*/
classname?: string;
}*/
v);