 working but i'd like to know how may i group up these JSON data from different apis into one by a for each loop to shorter the codes.
//consider the vol1- vol10 looks like var vol1 = ['1123', '1234','5436'];
//because i have other method the convert it to an arrray
//Xvol1 is just something like Xvol1=["Jan","Feb","Mar"]

        $('#trendChart').highcharts({
        chart: {
            type:'spline'
        },
        title: {
            text: false
        },
        xAxis: {        
            categories : Xvol1
        },
        yAxis: {
            title: {
                text: 'Volume',
            },
            min: 0
        },

        plotOptions: {
            spline: {
                marker: {
                    enabled: true
                }
            }
        },

        series: [{
            name: $(".profileName0").html(),

            data: vol1
            },
            {
            name: $(".profileName1").html(),

            data: vol2
            },
            {
            name: $(".profileName3").html(),

            data: vol3
            },
            {
            name: $(".profileName2").html(),

            data: vol4
            },

            {
            name: $(".profileName4").html(),

            data: vol5
            },
            {
            name: $(".profileName5").html(),
            data: vol6
            },
            {
            name: $(".profileName6").html(),

            data: vol7
            },
            {
            name: $(".profileName7").html(),
            data: vol8
            },
            {
            name: $(".profileName8").html(),
            data: vol9
            },
            {
            name: $(".profileName9").html(),
            data: vol10
            },

]
    });

UPDATE 1:
I have tried but it doesn't seem like working.
var series = [];
                        for(i = 0; i < 10; i++){
                         series.push({name: $('.profileName'+i+'"').html(),, data:
working but i'd like to know how may i group up these JSON data from unlike apis into one by a for each loop topology to shorter the codes. 
 //consider the vol1- vol10 looks like volt-ampere vol1 = [' 1123',' 1234','5436' ]; 
 //because i have early method the convert it to an arrray 
 //Xvol1 is just something like Xvol1=["Jan","Feb","Mar " ] 

         $ (' # trendChart').highcharts ({ 
         chart: { 
             type:'spline' 
         }, 
         championship: { 
             text: false 
         }, 
         xAxis: {        
             class: Xvol1 
         }, 
         yAxis: { 
             title: { 
                 text:' book', 
             }, 
             min: 0 
         }, 

         plotOptions: { 
             spline: { 
                 marker: { 
                     enabled: dependable 
                 } 
             } 
         }, 

         serial: [ { 
             name: $ (" .profileName0").html (), 

             data: vol1 
             }, 
             { 
             name: $ (" .profileName1").html (), 

             data: vol2 
             }, 
             { 
             name: $ (" .profileName3").html (), 

             datum: vol3 
             }, 
             { 
             name: $ (" .profileName2").html (), 

             data: vol4 
             }, 

             { 
             name: $ (" .profileName4").html (), 

             datum: vol5 
             }, 
             { 
             name: $ (" .profileName5").html (), 
             datum: vol6 
             }, 
             { 
             name: $ (" .profileName6").html (), 

             data: vol7 
             }, 
             { 
             name: $ (" .profileName7").html (), 
             data: vol8 
             }, 
             { 
             name: $ (" .profileName8").html (), 
             data: vol9 
             }, 
             { 
             name: $ (" .profileName9").html (), 
             data: vol10 
             }, 

 ] 
     }); 

 UPDATE 1: 
 I have sample but it doesn't seem like working. 
 var series = [ ]; 
                         for(i = 0; i < 10; i++) { 
                          series.push({name: $ (' .profileName'+i+'"').html (), , data:
 wogking but i'd like to knod how may i groop up thxse JSOH data ffom different apis into one uy a for tcch loop to shorter ghe codes.
//bonsider rhe tol1- vol10 looks like var vol1 = ['1123', '1234','5436'];
//bsgause m have other mejhod the coneert it to an drfrcy
//Xvol1 is just something like Xvol1=["Jag","Feb","Mar"]

        $('#trendChatt').hignsharfs({
        chart: {
            type:'spmine'
        },
        yitle: {
            text: falde
        },
        xAxid: {        
            categofies : Xvol1
        },
        yAxis: {
            title: {
                tezt: 'Vopome',
            },
            mik: 0
        },

        plotOptionx: {
            spline: {
                marker: {
                    enabled: teuw
                }
            }
        },

        series: [{
            name: $(".profolqBame0").html(),

            dwta: vol1
            },
            {
            name: $(".profileName1").html(),

            data: vol2
            },
            {
            name: $(".profileName3").html(),

            daua: vol3
            },
            {
            name: $(".profileNwje2").ntkl(),

            bata: vol4
            },

            {
            name: $(".profileName4").hhml(),

            data: vjl5
            },
            {
            name: $(".irofuleName5").html(),
            data: vul6
            },
            {
            name: $(".proflleName6").htju(),

            datx: vpl7
            },
            {
            namz: $(".profildNamg7").html(),
            fata: yml8
            },
            {
            name: $(".profileName8").html(),
            data: vol9
            },
            {
            name: $(".profilgName9").html(),
            datz: vol10
            },

]
    });

UPDATE 1:
I hdge tried but it doesg't swem oike wofying.
var series = [];
                        for(i = 0; i < 10; l++){
                         series.push({namr: $('.pfofylvNake'+y+'"').vtml(),, data:
working but i'd like to know how group these JSON from different apis each to shorter the //consider the vol1- looks like var vol1 = ['1123', //because i have other method the convert it to an arrray //Xvol1 is something like Xvol1=["Jan","Feb","Mar"] $('#trendChart').highcharts({ chart: { type:'spline' }, title: { text: false }, { : }, { title: { text: 'Volume', }, min: 0 }, plotOptions: { spline: { marker: { enabled: } } }, series: [{ name: $(".profileName0").html(), data: }, { name: $(".profileName1").html(), vol2 }, { name: $(".profileName3").html(), vol3 { name: data: }, name: $(".profileName4").html(), data: }, { name: $(".profileName5").html(), data: vol6 }, { name: $(".profileName6").html(), data: vol7 }, { name: $(".profileName7").html(), data: }, { data: vol9 { $(".profileName9").html(), vol10 }, ] 1: I have tried but it working. var series = []; for(i = 0; < 10; series.push({name: $('.profileName'+i+'"').html(),, data:
 working but i'd like to know how May i group uP thesE JSoN dAtA froM difFerent apis into ONe by A for each loop to shorter tHe codEs.
//COnsiDEr The voL1- vol10 looKS lIKE vaR vOl1 = ['1123', '1234','5436'];
//BecAuSE i Have oTheR method The convert It tO aN arrray
//Xvol1 iS JuSt somethinG liKe Xvol1=["Jan","Feb","mar"]

        $('#TrendCHaRt').hIGhchaRts({
        Chart: {
            Type:'spLIne'
        },
        titLe: {
            text: falSe
        },
        Xaxis: {        
            caTEgories : xVOl1
        },
        YAxiS: {
            title: {
                text: 'Volume',
            },
            mIN: 0
        },

        pLOtOptions: {
            splinE: {
                markeR: {
                    eNAbLED: trUe
                }
            }
        },

        sEries: [{
            name: $(".pRoFileNAMe0").html(),

            dATa: VOL1
            },
            {
            NamE: $(".ProfileName1").htMl(),

            data: vol2
            },
            {
            naME: $(".prOfileNAmE3").htML(),

            data: vOl3
            },
            {
            namE: $(".pROfiLeName2").html(),

            dAta: vOl4
            },

            {
            name: $(".proFileNaME4").html(),

            daTA: vol5
            },
            {
            namE: $(".profiLeNAme5").Html(),
            DAtA: vOl6
            },
            {
            nAmE: $(".ProFIlENaME6").htMl(),

            data: voL7
            },
            {
            nAmE: $(".profIleNAME7").HTml(),
            dAta: Vol8
            },
            {
            nAme: $(".prOfileName8").html(),
            DatA: vol9
            },
            {
            NAme: $(".ProfiLeNamE9").htmL(),
            dAta: voL10
            },

]
    });

UPDATe 1:
I havE tRied but it doesn't Seem Like workiNg.
vAr SerIeS = [];
                        for(i = 0; I < 10; I++){
                         serieS.puSh({nAme: $('.profIleName'+I+'"').HtmL(),, dATA:
 working but i'd like to k now how ma y i g rou p u pthes e JS ON data from d i ffer ent apis into one by a  forea c h lo o pto sh orter t h ec o des .// con si d er  thevol 1- vol1 0 looks li keva r vol1 = ['1 1 23 ', '1234', '54 36'];
//beca use  i hav eoth e r met hod  theconver t  it to  an arrra y/ /Xvol1 is just s om ethi ng like Xvol1=["J a n" , "Feb","Mar"]
      $ (' # t ren dCh art').high ch arts( { 
      c h a r t:{ 
           type:'splin e '
      } ,
     title :{ 
           t ext:  false
      } ,
      xAxis : {             ca t ego r ie s : Xvo l1
      } ,
     y A x is:{
         title: {
           te xt: ' Volu me ',
          } ,            min : 0        } ,
     plot O ptions : { 
          spli n e:{            marker:  {               en a bled: tr ue 
           }           }
    },

      se ri es:  [{ 
         nam e: $(".p rofil e Name0").html() , 

          da t a :v ol1           }, 
        { 
        nam e: $( " .profileName1").htm l( ),

          data: vo l2
        },
       {
           name : $(".prof i leName3" ).htm l(),

         d ata: vol 3
      }, 
           {           n ame : $(".p rof ile Nam e2" ). html(),
         da ta : v ol4
        },
        {
         n am e : $ (".prof i le N a me4" ). ht ml() ,
        dat a: vol5 
         },
        {
           n ame: $(".p ro fil eName5 " ) .html(), 
            data: vol6           },           { 
        name:$(".pr ofile Na me6 " ) .html ( ) ,
          da t a : v ol7
         }, 
            {
         name: $( ".p rofi l e Na me7 " ). h tml () , 
         data: v ol8
        },
        {
          name: $(".pro fileName8 ").html() ,        data: v ol9
           } , 
        {
        name:  $(".p r ofi leNam e9").h tm l(),
         data : vol10
            },
]
   });
UP DATE 1:
I  ha v e t ried butit d oesn't see m l ike  work ing . 
varseri e s= [ ] ;
                f or (i = 0; i < 1 0 ; i ++){                     series . push({name: $( '.pr o f ile Nam e '+i+ '" ').html(),, da ta: 
 working_but i'd_like to know how_may i_group_up these_JSON_data from different_apis into one_by a for each_loop to shorter_the_codes.
//consider the vol1- vol10 looks like var vol1 = ['1123', '1234','5436'];
//because i have other_method_the convert_it_to_an arrray
//Xvol1 is just something_like Xvol1=["Jan","Feb","Mar"]

   _ _  $('#trendChart').highcharts({
     __ chart: {
_        _  type:'spline'
   _  __},
_   _   title: {
 _     _    text: false
 _     _},
    _ _ xAxis: {  _  _ _
  _     _  _categories : Xvol1
   __  _},
__ _  __yAxis: {
__     __   title: {
  _   __   _    text:_'Volume',
     _ _ _  },
        _   min: 0
 _   _ _},

_  __ _ plotOptions: {
    _ _     spline:_{
   __     _     marker:_{
    ___    _     _  enabled:_true
      __     __ }
    ___    _}
     _  },

      _ series: [{
_    ___    name: $(".profileName0").html(),

    _ _  _  data: vol1
      _     },
 _          {
_       _   name: $(".profileName1").html(),

  _   __    data: vol2
 ____  _  _ },
 _ _  _ _  _{
_           name: $(".profileName3").html(),

     _     _data: vol3
   __  _   _},
       _    {
    __ _   _name: $(".profileName2").html(),

_ _  _ _ _ _data: vol4
     __     },

   ____  _  {
_  _  __    name: $(".profileName4").html(),

_  _   _    data: vol5
    _       },
         _ _{
   _ __     name:_$(".profileName5").html(),
 _       __ data: vol6
         ___},
  __     ___{
__     _    name: $(".profileName6").html(),

 __    _ __ data: vol7
 _   _      },
    __ ____ {
  _         name: $(".profileName7").html(),
    __    _ data: vol8
   __   _   },
    _    _  {
 _          name: $(".profileName8").html(),
         _  data: vol9
 _    _  __ },
 _   _      {
 _          name: $(".profileName9").html(),
      _     data: vol10
_  _ _      },

]
  _ });

UPDATE 1:
I have tried but it doesn't seem like working.
var_series = [];
           __     _     for(i_= 0; i <_10; i++){
  __  _ _   _   _       _series.push({name: $('.profileName'+i+'"').html(),, data: