Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy loading highstock example does not work #54

Open
kefa8 opened this issue Jun 22, 2018 · 1 comment
Open

Lazy loading highstock example does not work #54

kefa8 opened this issue Jun 22, 2018 · 1 comment

Comments

@kefa8
Copy link

kefa8 commented Jun 22, 2018

The below example is not working. It just hangs with "Loading..."

https://github.com/kyper-data/python-highcharts/blob/master/examples/highstock/lazy-loading.py

@bigEvilBanana
Copy link

It seems if you remove these lines, then it will work

H = Highstock()

    data_url = 'http://www.highcharts.com/samples/data/from-sql.php?callback=?'
    H.add_data_from_jsonp(data_url, 'json_data', 'candlestick', dataGrouping = {'enabled': False})

    # script = """json_data = [].concat(json_data, [[Date.UTC(2011, 9, 14, 19, 59), null, null, null, null]]);"""
    # H.add_JSscript(script, 'head')

    # H.add_navi_series_from_jsonp() # not really useful, but it shows in highstock demo

    options = {
        'chart' : {
            'zoomType': 'x'
        },

....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants