Widget that draws chart in accordance with input data