ui draw chart, export csv and drop db