add draw interval and speed setting for piechart and barchart
display dynamically for linechart