add - methods constructDataUrl, addDataItem, toggleDataItemActive to chart class.