You should use or the other else files are included twice and something may break. Anyway, the best way is using
<script src="{{=URL('static','js/highcharts.js')}}"></script> <script src="{{=URL('static','js/highcharts-3d.js')}}"></script> <script src="{{=URL('static','js/highcharts-more.js')}}"></script> <script src="{{=URL('static','js/modules/data.js')}}"></script> <script src="{{=URL('static','js/modules/drilldown.js')}}"></script> in layout.html after </body> before </html>. Make sure you use them in jQuery(function(){ ... code here ... }); On Tuesday, 16 February 2016 08:31:05 UTC-6, Jinyan Li wrote: > > I try to use Column with drilldown chart from Hightcharts for my website > > I put > <script src="{{=URL('static','js/highcharts.js')}}"></script> > <script src="{{=URL('static','js/highcharts-3d.js')}}"></script> > <script src="{{=URL('static','js/highcharts-more.js')}}"></script> > <script src="{{=URL('static','js/modules/data.js')}}"></script> > <script src="{{=URL('static','js/modules/drilldown.js')}}"></script> > in layout.html > > also I put > response.files.insert(3,URL('static','js/highcharts.js')) > response.files.insert(4,URL('static','js/highcharts-3d.js')) > response.files.insert(5,URL('static','js/highcharts-more.js')) > response.files.insert(6,URL('static','js/modules/data.js')) > response.files.insert(7,URL('static','js/modules/drilldown.js')) > in web2py_ajax.html > > and then I try to create a Column with drilldown chart in a testpage, but > nothing is shown > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.