JavaScript javascript variable not works in Highchart javascript undefined variable works

  chart3 = new Highcharts.Chart({
                chart: {
                    renderTo: 'container3',
                    type: 'column'
                },
                title: {
                    text: 'Cumplimiento de los Programas del PMA-Contratistas'
                },
                subtitle: {
                    text: ''
                },
                xAxis: {
                    categories: [
                        'Nº Charlas ambientales',
                        'Nº personal capacitado'

                    ]
                },
                yAxis: {
                    min: 0,
                    title: {
                        text: '%'
                    }
                },
                legend: {
                    layout: 'vertical',
                    backgroundColor: '#FFFFFF',
                    align: 'left',
                    verticalAlign: 'top',
                    x: 100,
                    y: 70,
                    floating: true,
                    shadow: true
                },
                tooltip: {
                    formatter: function() {
                        return ''+
                            this.x +': '+ this.y +' mm';
                    }
                },
                plotOptions: {
                    column: {
                        pointPadding: 0.2,
                        borderWidth: 0
                    }
                },
                series: [{name: 'Semana',data: [12   , 321]  }, {name: 'Acum',data: [85, 65]}]
            });

this is my Highchart code

when I am using javascript variable

like this

  g311 = $("#g311").val();
        g312 = $("#g312").val();
        g321 = $("#g321").val();
        g322 = $("#g322").val();

and pass this in series

   series: [{name: 'Semana',data: [g311, g312]  }, {name: 'Acum',data: [g321, g322]}]

it is not showing me graph please give me some way how to pass jquery variable in series (not static or PHP variable)

Answer:1

This is my first attempt at writing a Firefox add-on. I'm trying to read a text file that is contained in an Firefox Add-on I'm writing. I'm following the example from MDN let decoder = new ...

This is my first attempt at writing a Firefox add-on. I'm trying to read a text file that is contained in an Firefox Add-on I'm writing. I'm following the example from MDN let decoder = new ...

  1. file // firefox open
  2. file firefox download
  3. file firefox bug
  4. file firefox passwords
  5. firefox file share
  6. firefox file transfer
  7. firefox file send
  8. firefox file hippo
  9. firefox file upload
  10. firefox file associations
  11. firefox file sender
  12. firefox file menu
  13. firefox file not found
  14. firefox file moved or missing
  15. firefox file manager
  16. firefox file location
  17. firefox file explorer
  18. firefox file browser
  19. firefox file drop
  20. firefox file url

This problem occurs in the stock browser included with at least Android 4.1.2 (not Mobile Chrome) and the WebView component in a cordova-based android app we're building. I've built a page with a ...

This problem occurs in the stock browser included with at least Android 4.1.2 (not Mobile Chrome) and the WebView component in a cordova-based android app we're building. I've built a page with a ...

  1. click event firing twice
  2. click event firing multiple times
  3. click event firing twice javascript
  4. click event firing on load
  5. click event firing on page load
  6. click event firing
  7. javascript click event firing multiple times
  8. knockout click event firing on load
  9. angular click event firing twice
  10. click event not firing
  11. javascript click event firing on load
  12. vue click event firing twice
  13. click event not firing jquery
  14. click event not firing javascript
  15. react click event firing twice
  16. ajax click event firing multiple times
  17. button click event firing multiple times
  18. vuejs click event firing twice
  19. click event not firing angular
  20. jquery click event firing on page load

I can't quite seem to get the SearchField to work in extJS. I want to implement it in the table toolbar, and perform the filter on my table store object. I have my require setup like this : Ext....

I can't quite seem to get the SearchField to work in extJS. I want to implement it in the table toolbar, and perform the filter on my table store object. I have my require setup like this : Ext....

  1. canvas
  2. canceled
  3. canceled vs cancelled
  4. canada
  5. cancun
  6. canada goose
  7. cane corso
  8. canes
  9. canadian prime minister
  10. canker sore
  11. cancun flights
  12. candy
  13. cancer
  14. canon
  15. canadian marble fox
  16. canvas prints
  17. cancer sign
  18. canlis
  19. candace owens
  20. candytopia

I'm trying to replace the standard javascript confirm with a twitter bootstrap modal window. Everything is almost working (the modal is shown with its confirm text), but I'm stuck trying to catch the ...

I'm trying to replace the standard javascript confirm with a twitter bootstrap modal window. Everything is almost working (the modal is shown with its confirm text), but I'm stuck trying to catch the ...