Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

110
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda