我想在日期范围选择器中按“应用”时动态更改图表中的日期。日期应该对齐相应地,如下所示是我的密码错了,请给我密码
<script>
$('.daterange').on('apply.daterangepicker', function datepicker_Dates(){
mixedChart.data.labels=[{% for item in labels6 %}
"{{item}}",
{% endfor %}];
mixedChart.update();
}); </script>
Tags:
在python中,Tk不包括日期选择器小部件。有几个Python日历小部件可以尝试:
http://svn.python.org/projects/sandbox/trunk/ttk-gsoc/samples/ttkcalendar.py
http://effbot.org/zone/wcklib-calendar.htm
试试这样的方法:
相关问题 更多 >
编程相关推荐