I draw a line chart on excel using openpyxl
In excel sheet:
date value
"2015-05-01" | 0.1
"2015-05-02" | 0.2
"2015-05-03" | 0.3
"2015-05-04" | 0.4
But it gives integer format for date data like "45612"... How could I draw line chart with date format? (date is x-axis, and value is y-axis)
使用类似这样的内容: chart.x_axis.number_format = 'yyyy-mm-dd'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.