Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

107
Views
Highcharts in IOS not loading

I am using Highcharts JS v9.1.1 in a simple webserver, where i load the library to the client while connecting. On windows and android the website works fine, however on IOS it screws up the whole website. I have isolated the problem to 100% being the charts javascript code. Here it is:

var chartP = new Highcharts.chart({
  chart:{ renderTo:'chart-daily' },
       title: { text: 'daily usage' },
       series: [{
        name: 'used', 
        size: '100%',
        innerSize: '85%',
        showInLegend: false,
        data: [0, 0, 0, 0, 0, 0, 0]
       }],
        plotOptions: {
        line: { animation: false,
      dataLabels: { enabled: true }
        },
       series: {name: 'used', color: '#18009c' }
       },
       xAxis: {
    categories: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']
  },
   yAxis: {title: { text: "energy (kWh)"} },
     credits: { enabled: false }
});

here is the HTML as well:

<script src="Chart"></script>
  <div id="chart-daily" class="container" style="margin:auto; width:70%;"></div>

if i remove the javascript code it works fine even on IOS. Sadly safari doesnt have any simple console or debuging tools liek chrome does. In chrome i only get this error: "DevTools failed to load source map: Could not load content for http://192.168.1.4:8000/highcharts.js.map: Connection error: net::ERR_CONNECTION_TIMED_OUT" But apperently this error is unrelated. Is there a speciffic seting i have to enable to make the chart work on IOS?

Thank you for your help

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!