var width = 836; var height = 500; var x1min = 0; var x1max = 1690; var x2min = 0; var x2max = 1690/3600; var y1min = 0; var y1max = 845; var y2min = 0; var y2max = 301; function handleMouseOver(d, i) { d3.select(this).attr({ fill: "orange", r: radius * 2 }); } function make_x_gridlines() { return d3.axisBottom(x).ticks(5) } function make_y_gridlines() { return d3.axisLeft(y).ticks(5) } var x = d3.scaleTime().range([70, width]); var y = d3.scaleLinear().rangeRound([height, 0]); var svg = d3.select("#chart").append("svg").attr("width", width).attr("height", height); svg.on("mousemove", function() { //console.log("x", xscale.invert(d3.mouse(this)[0] - 50)); //console.log("y", yscale.invert(d3.mouse(this)[1] - 10)); var cx = scale.invert(d3.mouse(this)[0] - 49.3); var cy = yscale.invert(d3.mouse(this)[1] - 23.5); //$("#cx").text(cx); //$("#cy").text(cy); //console.log(d3.event); enterFrame(cx, cy); //console.log("x - using invert", xscale.invert(d3.event.pageX)); //console.log("y- using invert", yscale.invert(d3.event.pageY)); }); var scale = d3.scaleLinear().domain([x1min, x1max]).range([22, width - 80]); var x_axis = d3.axisTop().scale(scale); var xAxisTranslate = height - 50; // przesuniecie scali x na dol svg.append("g").attr("class", "gray").attr("transform", "translate(48, " + xAxisTranslate +")").call(x_axis) var xscale = d3.scaleLinear().domain([x2min, x2max]).range([22, width - 80]); var x_axis = d3.axisBottom().scale(xscale); var xAxisTranslate = height - 50; // przesuniecie scali x na dol svg.append("g").attr("class", "gray graytext").attr("transform", "translate(48, " + xAxisTranslate +")").call(x_axis) var yscale = d3.scaleLinear().domain([y1min, y1max]).range([height - 100, 0]); var y_axis = d3.axisLeft().scale(yscale); svg.append("g").attr("transform", "translate(70, 20)").call(y_axis); //var yscale_right = d3.scaleLinear().domain([y2min, y2max]).range([height - 100, 0]); //var yr_axis = d3.axisRight().scale(yscale_right); //var yAxisTranslate = width - 31; // przesuniecie scali x na dol //svg.append("g").attr("class", "red").attr("transform", "translate(" + yAxisTranslate +", 20)").call(yr_axis); // siatki ciensze var yscale = d3.scaleLinear().domain([y1min, y1max]).range([height - 100, 0]); var grid = d3.axisLeft().scale(yscale).ticks(60) svg.append("g").attr("class", "grid2").attr("transform", "translate(70,20)").call(grid.tickSize(-(width-101)).tickFormat("")) // siatki var yscale = d3.scaleLinear().domain([y1min, y1max]).range([height - 100, 0]); var grid = d3.axisLeft().scale(yscale); svg.append("g").attr("class", "grid").attr("transform", "translate(70,20)").call(grid.tickSize(-(width-101)).tickFormat("")) // siatki var scale = d3.scaleLinear().domain([x1min, x1max]).range([22, width - 80]); var grid = d3.axisTop().scale(scale); svg.append("g").attr("class", "grid").attr("transform", "translate(48, 20)").call(grid.tickSize(-(height-100)).tickFormat("")) var n = 21; var xScale = d3.scaleLinear() .domain([x1min, x1max]) .range([70, width-30]); var yScale = d3.scaleLinear() .domain([y1min, y1max]) .range([height-100, 0]); svg.append("text").style("fill", "#555").style("font-size", "10px") .attr("font-family", "Rubik") .text("m3/s") .attr("x", function (d) { return 805; }) .attr("y", function (d) { return 465; }); svg.append("text").data([{ x: x1max - 50, y: -83 }]).style("fill", "#555").style("font-size", "10px") .attr("font-family", "Rubik") .text("m3/h") .attr("x", function (d) { return 805; }) .attr("y", function (d) { return 440; }); svg.append("text").data([{ x: -150, y: y1max - 25 }]).style("fill", "#555").style("font-size", "10px") .attr("font-family", "Rubik") .text("Pa") .attr("x", function (d) { return 50; }) .attr("y", function (d) { return 15; }); var line = d3.area() .x(function(d, i) { return xScale(d.x); }) .y(function(d) { return yScale(d.y); }) .curve(d3.curveMonotoneX) var area = d3.area() .x(function(d, i) { return xScale(d.x); }) .y0(height-100) .y1(function(d) { return yScale(d.y); }); var Arr_paramsA = new Array(); var Arr_paramsID = new Array(); var data_chart = []; var data_chart_name = []; var data_chart_area = []; let paramsPresureA = []; const getPressureDynamic_A2 = (diameterCalculating) => { let A2 = (1.2 * 62543.94) / Math.pow(diameterCalculating, 4); return A2; }; let is_total = 0; let diameterCalculating = null; diameterCalculating = 150; paramsPresureA = [290.0909090524658,-0.7092507446449838,0.002656277920500276,-5.933180813347126e-5,4.956087537123218e-7,-1.7262742347496524e-9,2.6907185576761356e-12,-1.568627225779644e-15]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(5969); data_chart[3482] = [{"x" : 0, "y" : 290.09090905246580405219},{"x" : 5, "y" : 286.60395020402069121701},{"x" : 10, "y" : 283.20948372507842805135},{"x" : 15, "y" : 279.87337524706424574106},{"x" : 20, "y" : 276.56769438388607795787},{"x" : 25, "y" : 273.27014099673311875449},{"x" : 30, "y" : 269.96349987651649371401},{"x" : 35, "y" : 266.63512322630634798770},{"x" : 40, "y" : 263.27644032611743796224},{"x" : 45, "y" : 259.88249376239764387719},{"x" : 50, "y" : 256.45150160456961430100},{"x" : 55, "y" : 252.98444491098291564413},{"x" : 60, "y" : 249.48467994662453861565},{"x" : 65, "y" : 245.95757449494573165794},{"x" : 70, "y" : 242.41016764615477541156},{"x" : 75, "y" : 238.85085244433000184472},{"x" : 80, "y" : 235.28908077570611112606},{"x" : 85, "y" : 231.73508988048683931993},{"x" : 90, "y" : 228.19964987053651839233},{"x" : 95, "y" : 224.69383163530420688403},{"x" : 100, "y" : 221.22879451833276220896},{"x" : 105, "y" : 217.81559314670650451262},{"x" : 110, "y" : 214.46500279579018410914},{"x" : 115, "y" : 211.18736267161202135867},{"x" : 120, "y" : 207.99243649324480998075},{"x" : 125, "y" : 204.88928975753657368841},{"x" : 130, "y" : 201.88618306854544925955},{"x" : 135, "y" : 198.99048091403042803904},{"x" : 140, "y" : 196.20857527135240161442},{"x" : 145, "y" : 193.54582342513691628483},{"x" : 150, "y" : 191.00649937905299680097},{"x" : 155, "y" : 188.59375824406032506886},{"x" : 160, "y" : 186.30961298547850901741},{"x" : 165, "y" : 184.15492291123061363578},{"x" : 170, "y" : 182.12939328361417778979},{"x" : 175, "y" : 180.23158543695362254766},{"x" : 180, "y" : 178.45893678348588196059},{"x" : 185, "y" : 176.80779008983338940197},{"x" : 190, "y" : 175.27343140641568197680},{"x" : 195, "y" : 173.85013603215540456404},{"x" : 200, "y" : 172.53122189682946441280},{"x" : 205, "y" : 171.30910974341836094936},{"x" : 210, "y" : 170.17538949280933024966},{"x" : 215, "y" : 169.12089217320178136106},{"x" : 220, "y" : 168.13576679657398926793},{"x" : 225, "y" : 167.20956156455758900847},{"x" : 230, "y" : 166.33130878607857994211},{"x" : 235, "y" : 165.48961288911414158065},{"x" : 240, "y" : 164.67274090892010462994},{"x" : 245, "y" : 163.86871483508002711460},{"x" : 250, "y" : 163.06540519973424352429},{"x" : 255, "y" : 162.25062528933324301761},{"x" : 260, "y" : 161.41222536227732575753},{"x" : 265, "y" : 160.53818625478919557281},{"x" : 270, "y" : 159.61671175737441785714},{"x" : 275, "y" : 158.63631914422828117495},{"x" : 280, "y" : 157.58592723792750689427},{"x" : 285, "y" : 156.45494139177901615767},{"x" : 290, "y" : 155.23333477216306164337},{"x" : 295, "y" : 153.91172532323219002137},{"x" : 300, "y" : 152.48144779631860501468},{"x" : 305, "y" : 150.93462022639175756922},{"x" : 310, "y" : 149.26420423794553471453},{"x" : 315, "y" : 147.46405856263100986325},{"x" : 320, "y" : 145.52898515102526744158},{"x" : 325, "y" : 143.45476726085712471104},{"x" : 330, "y" : 141.23819890407253296871},{"x" : 335, "y" : 138.87710503506286841002},{"x" : 340, "y" : 136.37035186243292628205},{"x" : 345, "y" : 133.71784666665291751997},{"x" : 350, "y" : 130.92052650594337137591},{"x" : 355, "y" : 127.98033519274895297713},{"x" : 360, "y" : 124.90018792316050166846},{"x" : 365, "y" : 121.68392294163118094730},{"x" : 370, "y" : 118.33623962333194867824},{"x" : 375, "y" : 114.86262235652679919440},{"x" : 380, "y" : 111.26924960729502345202},{"x" : 385, "y" : 107.56288754894421799690},{"x" : 390, "y" : 103.75076763851848227205},{"x" : 395, "y" : 99.84044752269164746394},{"x" : 400, "y" : 95.83965465543769823853},{"x" : 405, "y" : 91.75611200982802984072},{"x" : 410, "y" : 87.59734526629154061084},{"x" : 415, "y" : 83.37047085970789339626},{"x" : 420, "y" : 79.08196426765971409623},{"x" : 425, "y" : 74.73740792226180928992},{"x" : 430, "y" : 70.34121812783541827230},{"x" : 435, "y" : 65.89635036683102953248},{"x" : 440, "y" : 61.40398237633507960709},{"x" : 445, "y" : 56.86317437755224091234},{"x" : 450, "y" : 52.27050584055632498348},{"x" : 455, "y" : 47.61968816668741055764},{"x" : 460, "y" : 42.90115267097007745178},{"x" : 465, "y" : 38.10161324690670880955},{"x" : 470, "y" : 33.20360309589250391582},{"x" : 475, "y" : 28.18498490382989984937},{"x" : 480, "y" : 23.01843384704079653602},{"x" : 485, "y" : 17.67089280998334288597},{"x" : 490, "y" : 12.10299919714816496707},{"x" : 495, "y" : 6.26848272131428529974},{"x" : 500, "y" : 0.11353355076244042721}]; data_chart_name[3482] = "HS"; data_chart_area[3482] = new Array(); if ((data_chart[3482][0].x != undefined && parseFloat(data_chart[3482][0].x))) { var a_before = parseFloat(data_chart[3482][0].y) / (parseFloat(data_chart[3482][0].x) * parseFloat(data_chart[3482][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[3482][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[3482].push({x: _x, y: _y}); } } var last_index = data_chart[3482].length; for(var b = 0; b < last_index; b++) { data_chart_area[3482].push(data_chart[3482][b]); } last_index = last_index - 1; if (data_chart[3482][last_index].y != undefined && parseFloat(data_chart[3482][last_index].y) > 5) { var a_after = parseFloat(data_chart[3482][last_index].y) / (parseFloat(data_chart[3482][last_index].x) * parseFloat(data_chart[3482][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[3482][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[3482].push({x: _x, y: _y}); } } var dataset_3482 = [{"x" : 0, "y" : 290.09090905246580405219},{"x" : 5, "y" : 286.60395020402069121701},{"x" : 10, "y" : 283.20948372507842805135},{"x" : 15, "y" : 279.87337524706424574106},{"x" : 20, "y" : 276.56769438388607795787},{"x" : 25, "y" : 273.27014099673311875449},{"x" : 30, "y" : 269.96349987651649371401},{"x" : 35, "y" : 266.63512322630634798770},{"x" : 40, "y" : 263.27644032611743796224},{"x" : 45, "y" : 259.88249376239764387719},{"x" : 50, "y" : 256.45150160456961430100},{"x" : 55, "y" : 252.98444491098291564413},{"x" : 60, "y" : 249.48467994662453861565},{"x" : 65, "y" : 245.95757449494573165794},{"x" : 70, "y" : 242.41016764615477541156},{"x" : 75, "y" : 238.85085244433000184472},{"x" : 80, "y" : 235.28908077570611112606},{"x" : 85, "y" : 231.73508988048683931993},{"x" : 90, "y" : 228.19964987053651839233},{"x" : 95, "y" : 224.69383163530420688403},{"x" : 100, "y" : 221.22879451833276220896},{"x" : 105, "y" : 217.81559314670650451262},{"x" : 110, "y" : 214.46500279579018410914},{"x" : 115, "y" : 211.18736267161202135867},{"x" : 120, "y" : 207.99243649324480998075},{"x" : 125, "y" : 204.88928975753657368841},{"x" : 130, "y" : 201.88618306854544925955},{"x" : 135, "y" : 198.99048091403042803904},{"x" : 140, "y" : 196.20857527135240161442},{"x" : 145, "y" : 193.54582342513691628483},{"x" : 150, "y" : 191.00649937905299680097},{"x" : 155, "y" : 188.59375824406032506886},{"x" : 160, "y" : 186.30961298547850901741},{"x" : 165, "y" : 184.15492291123061363578},{"x" : 170, "y" : 182.12939328361417778979},{"x" : 175, "y" : 180.23158543695362254766},{"x" : 180, "y" : 178.45893678348588196059},{"x" : 185, "y" : 176.80779008983338940197},{"x" : 190, "y" : 175.27343140641568197680},{"x" : 195, "y" : 173.85013603215540456404},{"x" : 200, "y" : 172.53122189682946441280},{"x" : 205, "y" : 171.30910974341836094936},{"x" : 210, "y" : 170.17538949280933024966},{"x" : 215, "y" : 169.12089217320178136106},{"x" : 220, "y" : 168.13576679657398926793},{"x" : 225, "y" : 167.20956156455758900847},{"x" : 230, "y" : 166.33130878607857994211},{"x" : 235, "y" : 165.48961288911414158065},{"x" : 240, "y" : 164.67274090892010462994},{"x" : 245, "y" : 163.86871483508002711460},{"x" : 250, "y" : 163.06540519973424352429},{"x" : 255, "y" : 162.25062528933324301761},{"x" : 260, "y" : 161.41222536227732575753},{"x" : 265, "y" : 160.53818625478919557281},{"x" : 270, "y" : 159.61671175737441785714},{"x" : 275, "y" : 158.63631914422828117495},{"x" : 280, "y" : 157.58592723792750689427},{"x" : 285, "y" : 156.45494139177901615767},{"x" : 290, "y" : 155.23333477216306164337},{"x" : 295, "y" : 153.91172532323219002137},{"x" : 300, "y" : 152.48144779631860501468},{"x" : 305, "y" : 150.93462022639175756922},{"x" : 310, "y" : 149.26420423794553471453},{"x" : 315, "y" : 147.46405856263100986325},{"x" : 320, "y" : 145.52898515102526744158},{"x" : 325, "y" : 143.45476726085712471104},{"x" : 330, "y" : 141.23819890407253296871},{"x" : 335, "y" : 138.87710503506286841002},{"x" : 340, "y" : 136.37035186243292628205},{"x" : 345, "y" : 133.71784666665291751997},{"x" : 350, "y" : 130.92052650594337137591},{"x" : 355, "y" : 127.98033519274895297713},{"x" : 360, "y" : 124.90018792316050166846},{"x" : 365, "y" : 121.68392294163118094730},{"x" : 370, "y" : 118.33623962333194867824},{"x" : 375, "y" : 114.86262235652679919440},{"x" : 380, "y" : 111.26924960729502345202},{"x" : 385, "y" : 107.56288754894421799690},{"x" : 390, "y" : 103.75076763851848227205},{"x" : 395, "y" : 99.84044752269164746394},{"x" : 400, "y" : 95.83965465543769823853},{"x" : 405, "y" : 91.75611200982802984072},{"x" : 410, "y" : 87.59734526629154061084},{"x" : 415, "y" : 83.37047085970789339626},{"x" : 420, "y" : 79.08196426765971409623},{"x" : 425, "y" : 74.73740792226180928992},{"x" : 430, "y" : 70.34121812783541827230},{"x" : 435, "y" : 65.89635036683102953248},{"x" : 440, "y" : 61.40398237633507960709},{"x" : 445, "y" : 56.86317437755224091234},{"x" : 450, "y" : 52.27050584055632498348},{"x" : 455, "y" : 47.61968816668741055764},{"x" : 460, "y" : 42.90115267097007745178},{"x" : 465, "y" : 38.10161324690670880955},{"x" : 470, "y" : 33.20360309589250391582},{"x" : 475, "y" : 28.18498490382989984937},{"x" : 480, "y" : 23.01843384704079653602},{"x" : 485, "y" : 17.67089280998334288597},{"x" : 490, "y" : 12.10299919714816496707},{"x" : 495, "y" : 6.26848272131428529974},{"x" : 500, "y" : 0.11353355076244042721}]; var dataset_area_3482 = data_chart_area[3482]; svg.append("path") .attr("transform", "translate(0, 20)") .datum(dataset_area_3482) .attr("class", "area") .attr("id", "area_5969") .style('fill-opacity', 0) .attr("fill", "#5c4564") .on('mouseover', function(d, i) { selectItemGraph(5969) }) .attr("d", area); svg.append("path") .attr("transform", "translate(0, 20)") .attr("id", "path_5969") .datum(dataset_3482) .attr("class", "line") .attr("d", line); diameterCalculating = 150; paramsPresureA = [230.0520361943759,-0.2507609383914804,-0.017574401768073233,0.000273418454210319,-1.8758028378510986e-6,6.580145578151254e-9,-1.1541138225224874e-11,7.998943003805369e-15]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(5969); data_chart[3484] = [{"x" : 0, "y" : 230.05203619437588713481},{"x" : 4.2, "y" : 228.70850967606767767393},{"x" : 8.4, "y" : 226.85858280828810507046},{"x" : 12.6, "y" : 224.60404088338950145953},{"x" : 16.8, "y" : 222.03462721120067158154},{"x" : 21, "y" : 219.22896414845112644798},{"x" : 25.2, "y" : 216.25543130466584784699},{"x" : 29.4, "y" : 213.17300185394202571842},{"x" : 33.6, "y" : 210.03203788201884094633},{"x" : 37.8, "y" : 206.87504569805301457563},{"x" : 42, "y" : 203.73739204051128126594},{"x" : 46.2, "y" : 200.64798210659157007285},{"x" : 50.4, "y" : 197.62990033458518723819},{"x" : 54.6, "y" : 194.70101486859115880179},{"x" : 58.8, "y" : 191.87454663499516982483},{"x" : 63, "y" : 189.15960396012360433815},{"x" : 67.2, "y" : 186.56168365848682810793},{"x" : 71.4, "y" : 184.08313952102042776460},{"x" : 75.6, "y" : 181.72361913273860523077},{"x" : 79.8, "y" : 179.48046994921122632149},{"x" : 84, "y" : 177.34911556127408971406},{"x" : 88.2, "y" : 175.32340307738769524804},{"x" : 92.4, "y" : 173.39592255305294088430},{"x" : 96.6, "y" : 171.55829939669825989768},{"x" : 100.8, "y" : 169.80146068144770765684},{"x" : 105, "y" : 168.11587629218374217999},{"x" : 109.2, "y" : 166.49177583731440677184},{"x" : 113.4, "y" : 164.91934225465917052134},{"x" : 117.6, "y" : 163.38888304086302127871},{"x" : 121.8, "y" : 161.89098003375099210643},{"x" : 126, "y" : 160.41661867703703592269},{"x" : 130.2, "y" : 158.95729769679556397932},{"x" : 134.4, "y" : 157.50512011910967657968},{"x" : 138.6, "y" : 156.05286655830803965728},{"x" : 142.8, "y" : 154.59405170520102501541},{"x" : 147, "y" : 153.12296494472809627041},{"x" : 151.2, "y" : 151.63469603242918992692},{"x" : 155.4, "y" : 150.12514675915033990350},{"x" : 159.6, "y" : 148.59102953339723285353},{"x" : 163.8, "y" : 147.02985381074654469558},{"x" : 168, "y" : 145.43990129972758040822},{"x" : 172.2, "y" : 143.82019087358762021722},{"x" : 176.4, "y" : 142.17043411734906044330},{"x" : 180.6, "y" : 140.49098243957365639289},{"x" : 184.8, "y" : 138.78276667824457035749},{"x" : 189, "y" : 137.04723013017726884755},{"x" : 193.2, "y" : 135.28625593336900578834},{"x" : 197.4, "y" : 133.50208973170776971529},{"x" : 201.6, "y" : 131.69725855143974513339},{"x" : 205.8, "y" : 129.87448681881298284679},{"x" : 210, "y" : 128.03661044831372350927},{"x" : 214.2, "y" : 126.18648993090266685613},{"x" : 218.4, "y" : 124.32692335165373265227},{"x" : 222.6, "y" : 122.46056026623190859937},{"x" : 226.8, "y" : 120.58981736559115915952},{"x" : 231, "y" : 118.71679685833316852950},{"x" : 235.2, "y" : 116.84320850010624326387},{"x" : 239.4, "y" : 114.97029619949677226032},{"x" : 243.6, "y" : 113.09877012979291066586},{"x" : 247.8, "y" : 111.22874527603681826804},{"x" : 252, "y" : 109.35968734678624514345},{"x" : 256.2, "y" : 107.49036698001100376132},{"x" : 260.4, "y" : 105.61882317248478102556},{"x" : 264.6, "y" : 103.74233686214972749440},{"x" : 268.8, "y" : 101.85741559281439094775},{"x" : 273, "y" : 99.95979019063554460445},{"x" : 277.2, "y" : 98.04442438175510687870},{"x" : 281.4, "y" : 96.10553828053275537968},{"x" : 285.6, "y" : 94.13664667778994044056},{"x" : 289.8, "y" : 92.13061305845872084319},{"x" : 294, "y" : 90.07972027804248682514},{"x" : 298.2, "y" : 87.97575882733008256764},{"x" : 302.4, "y" : 85.81013361474902012560},{"x" : 306.6, "y" : 83.57399019577474064135},{"x" : 310.8, "y" : 81.25836137882924958831},{"x" : 315, "y" : 78.85433513702537311474},{"x" : 319.2, "y" : 76.35324475523293585866},{"x" : 323.4, "y" : 73.74688214186699042330},{"x" : 327.6, "y" : 71.02773523474797912058},{"x" : 331.8, "y" : 68.18925043053286572103},{"x" : 336, "y" : 65.22612096705597650725},{"x" : 340.2, "y" : 62.13460218806903867517},{"x" : 344.4, "y" : 58.91285461964707792504},{"x" : 348.6, "y" : 55.56131578794884262607},{"x" : 352.8, "y" : 52.08310170736513100564},{"x" : 357, "y" : 48.48443896877415681956},{"x" : 361.2, "y" : 44.77512835724064643728},{"x" : 365.4, "y" : 40.96904092845034028869},{"x" : 369.6, "y" : 37.08464747342350165127},{"x" : 373.8, "y" : 33.14558230091643054038},{"x" : 378, "y" : 29.18124226677900878713},{"x" : 382.2, "y" : 25.22742197988009138498},{"x" : 386.4, "y" : 21.32698611390514997765},{"x" : 390.6, "y" : 17.53057975437877757940},{"x" : 394.8, "y" : 13.89737771042746317107},{"x" : 399, "y" : 10.49587372077621694189},{"x" : 403.2, "y" : 7.40471048300423717592},{"x" : 407.4, "y" : 4.71355143608161597513},{"x" : 411.6, "y" : 2.52399522492851247080},{"x" : 415.8, "y" : 0.95053377705335151404},{"x" : 420, "y" : 0.12155492008241708390}]; data_chart_name[3484] = "MS"; data_chart_area[3484] = new Array(); if ((data_chart[3484][0].x != undefined && parseFloat(data_chart[3484][0].x))) { var a_before = parseFloat(data_chart[3484][0].y) / (parseFloat(data_chart[3484][0].x) * parseFloat(data_chart[3484][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[3484][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[3484].push({x: _x, y: _y}); } } var last_index = data_chart[3484].length; for(var b = 0; b < last_index; b++) { data_chart_area[3484].push(data_chart[3484][b]); } last_index = last_index - 1; if (data_chart[3484][last_index].y != undefined && parseFloat(data_chart[3484][last_index].y) > 5) { var a_after = parseFloat(data_chart[3484][last_index].y) / (parseFloat(data_chart[3484][last_index].x) * parseFloat(data_chart[3484][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[3484][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[3484].push({x: _x, y: _y}); } } diameterCalculating = 150; paramsPresureA = [180.0188605402102,-0.6280958178913283,-0.0003141693946313113,6.150393595509095e-5,-6.538051389948663e-7,2.7713869557938515e-9,-5.374859237944463e-12,3.999822585180961e-15]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(5969); data_chart[3486] = [{"x" : 0, "y" : 180.01886054021019845095},{"x" : 3.4, "y" : 177.88203419245138547922},{"x" : 6.8, "y" : 175.75126243139641246671},{"x" : 10.2, "y" : 173.63808846217455084115},{"x" : 13.6, "y" : 171.55224803145321743614},{"x" : 17, "y" : 169.50180593775760939934},{"x" : 20.4, "y" : 167.49328688120067454292},{"x" : 23.8, "y" : 165.53180075850653452108},{"x" : 27.2, "y" : 163.62116250920925608625},{"x" : 30.6, "y" : 161.76400661890855303682},{"x" : 34, "y" : 159.96189638546681521802},{"x" : 37.4, "y" : 158.21542805402799558578},{"x" : 40.8, "y" : 156.52432992674096112751},{"x" : 44.2, "y" : 154.88755655307076608551},{"x" : 47.6, "y" : 153.30337810657982799967},{"x" : 51, "y" : 151.76946505405956600043},{"x" : 54.4, "y" : 150.28296822289848932996},{"x" : 57.8, "y" : 148.84059437256530600280},{"x" : 61.2, "y" : 147.43867737609210166738},{"x" : 64.6, "y" : 146.07324511743908601602},{"x" : 68, "y" : 144.74008221062231882570},{"x" : 71.4, "y" : 143.43478864648892567857},{"x" : 74.8, "y" : 142.15283447301993646761},{"x" : 78.2, "y" : 140.88961061504494409746},{"x" : 81.6, "y" : 139.64047593924939860699},{"x" : 85, "y" : 138.40080067035833621958},{"x" : 88.4, "y" : 137.16600626437789856027},{"x" : 91.8, "y" : 135.93160184477747520759},{"x" : 95.2, "y" : 134.69321730749481957901},{"x" : 98.6, "y" : 133.44663320064626077510},{"x" : 102, "y" : 132.18780748482487297224},{"x" : 105.4, "y" : 130.91289927986838392826},{"x" : 108.8, "y" : 129.61828970397974103435},{"x" : 112.2, "y" : 128.30059991108228700796},{"x" : 115.6, "y" : 126.95670643229227891879},{"x" : 119, "y" : 125.58375392739074527526},{"x" : 122.4, "y" : 124.17916545217752855024},{"x" : 125.8, "y" : 122.74065034758955050620},{"x" : 129.2, "y" : 121.26620985646546557746},{"x" : 132.6, "y" : 119.75414057383990495964},{"x" : 136, "y" : 118.20303583664869506720},{"x" : 139.4, "y" : 116.61178515872813932219},{"x" : 142.8, "y" : 114.97957181699051432133},{"x" : 146.2, "y" : 113.30586869465784616295},{"x" : 149.6, "y" : 111.59043248743708431903},{"x" : 153, "y" : 109.83329637851802829118},{"x" : 156.4, "y" : 108.03476128827770708085},{"x" : 159.8, "y" : 106.19538580457194143492},{"x" : 163.2, "y" : 104.31597489949822943345},{"x" : 166.6, "y" : 102.39756753851106907405},{"x" : 170, "y" : 100.44142328777203942991},{"x" : 173.4, "y" : 98.44900802561839725513},{"x" : 176.8, "y" : 96.42197886403116058318},{"x" : 180.2, "y" : 94.36216838598495826318},{"x" : 183.6, "y" : 92.27156830456434022381},{"x" : 187, "y" : 90.15231264972473468333},{"x" : 190.4, "y" : 88.00666058858503504325},{"x" : 193.8, "y" : 85.83697898513071322668},{"x" : 197.2, "y" : 83.64572480521209740800},{"x" : 200.6, "y" : 81.43542747271904147510},{"x" : 204, "y" : 79.20867128281248881194},{"x" : 207.4, "y" : 76.96807797810269846650},{"x" : 210.8, "y" : 74.71628959364319655378},{"x" : 214.2, "y" : 72.45595167664008329211},{"x" : 217.6, "y" : 70.18969698674223423041},{"x" : 221, "y" : 67.92012978280591539715},{"x" : 224.4, "y" : 65.64981080201209806546},{"x" : 227.8, "y" : 63.38124303722037211628},{"x" : 231.2, "y" : 61.11685841843711841648},{"x" : 234.6, "y" : 58.85900550429181521395},{"x" : 238, "y" : 56.60993828938370597825},{"x" : 241.4, "y" : 54.37180623340790930342},{"x" : 244.8, "y" : 52.14664561791838082172},{"x" : 248.2, "y" : 49.93637233662661856215},{"x" : 251.6, "y" : 47.74277622510794572008},{"x" : 255, "y" : 45.56751703580641787994},{"x" : 258.4, "y" : 43.41212216421661196364},{"x" : 261.8, "y" : 41.27798623212004258676},{"x" : 265.2, "y" : 39.16637263377288036281},{"x" : 268.6, "y" : 37.07841715090142997724},{"x" : 272, "y" : 35.01513374242944109938},{"x" : 275.4, "y" : 32.97742261476503244921},{"x" : 278.8, "y" : 30.96608067858107915526},{"x" : 282.2, "y" : 28.98181449794026320887},{"x" : 285.6, "y" : 27.02525583765577721351},{"x" : 289, "y" : 25.09697991477514733560},{"x" : 292.4, "y" : 23.19752646005633778259},{"x" : 295.8, "y" : 21.32742369534105364437},{"x" : 299.2, "y" : 19.48721533267234917730},{"x" : 302.6, "y" : 17.67749070108743580931},{"x" : 306, "y" : 15.89891810691472073813},{"x" : 309.4, "y" : 14.15228153350403772492},{"x" : 312.8, "y" : 12.43852078622830958921},{"x" : 316.2, "y" : 10.75877518869810955948},{"x" : 319.6, "y" : 9.11443093600087195227},{"x" : 323, "y" : 7.50717221089325903449},{"x" : 326.4, "y" : 5.93903616883585527830},{"x" : 329.8, "y" : 4.41247189770979275636},{"x" : 333.2, "y" : 2.93040345813847125100},{"x" : 336.6, "y" : 1.49629711026614131697},{"x" : 340, "y" : 0.11423283291469488177}]; data_chart_name[3486] = "LS"; data_chart_area[3486] = new Array(); if ((data_chart[3486][0].x != undefined && parseFloat(data_chart[3486][0].x))) { var a_before = parseFloat(data_chart[3486][0].y) / (parseFloat(data_chart[3486][0].x) * parseFloat(data_chart[3486][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[3486][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[3486].push({x: _x, y: _y}); } } var last_index = data_chart[3486].length; for(var b = 0; b < last_index; b++) { data_chart_area[3486].push(data_chart[3486][b]); } last_index = last_index - 1; if (data_chart[3486][last_index].y != undefined && parseFloat(data_chart[3486][last_index].y) > 5) { var a_after = parseFloat(data_chart[3486][last_index].y) / (parseFloat(data_chart[3486][last_index].x) * parseFloat(data_chart[3486][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[3486][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[3486].push({x: _x, y: _y}); } } diameterCalculating = 150; paramsPresureA = [225.21822281040687,-1.095470383663746,0.022752122011336147,-0.0002195839935057759,1.0423153705979335e-6,-2.5783819195899118e-9,3.1678061055356528e-12,-1.5300655627292752e-15]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(17136); data_chart[19545] = [{"x" : 0, "y" : 225.21822281040687130371},{"x" : 5.3, "y" : 220.01945760240474214697},{"x" : 10.6, "y" : 215.91395553948359520291},{"x" : 15.9, "y" : 212.73359850363667078454},{"x" : 21.2, "y" : 210.32752704302660617941},{"x" : 26.5, "y" : 208.56096981345868357494},{"x" : 31.8, "y" : 207.31412085513372289824},{"x" : 37.1, "y" : 206.48106379880081817646},{"x" : 42.4, "y" : 205.96874209542551170671},{"x" : 47.7, "y" : 205.69597436349357622021},{"x" : 53, "y" : 205.59251394806642565527},{"x" : 58.3, "y" : 205.59815178570715943351},{"x" : 63.6, "y" : 205.66186166939473878301},{"x" : 68.9, "y" : 205.74098700754490209874},{"x" : 74.2, "y" : 205.80046817125466418474},{"x" : 79.5, "y" : 205.81210952388877899466},{"x" : 84.8, "y" : 205.75388522712705707818},{"x" : 90.1, "y" : 205.60928291758870045669},{"x" : 95.4, "y" : 205.36668434815277350936},{"x" : 100.7, "y" : 205.01878208809330317308},{"x" : 106, "y" : 204.56203137614423326340},{"x" : 111.3, "y" : 203.99613622061607998148},{"x" : 116.6, "y" : 203.32356884067883129319},{"x" : 121.9, "y" : 202.54912154293097614755},{"x" : 127.2, "y" : 201.67949012737142311380},{"x" : 132.5, "y" : 200.72288791689354070513},{"x" : 137.8, "y" : 199.68868950441793685968},{"x" : 143.1, "y" : 198.58710331178255614759},{"x" : 148.4, "y" : 197.42887205450801957340},{"x" : 153.7, "y" : 196.22500020655633079514},{"x" : 159, "y" : 194.98650755919939570049},{"x" : 164.3, "y" : 193.72420796811860554953},{"x" : 169.6, "y" : 192.44851238284920214028},{"x" : 174.9, "y" : 191.16925525269033414588},{"x" : 180.2, "y" : 189.89554340319872949294},{"x" : 185.5, "y" : 188.63562647738032751477},{"x" : 190.8, "y" : 187.39678803570399168166},{"x" : 196.1, "y" : 186.18525640905050977381},{"x" : 201.4, "y" : 185.00613439871187893004},{"x" : 206.7, "y" : 183.86334691757210180185},{"x" : 212, "y" : 182.75960566656826244980},{"x" : 217.3, "y" : 181.69638994056666092547},{"x" : 222.6, "y" : 180.67394265776201223161},{"x" : 227.9, "y" : 179.69128070672286412446},{"x" : 233.2, "y" : 178.74621870519587218951},{"x" : 238.5, "y" : 177.83540526479362142709},{"x" : 243.8, "y" : 176.95437085567704116329},{"x" : 249.1, "y" : 176.09758636535704567905},{"x" : 254.4, "y" : 175.25853144572613473429},{"x" : 259.7, "y" : 174.42977174244657589952},{"x" : 265, "y" : 173.60304410079913850495},{"x" : 270.3, "y" : 172.76934884213466148140},{"x" : 275.6, "y" : 171.91904820501241601960},{"x" : 280.9, "y" : 171.04197004517993718764},{"x" : 286.2, "y" : 170.12751588847609696131},{"x" : 291.5, "y" : 169.16477243081106962563},{"x" : 296.8, "y" : 168.14262557931147057388},{"x" : 302.1, "y" : 167.04987612876385583149},{"x" : 307.4, "y" : 165.87535616747805988780},{"x" : 312.7, "y" : 164.60804530666149503304},{"x" : 318, "y" : 163.23718582747045502401},{"x" : 323.3, "y" : 161.75239583980464885826},{"x" : 328.6, "y" : 160.14377954700353257067},{"x" : 333.9, "y" : 158.40203371053132741508},{"x" : 339.2, "y" : 156.51854940878195066034},{"x" : 344.5, "y" : 154.48550818415117191762},{"x" : 349.8, "y" : 152.29597167241422539519},{"x" : 355.1, "y" : 149.94396380864327511517},{"x" : 360.4, "y" : 147.42454470363850305148},{"x" : 365.7, "y" : 144.73387528514922450995},{"x" : 371, "y" : 141.86927179785357111541},{"x" : 376.3, "y" : 138.82924925634529245144},{"x" : 381.6, "y" : 135.61355294514760316815},{"x" : 386.9, "y" : 132.22317705990303693397},{"x" : 392.2, "y" : 128.66036958388895072858},{"x" : 397.5, "y" : 124.92862249393238016637},{"x" : 402.8, "y" : 121.03264638988048318424},{"x" : 408.1, "y" : 116.97832864171186884050},{"x" : 413.4, "y" : 112.77267414838115655584},{"x" : 418.7, "y" : 108.42372780265714027337},{"x" : 424, "y" : 103.94047775584431292373},{"x" : 429.3, "y" : 99.33273857671792939072},{"x" : 434.6, "y" : 94.61101339865126647055},{"x" : 439.9, "y" : 89.78633414916475885548},{"x" : 445.2, "y" : 84.87007895587430539308},{"x" : 450.5, "y" : 79.87376582309843797702},{"x" : 455.8, "y" : 74.80882167313029640354},{"x" : 461.1, "y" : 69.68632584644092275994},{"x" : 466.4, "y" : 64.51672715465792862233},{"x" : 471.7, "y" : 59.30953358084479987156},{"x" : 477, "y" : 54.07297372070024721324},{"x" : 482.3, "y" : 48.81362905937385221478},{"x" : 487.6, "y" : 43.53603617734370345715},{"x" : 492.9, "y" : 38.24225798018778732512},{"x" : 498.2, "y" : 32.93142304576394963078},{"x" : 503.5, "y" : 27.59923218327276117634},{"x" : 508.8, "y" : 22.23743129815738939214},{"x" : 514.1, "y" : 16.83324965715110010933},{"x" : 519.4, "y" : 11.36880264730098133441},{"x" : 524.7, "y" : 5.82045812322394340299},{"x" : 530, "y" : 0.15816543693654239178}]; data_chart_name[19545] = "HS"; data_chart_area[19545] = new Array(); if ((data_chart[19545][0].x != undefined && parseFloat(data_chart[19545][0].x))) { var a_before = parseFloat(data_chart[19545][0].y) / (parseFloat(data_chart[19545][0].x) * parseFloat(data_chart[19545][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[19545][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[19545].push({x: _x, y: _y}); } } var last_index = data_chart[19545].length; for(var b = 0; b < last_index; b++) { data_chart_area[19545].push(data_chart[19545][b]); } last_index = last_index - 1; if (data_chart[19545][last_index].y != undefined && parseFloat(data_chart[19545][last_index].y) > 5) { var a_after = parseFloat(data_chart[19545][last_index].y) / (parseFloat(data_chart[19545][last_index].x) * parseFloat(data_chart[19545][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[19545][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[19545].push({x: _x, y: _y}); } } var dataset_19545 = [{"x" : 0, "y" : 225.21822281040687130371},{"x" : 5.3, "y" : 220.01945760240474214697},{"x" : 10.6, "y" : 215.91395553948359520291},{"x" : 15.9, "y" : 212.73359850363667078454},{"x" : 21.2, "y" : 210.32752704302660617941},{"x" : 26.5, "y" : 208.56096981345868357494},{"x" : 31.8, "y" : 207.31412085513372289824},{"x" : 37.1, "y" : 206.48106379880081817646},{"x" : 42.4, "y" : 205.96874209542551170671},{"x" : 47.7, "y" : 205.69597436349357622021},{"x" : 53, "y" : 205.59251394806642565527},{"x" : 58.3, "y" : 205.59815178570715943351},{"x" : 63.6, "y" : 205.66186166939473878301},{"x" : 68.9, "y" : 205.74098700754490209874},{"x" : 74.2, "y" : 205.80046817125466418474},{"x" : 79.5, "y" : 205.81210952388877899466},{"x" : 84.8, "y" : 205.75388522712705707818},{"x" : 90.1, "y" : 205.60928291758870045669},{"x" : 95.4, "y" : 205.36668434815277350936},{"x" : 100.7, "y" : 205.01878208809330317308},{"x" : 106, "y" : 204.56203137614423326340},{"x" : 111.3, "y" : 203.99613622061607998148},{"x" : 116.6, "y" : 203.32356884067883129319},{"x" : 121.9, "y" : 202.54912154293097614755},{"x" : 127.2, "y" : 201.67949012737142311380},{"x" : 132.5, "y" : 200.72288791689354070513},{"x" : 137.8, "y" : 199.68868950441793685968},{"x" : 143.1, "y" : 198.58710331178255614759},{"x" : 148.4, "y" : 197.42887205450801957340},{"x" : 153.7, "y" : 196.22500020655633079514},{"x" : 159, "y" : 194.98650755919939570049},{"x" : 164.3, "y" : 193.72420796811860554953},{"x" : 169.6, "y" : 192.44851238284920214028},{"x" : 174.9, "y" : 191.16925525269033414588},{"x" : 180.2, "y" : 189.89554340319872949294},{"x" : 185.5, "y" : 188.63562647738032751477},{"x" : 190.8, "y" : 187.39678803570399168166},{"x" : 196.1, "y" : 186.18525640905050977381},{"x" : 201.4, "y" : 185.00613439871187893004},{"x" : 206.7, "y" : 183.86334691757210180185},{"x" : 212, "y" : 182.75960566656826244980},{"x" : 217.3, "y" : 181.69638994056666092547},{"x" : 222.6, "y" : 180.67394265776201223161},{"x" : 227.9, "y" : 179.69128070672286412446},{"x" : 233.2, "y" : 178.74621870519587218951},{"x" : 238.5, "y" : 177.83540526479362142709},{"x" : 243.8, "y" : 176.95437085567704116329},{"x" : 249.1, "y" : 176.09758636535704567905},{"x" : 254.4, "y" : 175.25853144572613473429},{"x" : 259.7, "y" : 174.42977174244657589952},{"x" : 265, "y" : 173.60304410079913850495},{"x" : 270.3, "y" : 172.76934884213466148140},{"x" : 275.6, "y" : 171.91904820501241601960},{"x" : 280.9, "y" : 171.04197004517993718764},{"x" : 286.2, "y" : 170.12751588847609696131},{"x" : 291.5, "y" : 169.16477243081106962563},{"x" : 296.8, "y" : 168.14262557931147057388},{"x" : 302.1, "y" : 167.04987612876385583149},{"x" : 307.4, "y" : 165.87535616747805988780},{"x" : 312.7, "y" : 164.60804530666149503304},{"x" : 318, "y" : 163.23718582747045502401},{"x" : 323.3, "y" : 161.75239583980464885826},{"x" : 328.6, "y" : 160.14377954700353257067},{"x" : 333.9, "y" : 158.40203371053132741508},{"x" : 339.2, "y" : 156.51854940878195066034},{"x" : 344.5, "y" : 154.48550818415117191762},{"x" : 349.8, "y" : 152.29597167241422539519},{"x" : 355.1, "y" : 149.94396380864327511517},{"x" : 360.4, "y" : 147.42454470363850305148},{"x" : 365.7, "y" : 144.73387528514922450995},{"x" : 371, "y" : 141.86927179785357111541},{"x" : 376.3, "y" : 138.82924925634529245144},{"x" : 381.6, "y" : 135.61355294514760316815},{"x" : 386.9, "y" : 132.22317705990303693397},{"x" : 392.2, "y" : 128.66036958388895072858},{"x" : 397.5, "y" : 124.92862249393238016637},{"x" : 402.8, "y" : 121.03264638988048318424},{"x" : 408.1, "y" : 116.97832864171186884050},{"x" : 413.4, "y" : 112.77267414838115655584},{"x" : 418.7, "y" : 108.42372780265714027337},{"x" : 424, "y" : 103.94047775584431292373},{"x" : 429.3, "y" : 99.33273857671792939072},{"x" : 434.6, "y" : 94.61101339865126647055},{"x" : 439.9, "y" : 89.78633414916475885548},{"x" : 445.2, "y" : 84.87007895587430539308},{"x" : 450.5, "y" : 79.87376582309843797702},{"x" : 455.8, "y" : 74.80882167313029640354},{"x" : 461.1, "y" : 69.68632584644092275994},{"x" : 466.4, "y" : 64.51672715465792862233},{"x" : 471.7, "y" : 59.30953358084479987156},{"x" : 477, "y" : 54.07297372070024721324},{"x" : 482.3, "y" : 48.81362905937385221478},{"x" : 487.6, "y" : 43.53603617734370345715},{"x" : 492.9, "y" : 38.24225798018778732512},{"x" : 498.2, "y" : 32.93142304576394963078},{"x" : 503.5, "y" : 27.59923218327276117634},{"x" : 508.8, "y" : 22.23743129815738939214},{"x" : 514.1, "y" : 16.83324965715110010933},{"x" : 519.4, "y" : 11.36880264730098133441},{"x" : 524.7, "y" : 5.82045812322394340299},{"x" : 530, "y" : 0.15816543693654239178}]; var dataset_area_19545 = data_chart_area[19545]; svg.append("path") .attr("transform", "translate(0, 20)") .datum(dataset_area_19545) .attr("class", "area") .attr("id", "area_17136") .style('fill-opacity', 0) .attr("fill", "#5c4564") .on('mouseover', function(d, i) { selectItemGraph(17136) }) .attr("d", area); svg.append("path") .attr("transform", "translate(0, 20)") .attr("id", "path_17136") .datum(dataset_19545) .attr("class", "line") .attr("d", line); diameterCalculating = 150; paramsPresureA = [195.19703829542533,-0.6021174302402986,0.010862279990535944,-0.00011263572272851077,5.671878773187609e-7,-1.4964382070535011e-9,1.9393722953800143e-12,-9.640918117382766e-16]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(17136); data_chart[19547] = [{"x" : 0, "y" : 195.19703829542532957930},{"x" : 4.6, "y" : 192.64643134231212684426},{"x" : 9.2, "y" : 190.49319906706929828033},{"x" : 13.8, "y" : 188.68025034688346863732},{"x" : 18.4, "y" : 187.15587760468983447026},{"x" : 23, "y" : 185.87341932378953401894},{"x" : 27.6, "y" : 184.79093515658883006836},{"x" : 32.2, "y" : 183.87089341569523526232},{"x" : 36.8, "y" : 183.07987073560585145060},{"x" : 41.4, "y" : 182.38826369322259779437},{"x" : 46, "y" : 181.77001217543019606637},{"x" : 50.6, "y" : 181.20233428197198577436},{"x" : 55.2, "y" : 180.66547255185813014577},{"x" : 59.8, "y" : 180.14245130154276353096},{"x" : 64.4, "y" : 179.61884486310341912940},{"x" : 69, "y" : 179.08255651065991287396},{"x" : 73.6, "y" : 178.52360786326670449853},{"x" : 78.2, "y" : 177.93393855251377999593},{"x" : 82.8, "y" : 177.30721594307220811970},{"x" : 87.4, "y" : 176.63865469441913091941},{"x" : 92, "y" : 175.92484595197674934752},{"x" : 96.6, "y" : 175.16359595590185449510},{"x" : 101.2, "y" : 174.35377385575949915619},{"x" : 105.8, "y" : 173.49516851931801397768},{"x" : 110.4, "y" : 172.58835412369828077317},{"x" : 115, "y" : 171.63456431711441041443},{"x" : 119.6, "y" : 170.63557473943996001253},{"x" : 124.2, "y" : 169.59359368983527360797},{"x" : 128.8, "y" : 168.51116072967113268533},{"x" : 133.4, "y" : 167.39105300898361861073},{"x" : 138, "y" : 166.23619910469622595883},{"x" : 142.6, "y" : 165.04960015884321933299},{"x" : 147.2, "y" : 163.83425810503050001898},{"x" : 151.8, "y" : 162.59311077136865719694},{"x" : 156.4, "y" : 161.32897364811333318357},{"x" : 161, "y" : 160.04448810824914062323},{"x" : 165.6, "y" : 158.74207586925010105006},{"x" : 170.2, "y" : 157.42389948425471857263},{"x" : 174.8, "y" : 156.09182865088826019928},{"x" : 179.4, "y" : 154.74741212596975969973},{"x" : 184, "y" : 153.39185503433594703893},{"x" : 188.6, "y" : 152.02600136002206454577},{"x" : 193.2, "y" : 150.65032140802824756065},{"x" : 197.8, "y" : 149.26490402491427289533},{"x" : 202.4, "y" : 147.86945336644956228156},{"x" : 207, "y" : 146.46329000056294944443},{"x" : 211.6, "y" : 145.04535613381682424006},{"x" : 216.2, "y" : 143.61422474965328888175},{"x" : 220.8, "y" : 142.16811244663389857124},{"x" : 225.4, "y" : 140.70489576491877414810},{"x" : 230, "y" : 139.22213078921856777015},{"x" : 234.6, "y" : 137.71707581644628248796},{"x" : 239.2, "y" : 136.18671687631726285872},{"x" : 243.8, "y" : 134.62779589312003736268},{"x" : 248.4, "y" : 133.03684127690294758395},{"x" : 253, "y" : 131.41020073230680509369},{"x" : 257.6, "y" : 129.74407607327620439719},{"x" : 262.2, "y" : 128.03455983189269318245},{"x" : 266.8, "y" : 126.27767344956082240515},{"x" : 271.4, "y" : 124.46940683877566868887},{"x" : 276, "y" : 122.60575910372068619836},{"x" : 280.6, "y" : 120.68278020792095617253},{"x" : 285.2, "y" : 118.69661337718463300916},{"x" : 289.8, "y" : 116.64353802608638943639},{"x" : 294.4, "y" : 114.52001299619757901382},{"x" : 299, "y" : 112.32271989432987879809},{"x" : 303.6, "y" : 110.04860631900203316036},{"x" : 308.2, "y" : 107.69492876338935616332},{"x" : 312.8, "y" : 105.25929498296062547524},{"x" : 317.4, "y" : 102.73970561607126228409},{"x" : 322, "y" : 100.13459484571757229787},{"x" : 326.6, "y" : 97.44286989071736115875},{"x" : 331.2, "y" : 94.66394911451340021813},{"x" : 335.8, "y" : 91.79779853988907234452},{"x" : 340.4, "y" : 88.84496655775984663705},{"x" : 345, "y" : 85.80661661835779341345},{"x" : 349.6, "y" : 82.68455769297111146443},{"x" : 354.2, "y" : 79.48127229452120445785},{"x" : 358.8, "y" : 76.19994184518657220906},{"x" : 363.4, "y" : 72.84446917932859832945},{"x" : 368, "y" : 69.41949796993901600217},{"x" : 372.6, "y" : 65.93042886685566372762},{"x" : 377.2, "y" : 62.38343213495454619988},{"x" : 381.8, "y" : 58.78545658060420464608},{"x" : 386.4, "y" : 55.14423455457881573238},{"x" : 391, "y" : 51.46828281966213580745},{"x" : 395.6, "y" : 47.76689907119271083502},{"x" : 400.2, "y" : 44.05015389879736176226},{"x" : 404.8, "y" : 40.32887797752800906892},{"x" : 409.4, "y" : 36.61464427662576781586},{"x" : 414, "y" : 32.91974507419377005135},{"x" : 418.6, "y" : 29.25716356594239186961},{"x" : 423.2, "y" : 25.64053985634063792531},{"x" : 427.8, "y" : 22.08413112031030323124},{"x" : 432.4, "y" : 18.60276572373686576611},{"x" : 437, "y" : 15.21179109107288240921},{"x" : 441.6, "y" : 11.92701510818233145983},{"x" : 446.2, "y" : 8.76464084877852656064},{"x" : 450.8, "y" : 5.74119441252969409106},{"x" : 455.4, "y" : 2.87344566327783468296},{"x" : 460, "y" : 0.17832165535128297051}]; data_chart_name[19547] = "MS"; data_chart_area[19547] = new Array(); if ((data_chart[19547][0].x != undefined && parseFloat(data_chart[19547][0].x))) { var a_before = parseFloat(data_chart[19547][0].y) / (parseFloat(data_chart[19547][0].x) * parseFloat(data_chart[19547][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[19547][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[19547].push({x: _x, y: _y}); } } var last_index = data_chart[19547].length; for(var b = 0; b < last_index; b++) { data_chart_area[19547].push(data_chart[19547][b]); } last_index = last_index - 1; if (data_chart[19547][last_index].y != undefined && parseFloat(data_chart[19547][last_index].y) > 5) { var a_after = parseFloat(data_chart[19547][last_index].y) / (parseFloat(data_chart[19547][last_index].x) * parseFloat(data_chart[19547][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[19547][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[19547].push({x: _x, y: _y}); } } diameterCalculating = 150; paramsPresureA = [170.05820648422767,-0.05980976151714712,-0.010568759734489945,0.00018286151864490402,-1.441531906839971e-6,5.585011367720783e-9,-1.0617849573303226e-11,7.968138314634995e-15]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(17136); data_chart[19549] = [{"x" : 0, "y" : 170.05820648422766794283},{"x" : 3.6, "y" : 169.71421303560782689601},{"x" : 7.2, "y" : 169.14417703483744048754},{"x" : 10.8, "y" : 168.39106580010755465082},{"x" : 14.4, "y" : 167.49281068037333852772},{"x" : 18, "y" : 166.48267174656479028272},{"x" : 21.6, "y" : 165.38958678573735028294},{"x" : 25.2, "y" : 164.23850491286765418408},{"x" : 28.8, "y" : 163.05070511500090901791},{"x" : 32.4, "y" : 161.84410004245583536431},{"x" : 36, "y" : 160.63352536179269236527},{"x" : 39.6, "y" : 159.43101498525012971186},{"x" : 43.2, "y" : 158.24606249135820235097},{"x" : 46.8, "y" : 157.08586905143098988447},{"x" : 50.4, "y" : 155.95557817664754907128},{"x" : 54, "y" : 154.85849760042472667010},{"x" : 57.6, "y" : 153.79630861078908310446},{"x" : 61.2, "y" : 152.76926314745395529826},{"x" : 64.8, "y" : 151.77636897830586804048},{"x" : 68.4, "y" : 150.81556327000910755487},{"x" : 72, "y" : 149.88387486743147292145},{"x" : 75.6, "y" : 148.97757559659885373549},{"x" : 79.2, "y" : 148.09232090588409391785},{"x" : 82.8, "y" : 147.22328016013577212107},{"x" : 86.4, "y" : 146.36525690245358077846},{"x" : 90, "y" : 145.51279939831516685445},{"x" : 93.6, "y" : 144.66030177676100265671},{"x" : 97.2, "y" : 143.80209608334359927539},{"x" : 100.8, "y" : 142.93253555954581202059},{"x" : 104.4, "y" : 142.04606946337500517075},{"x" : 108, "y" : 141.13730974583913280185},{"x" : 111.6, "y" : 140.20108989801025245470},{"x" : 115.2, "y" : 139.23251628338039154187},{"x" : 118.8, "y" : 138.22701227021883596535},{"x" : 122.4, "y" : 137.18035547863257761492},{"x" : 126, "y" : 136.08870845703904706170},{"x" : 129.6, "y" : 134.94864310275590923993},{"x" : 133.2, "y" : 133.75715914141306939200},{"x" : 136.8, "y" : 132.51169697989530504856},{"x" : 140.4, "y" : 131.21014524751649332757},{"x" : 144, "y" : 129.85084334013887996662},{"x" : 147.6, "y" : 128.43257928193543193629},{"x" : 151.2, "y" : 126.95458321950614788420},{"x" : 154.8, "y" : 125.41651686305328894377},{"x" : 158.4, "y" : 123.81845918932022243553},{"x" : 162, "y" : 122.16088872100075946037},{"x" : 165.6, "y" : 120.44466269732461682906},{"x" : 169.2, "y" : 118.67099345052599801420},{"x" : 172.8, "y" : 116.84142230289847930180},{"x" : 176.4, "y" : 114.95779129914578220450},{"x" : 180, "y" : 113.02221308873072302958},{"x" : 183.6, "y" : 111.03703927293088327133},{"x" : 187.2, "y" : 109.00482753130627600058},{"x" : 190.8, "y" : 106.92830784228385709866},{"x" : 194.4, "y" : 104.81034811256597549800},{"x" : 198, "y" : 102.65391953006849234953},{"x" : 201.6, "y" : 100.46206195509411429612},{"x" : 205.2, "y" : 98.23784966444560495802},{"x" : 208.8, "y" : 95.98435776319021783820},{"x" : 212.4, "y" : 93.70462957877202825330},{"x" : 216, "y" : 91.40164535218650598836},{"x" : 219.6, "y" : 89.07829254092206383575},{"x" : 223.2, "y" : 86.73733804836581384734},{"x" : 226.8, "y" : 84.38140269438980567429},{"x" : 230.4, "y" : 82.01293824182818070767},{"x" : 234, "y" : 79.63420729352338867102},{"x" : 237.6, "y" : 77.24726637468614853788},{"x" : 241.2, "y" : 74.85395251524965942735},{"x" : 244.8, "y" : 72.45587364692261189703},{"x" : 248.4, "y" : 70.05440312966351257273},{"x" : 252, "y" : 67.65067872227166390076},{"x" : 255.6, "y" : 65.24560631180031577969},{"x" : 259.2, "y" : 62.83986871650085959118},{"x" : 262.8, "y" : 60.43393987699869285279},{"x" : 266.4, "y" : 58.02810475041985682765},{"x" : 270, "y" : 55.62248522216384571948},{"x" : 273.6, "y" : 53.21707235001156277576},{"x" : 277.2, "y" : 50.81176525532134746754},{"x" : 280.8, "y" : 48.40641697597584425239},{"x" : 284.4, "y" : 46.00088759579807629052},{"x" : 288, "y" : 43.59510496515326849476},{"x" : 291.6, "y" : 41.18913332742204147507},{"x" : 295.2, "y" : 38.78325016606618191872},{"x" : 298.8, "y" : 36.37803158701262873365},{"x" : 302.4, "y" : 33.97444655099593546765},{"x" : 306, "y" : 31.57396027065078669693},{"x" : 309.6, "y" : 29.17864708698380127316},{"x" : 313.2, "y" : 26.79131313997822871897},{"x" : 316.8, "y" : 24.41562914802852901630},{"x" : 320.4, "y" : 22.05627361089773330605},{"x" : 324, "y" : 19.71908675090571705368},{"x" : 327.6, "y" : 17.41123550708425682387},{"x" : 331.2, "y" : 15.14138989694538395270},{"x" : 334.8, "y" : 12.91991106063233019086},{"x" : 338.4, "y" : 10.75905130212140647927},{"x" : 342, "y" : 8.67316644217862631194},{"x" : 345.6, "y" : 6.67894079780398897128},{"x" : 349.2, "y" : 4.79562510286541510141},{"x" : 352.8, "y" : 3.04528768456111720297},{"x" : 356.4, "y" : 1.45307921055518818321},{"x" : 360, "y" : 0.04751132132878410630}]; data_chart_name[19549] = "LS"; data_chart_area[19549] = new Array(); if ((data_chart[19549][0].x != undefined && parseFloat(data_chart[19549][0].x))) { var a_before = parseFloat(data_chart[19549][0].y) / (parseFloat(data_chart[19549][0].x) * parseFloat(data_chart[19549][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[19549][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[19549].push({x: _x, y: _y}); } } var last_index = data_chart[19549].length; for(var b = 0; b < last_index; b++) { data_chart_area[19549].push(data_chart[19549][b]); } last_index = last_index - 1; if (data_chart[19549][last_index].y != undefined && parseFloat(data_chart[19549][last_index].y) > 5) { var a_after = parseFloat(data_chart[19549][last_index].y) / (parseFloat(data_chart[19549][last_index].x) * parseFloat(data_chart[19549][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[19549][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[19549].push({x: _x, y: _y}); } } diameterCalculating = 160; paramsPresureA = [290.06170298174897,-0.5819061287227473,-0.0010241237786225074,-1.596969915972797e-5,2.4094414119785893e-7,-9.448364511210743e-10,1.4996076266558013e-12,-8.59010147869062e-16]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(5975); data_chart[3488] = [{"x" : 0, "y" : 290.06170298174896515775},{"x" : 5, "y" : 287.12472069211332836858},{"x" : 10, "y" : 284.12657606628386020020},{"x" : 15, "y" : 281.06028271271986795909},{"x" : 20, "y" : 277.92179576387036377128},{"x" : 25, "y" : 274.70969861151934310328},{"x" : 30, "y" : 271.42490549800947974290},{"x" : 35, "y" : 268.07037962511287787493},{"x" : 40, "y" : 264.65086644230842694014},{"x" : 45, "y" : 261.17264177623593468525},{"x" : 50, "y" : 257.64327446308908520223},{"x" : 55, "y" : 254.07140314571017825074},{"x" : 60, "y" : 250.46652689715608630650},{"x" : 65, "y" : 246.83880933249591294043},{"x" : 70, "y" : 243.19889587060742996982},{"x" : 75, "y" : 239.55774380773596021754},{"x" : 80, "y" : 235.92646486458102117467},{"x" : 85, "y" : 232.31617986867570380127},{"x" : 90, "y" : 228.73788523382253856653},{"x" : 95, "y" : 225.20233089835164719261},{"x" : 100, "y" : 221.71990938396521642062},{"x" : 105, "y" : 218.30055563693386488922},{"x" : 110, "y" : 214.95365731340842785357},{"x" : 115, "y" : 211.68797517061315716091},{"x" : 120, "y" : 208.51157322568460017465},{"x" : 125, "y" : 205.43175834392036449572},{"x" : 130, "y" : 202.45502891820339641527},{"x" : 135, "y" : 199.58703230136637785108},{"x" : 140, "y" : 196.83253065326013597769},{"x" : 145, "y" : 194.19537486429214823147},{"x" : 150, "y" : 191.67848621719866741842},{"x" : 155, "y" : 189.28384544881618012369},{"x" : 160, "y" : 187.01248887361626316306},{"x" : 165, "y" : 184.86451123076898284125},{"x" : 170, "y" : 182.83907491649958387825},{"x" : 175, "y" : 180.93442526350267485213},{"x" : 180, "y" : 179.14791152917970862291},{"x" : 185, "y" : 177.47601325446370879035},{"x" : 190, "y" : 175.91437165499559114323},{"x" : 195, "y" : 174.45782570641858910676},{"x" : 200, "y" : 173.10045258555328473449},{"x" : 205, "y" : 171.83561212921989636015},{"x" : 210, "y" : 170.65599497247112026344},{"x" : 215, "y" : 169.55367402800169429611},{"x" : 220, "y" : 168.52015896849792397916},{"x" : 225, "y" : 167.54645337369302637853},{"x" : 230, "y" : 166.62311420389318072921},{"x" : 235, "y" : 165.74031326173746947461},{"x" : 240, "y" : 164.88790030395870189750},{"x" : 245, "y" : 164.05546746490773557525},{"x" : 250, "y" : 163.23241465360840152243},{"x" : 255, "y" : 162.40801558610445454178},{"x" : 260, "y" : 161.57148411486690520178},{"x" : 265, "y" : 160.71204051702483184272},{"x" : 270, "y" : 159.81897740318379419477},{"x" : 275, "y" : 158.88172490859614072178},{"x" : 280, "y" : 157.88991482845284508585},{"x" : 285, "y" : 156.83344335905366051520},{"x" : 290, "y" : 155.70253210662622223026},{"x" : 295, "y" : 154.48778702555802055940},{"x" : 300, "y" : 153.18025494780590634036},{"x" : 305, "y" : 151.77147736524204901798},{"x" : 310, "y" : 150.25354112671368511656},{"x" : 315, "y" : 148.61912571156670992423},{"x" : 320, "y" : 146.86154674141039322421},{"x" : 325, "y" : 144.97479539188219632706},{"x" : 330, "y" : 142.95357336617291821312},{"x" : 335, "y" : 140.79332309208717788351},{"x" : 340, "y" : 138.49025280439826701695},{"x" : 345, "y" : 136.04135617425845339312},{"x" : 350, "y" : 133.44442614743775266106},{"x" : 355, "y" : 130.69806265315264681703},{"x" : 360, "y" : 127.80167384524395401968},{"x" : 365, "y" : 124.75547053747629888676},{"x" : 370, "y" : 121.56045349471980898670},{"x" : 375, "y" : 118.21839324178131391818},{"x" : 380, "y" : 114.73180205165158440650},{"x" : 385, "y" : 111.10389777491650420416},{"x" : 390, "y" : 107.33855917213077191263},{"x" : 395, "y" : 103.44027241088269875036},{"x" : 400, "y" : 99.41406838933767176059},{"x" : 405, "y" : 95.26545054801908918307},{"x" : 410, "y" : 91.00031283158295991598},{"x" : 415, "y" : 86.62484746237259969348},{"x" : 420, "y" : 82.14544218748710591171},{"x" : 425, "y" : 77.56856666116755150142},{"x" : 430, "y" : 72.90064762421161503880},{"x" : 435, "y" : 68.14793254224878182868},{"x" : 440, "y" : 63.31634136458114880952},{"x" : 445, "y" : 58.41130606538808933692},{"x" : 450, "y" : 53.43759762904528543004},{"x" : 455, "y" : 48.39914014134501485387},{"x" : 460, "y" : 43.29881164832795548136},{"x" : 465, "y" : 38.13823144458228853182},{"x" : 470, "y" : 32.91753345265897223726},{"x" : 475, "y" : 27.63512535549125459511},{"x" : 480, "y" : 22.28743314348321291618},{"x" : 485, "y" : 16.86863073807035107166},{"x" : 490, "y" : 11.37035435354300716426},{"x" : 495, "y" : 5.78140125885784073034},{"x" : 500, "y" : 0.08741260121041705133}]; data_chart_name[3488] = "HS"; data_chart_area[3488] = new Array(); if ((data_chart[3488][0].x != undefined && parseFloat(data_chart[3488][0].x))) { var a_before = parseFloat(data_chart[3488][0].y) / (parseFloat(data_chart[3488][0].x) * parseFloat(data_chart[3488][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[3488][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[3488].push({x: _x, y: _y}); } } var last_index = data_chart[3488].length; for(var b = 0; b < last_index; b++) { data_chart_area[3488].push(data_chart[3488][b]); } last_index = last_index - 1; if (data_chart[3488][last_index].y != undefined && parseFloat(data_chart[3488][last_index].y) > 5) { var a_after = parseFloat(data_chart[3488][last_index].y) / (parseFloat(data_chart[3488][last_index].x) * parseFloat(data_chart[3488][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[3488][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[3488].push({x: _x, y: _y}); } } var dataset_3488 = [{"x" : 0, "y" : 290.06170298174896515775},{"x" : 5, "y" : 287.12472069211332836858},{"x" : 10, "y" : 284.12657606628386020020},{"x" : 15, "y" : 281.06028271271986795909},{"x" : 20, "y" : 277.92179576387036377128},{"x" : 25, "y" : 274.70969861151934310328},{"x" : 30, "y" : 271.42490549800947974290},{"x" : 35, "y" : 268.07037962511287787493},{"x" : 40, "y" : 264.65086644230842694014},{"x" : 45, "y" : 261.17264177623593468525},{"x" : 50, "y" : 257.64327446308908520223},{"x" : 55, "y" : 254.07140314571017825074},{"x" : 60, "y" : 250.46652689715608630650},{"x" : 65, "y" : 246.83880933249591294043},{"x" : 70, "y" : 243.19889587060742996982},{"x" : 75, "y" : 239.55774380773596021754},{"x" : 80, "y" : 235.92646486458102117467},{"x" : 85, "y" : 232.31617986867570380127},{"x" : 90, "y" : 228.73788523382253856653},{"x" : 95, "y" : 225.20233089835164719261},{"x" : 100, "y" : 221.71990938396521642062},{"x" : 105, "y" : 218.30055563693386488922},{"x" : 110, "y" : 214.95365731340842785357},{"x" : 115, "y" : 211.68797517061315716091},{"x" : 120, "y" : 208.51157322568460017465},{"x" : 125, "y" : 205.43175834392036449572},{"x" : 130, "y" : 202.45502891820339641527},{"x" : 135, "y" : 199.58703230136637785108},{"x" : 140, "y" : 196.83253065326013597769},{"x" : 145, "y" : 194.19537486429214823147},{"x" : 150, "y" : 191.67848621719866741842},{"x" : 155, "y" : 189.28384544881618012369},{"x" : 160, "y" : 187.01248887361626316306},{"x" : 165, "y" : 184.86451123076898284125},{"x" : 170, "y" : 182.83907491649958387825},{"x" : 175, "y" : 180.93442526350267485213},{"x" : 180, "y" : 179.14791152917970862291},{"x" : 185, "y" : 177.47601325446370879035},{"x" : 190, "y" : 175.91437165499559114323},{"x" : 195, "y" : 174.45782570641858910676},{"x" : 200, "y" : 173.10045258555328473449},{"x" : 205, "y" : 171.83561212921989636015},{"x" : 210, "y" : 170.65599497247112026344},{"x" : 215, "y" : 169.55367402800169429611},{"x" : 220, "y" : 168.52015896849792397916},{"x" : 225, "y" : 167.54645337369302637853},{"x" : 230, "y" : 166.62311420389318072921},{"x" : 235, "y" : 165.74031326173746947461},{"x" : 240, "y" : 164.88790030395870189750},{"x" : 245, "y" : 164.05546746490773557525},{"x" : 250, "y" : 163.23241465360840152243},{"x" : 255, "y" : 162.40801558610445454178},{"x" : 260, "y" : 161.57148411486690520178},{"x" : 265, "y" : 160.71204051702483184272},{"x" : 270, "y" : 159.81897740318379419477},{"x" : 275, "y" : 158.88172490859614072178},{"x" : 280, "y" : 157.88991482845284508585},{"x" : 285, "y" : 156.83344335905366051520},{"x" : 290, "y" : 155.70253210662622223026},{"x" : 295, "y" : 154.48778702555802055940},{"x" : 300, "y" : 153.18025494780590634036},{"x" : 305, "y" : 151.77147736524204901798},{"x" : 310, "y" : 150.25354112671368511656},{"x" : 315, "y" : 148.61912571156670992423},{"x" : 320, "y" : 146.86154674141039322421},{"x" : 325, "y" : 144.97479539188219632706},{"x" : 330, "y" : 142.95357336617291821312},{"x" : 335, "y" : 140.79332309208717788351},{"x" : 340, "y" : 138.49025280439826701695},{"x" : 345, "y" : 136.04135617425845339312},{"x" : 350, "y" : 133.44442614743775266106},{"x" : 355, "y" : 130.69806265315264681703},{"x" : 360, "y" : 127.80167384524395401968},{"x" : 365, "y" : 124.75547053747629888676},{"x" : 370, "y" : 121.56045349471980898670},{"x" : 375, "y" : 118.21839324178131391818},{"x" : 380, "y" : 114.73180205165158440650},{"x" : 385, "y" : 111.10389777491650420416},{"x" : 390, "y" : 107.33855917213077191263},{"x" : 395, "y" : 103.44027241088269875036},{"x" : 400, "y" : 99.41406838933767176059},{"x" : 405, "y" : 95.26545054801908918307},{"x" : 410, "y" : 91.00031283158295991598},{"x" : 415, "y" : 86.62484746237259969348},{"x" : 420, "y" : 82.14544218748710591171},{"x" : 425, "y" : 77.56856666116755150142},{"x" : 430, "y" : 72.90064762421161503880},{"x" : 435, "y" : 68.14793254224878182868},{"x" : 440, "y" : 63.31634136458114880952},{"x" : 445, "y" : 58.41130606538808933692},{"x" : 450, "y" : 53.43759762904528543004},{"x" : 455, "y" : 48.39914014134501485387},{"x" : 460, "y" : 43.29881164832795548136},{"x" : 465, "y" : 38.13823144458228853182},{"x" : 470, "y" : 32.91753345265897223726},{"x" : 475, "y" : 27.63512535549125459511},{"x" : 480, "y" : 22.28743314348321291618},{"x" : 485, "y" : 16.86863073807035107166},{"x" : 490, "y" : 11.37035435354300716426},{"x" : 495, "y" : 5.78140125885784073034},{"x" : 500, "y" : 0.08741260121041705133}]; var dataset_area_3488 = data_chart_area[3488]; svg.append("path") .attr("transform", "translate(0, 20)") .datum(dataset_area_3488) .attr("class", "area") .attr("id", "area_5975") .style('fill-opacity', 0) .attr("fill", "#5c4564") .on('mouseover', function(d, i) { selectItemGraph(5975) }) .attr("d", area); svg.append("path") .attr("transform", "translate(0, 20)") .attr("id", "path_5975") .datum(dataset_3488) .attr("class", "line") .attr("d", line); diameterCalculating = 160; paramsPresureA = [230.06355408830984,-0.3751780247080198,-0.0138729021261901,0.00023296271139346098,-1.6581855803059526e-6,5.958451230245267e-9,-1.0634695987884726e-11,7.467367682475606e-15]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(5975); data_chart[3490] = [{"x" : 0, "y" : 230.06355408830984288215},{"x" : 4.2, "y" : 228.25983988441944916303},{"x" : 8.4, "y" : 226.06325448216628615228},{"x" : 12.6, "y" : 223.55991802459129758063},{"x" : 16.8, "y" : 220.82534651203440034806},{"x" : 21, "y" : 217.92528408155831698423},{"x" : 25.2, "y" : 214.91649585990219861742},{"x" : 29.4, "y" : 211.84752225761096156020},{"x" : 33.6, "y" : 208.75939557198702800633},{"x" : 37.8, "y" : 205.68631976651300874437},{"x" : 42, "y" : 202.65631429439071098386},{"x" : 46.2, "y" : 199.69182283384469656085},{"x" : 50.4, "y" : 196.81028780283710943877},{"x" : 54.6, "y" : 194.02469152084077563813},{"x" : 58.8, "y" : 191.34406488531763557148},{"x" : 63, "y" : 188.77396443054976771236},{"x" : 67.2, "y" : 186.31691863646983620129},{"x" : 71.4, "y" : 183.97284435513827816067},{"x" : 75.6, "y" : 181.73943422251406332180},{"x" : 79.8, "y" : 179.61251592316631331414},{"x" : 84, "y" : 177.58638417557361321997},{"x" : 88.2, "y" : 175.65410630565847327489},{"x" : 92.4, "y" : 173.80780227620314803971},{"x" : 96.6, "y" : 172.03890003979563516623},{"x" : 100.8, "y" : 170.33836708295032735805},{"x" : 105, "y" : 168.69691902905333336093},{"x" : 109.2, "y" : 167.10520616777657210150},{"x" : 113.4, "y" : 165.55397877861068423044},{"x" : 117.6, "y" : 164.03423211616114940625},{"x" : 121.8, "y" : 162.53733192485606195987},{"x" : 126, "y" : 161.05512135071387547214},{"x" : 130.2, "y" : 159.58001011781399824940},{"x" : 134.4, "y" : 158.10504683712298401588},{"x" : 138.6, "y" : 156.62397531531820504824},{"x" : 142.8, "y" : 155.13127573126004676851},{"x" : 147, "y" : 153.62219154775672791402},{"x" : 151.2, "y" : 152.09274302627102315455},{"x" : 155.4, "y" : 150.53972821221378808332},{"x" : 159.6, "y" : 148.96071225847512664586},{"x" : 163.8, "y" : 147.35400595483349661663},{"x" : 168, "y" : 145.71863433089879436011},{"x" : 172.2, "y" : 144.05429620022871972651},{"x" : 176.4, "y" : 142.36131551326951694136},{"x" : 180.6, "y" : 140.64058538676655985000},{"x" : 184.8, "y" : 138.89350567729280783169},{"x" : 189, "y" : 137.12191496654429556656},{"x" : 193.2, "y" : 135.32801782604138907118},{"x" : 197.4, "y" : 133.51430822889477667559},{"x" : 201.6, "y" : 131.68348997627504104457},{"x" : 205.8, "y" : 129.83839500623383855782},{"x" : 210, "y" : 127.98190045252707136569},{"x" : 214.2, "y" : 126.11684532108242251525},{"x" : 218.4, "y" : 124.24594765176590271949},{"x" : 222.6, "y" : 122.37172303308548748646},{"x" : 226.8, "y" : 120.49640533748049620044},{"x" : 231, "y" : 118.62187054485519865921},{"x" : 235.2, "y" : 116.74956452198750866955},{"x" : 239.4, "y" : 114.88043562546238263167},{"x" : 243.6, "y" : 113.01487299580134049393},{"x" : 247.8, "y" : 111.15265141039441232351},{"x" : 252, "y" : 109.29288356290777528557},{"x" : 256.2, "y" : 107.43398063682082010928},{"x" : 260.4, "y" : 105.57362204071330324950},{"x" : 264.6, "y" : 103.70873517297616217547},{"x" : 268.8, "y" : 101.83548608356602471758},{"x" : 273, "y" : 99.94928190049131444539},{"x" : 277.2, "y" : 98.04478588861456955783},{"x" : 281.4, "y" : 96.11594600850048664142},{"x" : 285.6, "y" : 94.15603784286281552340},{"x" : 289.8, "y" : 92.15772275834638094238},{"x" : 294, "y" : 90.11312217022737058869},{"x" : 298.2, "y" : 88.01390877771063969703},{"x" : 302.4, "y" : 85.85141563744923587365},{"x" : 306.6, "y" : 83.61676394297205661132},{"x" : 310.8, "y" : 81.30101037762869964354},{"x" : 315, "y" : 78.89531490869694607682},{"x" : 319.2, "y" : 76.39112989031718825572},{"x" : 323.4, "y" : 73.78041134293698632973},{"x" : 327.6, "y" : 71.05585327682183560682},{"x" : 331.8, "y" : 68.21114592734647885663},{"x" : 336, "y" : 65.24125876973039339646},{"x" : 340.2, "y" : 62.14274918078808696009},{"x" : 344.4, "y" : 58.91409761538216116605},{"x" : 348.6, "y" : 55.55607016531212138943},{"x" : 352.8, "y" : 52.07210936807223333744},{"x" : 357, "y" : 48.46875413339330407325},{"x" : 361.2, "y" : 44.75608965494484436931},{"x" : 365.4, "y" : 40.94822817511794710299},{"x" : 369.6, "y" : 37.06382147024578443961},{"x" : 373.8, "y" : 33.12660592424708738690},{"x" : 378, "y" : 29.16598105793673312292},{"x" : 382.2, "y" : 25.21762238203518791124},{"x" : 386.4, "y" : 21.32412944126554066315},{"x" : 390.6, "y" : 17.53570991735068673734},{"x" : 394.8, "y" : 13.91090065836579015013},{"x" : 399, "y" : 10.51732650236590416171},{"x" : 403.2, "y" : 7.43249776256379846018},{"x" : 407.4, "y" : 4.74464724219251365867},{"x" : 411.6, "y" : 2.55360764616489177570},{"x" : 415.8, "y" : 0.97173025764459453057},{"x" : 420, "y" : 0.12484574678455828689}]; data_chart_name[3490] = "MS"; data_chart_area[3490] = new Array(); if ((data_chart[3490][0].x != undefined && parseFloat(data_chart[3490][0].x))) { var a_before = parseFloat(data_chart[3490][0].y) / (parseFloat(data_chart[3490][0].x) * parseFloat(data_chart[3490][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[3490][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[3490].push({x: _x, y: _y}); } } var last_index = data_chart[3490].length; for(var b = 0; b < last_index; b++) { data_chart_area[3490].push(data_chart[3490][b]); } last_index = last_index - 1; if (data_chart[3490][last_index].y != undefined && parseFloat(data_chart[3490][last_index].y) > 5) { var a_after = parseFloat(data_chart[3490][last_index].y) / (parseFloat(data_chart[3490][last_index].x) * parseFloat(data_chart[3490][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[3490][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[3490].push({x: _x, y: _y}); } } diameterCalculating = 160; paramsPresureA = [179.9935828751448,-0.6026788520229185,-0.0012464031812883792,7.313990530070363e-5,-7.296613828800966e-7,3.094333340296574e-9,-6.198831542119919e-12,4.877561355497493e-15]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(5975); data_chart[3492] = [{"x" : 0, "y" : 179.99358287514479570746},{"x" : 3.4, "y" : 177.93284493742484642098},{"x" : 6.8, "y" : 175.85921478851912524988},{"x" : 10.2, "y" : 173.78663607522744882772},{"x" : 13.6, "y" : 171.72703496798979472260},{"x" : 17, "y" : 169.69047206532724203498},{"x" : 20.4, "y" : 167.68528779092838476572},{"x" : 23.8, "y" : 165.71824141249945228083},{"x" : 27.2, "y" : 163.79464381149529117465},{"x" : 30.6, "y" : 161.91848413284915864097},{"x" : 34, "y" : 160.09255044381896482264},{"x" : 37.4, "y" : 158.31854453106763003234},{"x" : 40.8, "y" : 156.59719096509553537544},{"x" : 44.2, "y" : 154.92834056114179475117},{"x" : 47.6, "y" : 153.31106836567303730590},{"x" : 51, "y" : 151.74376629757745149618},{"x" : 54.4, "y" : 150.22423057318005135130},{"x" : 57.8, "y" : 148.74974404419981510728},{"x" : 61.2, "y" : 147.31715357776295149961},{"x" : 64.6, "y" : 145.92294260759311441689},{"x" : 68, "y" : 144.56329898549375911898},{"x" : 71.4, "y" : 143.23417826224203963648},{"x" : 74.8, "y" : 141.93136252701077637539},{"x" : 78.2, "y" : 140.65051493443704089259},{"x" : 81.6, "y" : 139.38723004845431319154},{"x" : 85, "y" : 138.13708013200641744334},{"x" : 88.4, "y" : 136.89565751176039043457},{"x" : 91.8, "y" : 135.65861314693677286414},{"x" : 95.2, "y" : 134.42169153137388093455},{"x" : 98.6, "y" : 133.18076205794505995073},{"x" : 102, "y" : 131.93184697444496578100},{"x" : 105.4, "y" : 130.67114606006433064067},{"x" : 108.8, "y" : 129.39505815156945800481},{"x" : 112.2, "y" : 128.10019964830505045938},{"x" : 115.6, "y" : 126.78342012513716952071},{"x" : 119, "y" : 125.44181518245527229283},{"x" : 122.4, "y" : 124.07273666234927134155},{"x" : 125.8, "y" : 122.67380036008124477576},{"x" : 129.2, "y" : 121.24289135996781396898},{"x" : 132.6, "y" : 119.77816712479157956750},{"x" : 136, "y" : 118.27805846785969379198},{"x" : 139.4, "y" : 116.74126853682632543041},{"x" : 142.8, "y" : 115.16676993839755027693},{"x" : 146.2, "y" : 113.55380013303511077538},{"x" : 149.6, "y" : 111.90185522877922608131},{"x" : 153, "y" : 110.21068230330436676923},{"x" : 156.4, "y" : 108.48027038332955385158},{"x" : 159.8, "y" : 106.71084021049792056601},{"x" : 163.2, "y" : 104.90283292284516392101},{"x" : 166.6, "y" : 103.05689778097294606596},{"x" : 170, "y" : 101.17387906804646036107},{"x" : 173.4, "y" : 99.25480229273274801471},{"x" : 176.8, "y" : 97.30085982419798540377},{"x" : 180.2, "y" : 95.31339608828054110745},{"x" : 183.6, "y" : 93.29389245395958596418},{"x" : 187, "y" : 91.24395193923373881262},{"x" : 190.4, "y" : 89.16528386553132179415},{"x" : 193.8, "y" : 87.05968858976476099087},{"x" : 197.2, "y" : 84.92904244315417372491},{"x" : 200.6, "y" : 82.77528300592827292803},{"x" : 204, "y" : 80.60039484702978995756},{"x" : 207.4, "y" : 78.40639585793678634218},{"x" : 210.8, "y" : 76.19532430971860037516},{"x" : 214.2, "y" : 73.96922676244925298761},{"x" : 217.6, "y" : 71.73014695608462432119},{"x" : 221, "y" : 69.48011581193513563903},{"x" : 224.4, "y" : 67.22114267384139907335},{"x" : 227.8, "y" : 64.95520791817270378488},{"x" : 231.2, "y" : 62.68425706176975609196},{"x" : 234.6, "y" : 60.41019649694626991732},{"x" : 238, "y" : 58.13489098266308019447},{"x" : 241.4, "y" : 55.86016302100640018580},{"x" : 244.8, "y" : 53.58779424806579072538},{"x" : 248.2, "y" : 51.31952896835508681761},{"x" : 251.6, "y" : 49.05707996186771424618},{"x" : 255, "y" : 46.80213669291202904787},{"x" : 258.4, "y" : 44.55637604981581034735},{"x" : 261.8, "y" : 42.32147574463726868998},{"x" : 265.2, "y" : 40.09913050200191264594},{"x" : 268.6, "y" : 37.89107116615588211062},{"x" : 272, "y" : 35.69908685539894577232},{"x" : 275.4, "y" : 33.52505029296332850208},{"x" : 278.8, "y" : 31.37094644349997452082},{"x" : 282.2, "y" : 29.23890458426205896103},{"x" : 285.6, "y" : 27.13123394011802247405},{"x" : 289, "y" : 25.05046301149968712707},{"x" : 292.4, "y" : 22.99938272442079778557},{"x" : 295.8, "y" : 20.98109353166330492968},{"x" : 299.2, "y" : 18.99905659426030979375},{"x" : 302.6, "y" : 17.05714917239970418450},{"x" : 306, "y" : 15.15972435484741254186},{"x" : 309.4, "y" : 13.31167525602631940274},{"x" : 312.8, "y" : 11.51850380985092670016},{"x" : 316.2, "y" : 9.78639428946985390212},{"x" : 319.6, "y" : 8.12229168197177386901},{"x" : 323, "y" : 6.53398504724600570626},{"x" : 326.4, "y" : 5.03019599005961026705},{"x" : 329.8, "y" : 3.62067237448673040490},{"x" : 333.2, "y" : 2.31628740983023817535},{"x" : 336.6, "y" : 1.12914423710662958911},{"x" : 340, "y" : 0.07268614525582961505}]; data_chart_name[3492] = "LS"; data_chart_area[3492] = new Array(); if ((data_chart[3492][0].x != undefined && parseFloat(data_chart[3492][0].x))) { var a_before = parseFloat(data_chart[3492][0].y) / (parseFloat(data_chart[3492][0].x) * parseFloat(data_chart[3492][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[3492][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[3492].push({x: _x, y: _y}); } } var last_index = data_chart[3492].length; for(var b = 0; b < last_index; b++) { data_chart_area[3492].push(data_chart[3492][b]); } last_index = last_index - 1; if (data_chart[3492][last_index].y != undefined && parseFloat(data_chart[3492][last_index].y) > 5) { var a_after = parseFloat(data_chart[3492][last_index].y) / (parseFloat(data_chart[3492][last_index].x) * parseFloat(data_chart[3492][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[3492][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[3492].push({x: _x, y: _y}); } } diameterCalculating = 160; paramsPresureA = [225.18428617686232,-1.0305380431833089,0.02070883064246727,-0.0001968957259683765,9.203835529612087e-7,-2.2358154122791107e-9,2.685299891761259e-12,-1.2618072907636349e-15]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(17137); data_chart[19551] = [{"x" : 0, "y" : 225.18428617686231518746},{"x" : 5.3, "y" : 220.27554929192686472561},{"x" : 10.6, "y" : 216.36424538808580564364},{"x" : 15.9, "y" : 213.29926852365133527201},{"x" : 21.2, "y" : 210.94478978627120113742},{"x" : 26.5, "y" : 209.17923992554088385987},{"x" : 31.8, "y" : 207.89433259736890136082},{"x" : 37.1, "y" : 206.99412747303645687680},{"x" : 42.4, "y" : 206.39413246589262485031},{"x" : 47.7, "y" : 206.02044432862695089170},{"x" : 53, "y" : 205.80892687406125673988},{"x" : 58.3, "y" : 205.70442607240053689566},{"x" : 63.6, "y" : 205.66002127788621578475},{"x" : 68.9, "y" : 205.63631183779196476280},{"x" : 74.2, "y" : 205.60073833670381304728},{"x" : 79.5, "y" : 205.52693772902651403456},{"x" : 84.8, "y" : 205.39413161265639473640},{"x" : 90.1, "y" : 205.18654689676370139750},{"x" : 95.4, "y" : 204.89286811662398690714},{"x" : 100.7, "y" : 204.50572064844209307921},{"x" : 106, "y" : 204.02118407710801761823},{"x" : 111.3, "y" : 203.43833496982821884558},{"x" : 116.6, "y" : 202.75881830857107956945},{"x" : 121.9, "y" : 201.98644683427153267985},{"x" : 127.2, "y" : 201.12682755573231929702},{"x" : 132.5, "y" : 200.18701467616685363282},{"x" : 137.8, "y" : 199.17518819032275700920},{"x" : 143.1, "y" : 198.10035740512802249214},{"x" : 148.4, "y" : 196.97208863680208423830},{"x" : 153.7, "y" : 195.80025633737290036152},{"x" : 159, "y" : 194.59481690353916860659},{"x" : 164.3, "y" : 193.36560442082404165376},{"x" : 169.6, "y" : 192.12214759595676127901},{"x" : 174.9, "y" : 190.87350713042573602252},{"x" : 180.2, "y" : 189.62813278814647333093},{"x" : 185.5, "y" : 188.39373941018035907291},{"x" : 190.8, "y" : 187.17720112945221444534},{"x" : 196.1, "y" : 185.98446303840430005039},{"x" : 201.4, "y" : 184.82046956252702329948},{"x" : 206.7, "y" : 183.68910879271086855624},{"x" : 212, "y" : 182.59317202936193780261},{"x" : 217.3, "y" : 181.53432779121450835191},{"x" : 222.6, "y" : 180.51310954179490408933},{"x" : 227.9, "y" : 179.52891638646519822942},{"x" : 233.2, "y" : 178.58002599299626922402},{"x" : 238.5, "y" : 177.66361898861282497819},{"x" : 243.8, "y" : 176.77581408643854388174},{"x" : 249.1, "y" : 175.91171319430316088983},{"x" : 254.4, "y" : 175.06545575883916399107},{"x" : 259.7, "y" : 174.23028159780807300194},{"x" : 265, "y" : 173.39860147360536757333},{"x" : 270.3, "y" : 172.56207466088960700290},{"x" : 275.6, "y" : 171.71169276125107217013},{"x" : 280.9, "y" : 170.83786901790730894390},{"x" : 286.2, "y" : 169.93053238331322063459},{"x" : 291.5, "y" : 168.97922559266999087413},{"x" : 296.8, "y" : 167.97320649625339683553},{"x" : 302.1, "y" : 166.90155190351089231626},{"x" : 307.4, "y" : 165.75326319186018508844},{"x" : 312.7, "y" : 164.51737293313675536410},{"x" : 318, "y" : 163.18305179064174126324},{"x" : 323.3, "y" : 161.73971493969906987331},{"x" : 328.6, "y" : 160.17712726471813766693},{"x" : 333.9, "y" : 158.48550658563590332051},{"x" : 339.2, "y" : 156.65562416672378276417},{"x" : 344.5, "y" : 154.67890176072990016110},{"x" : 349.8, "y" : 152.54750444118803898164},{"x" : 355.1, "y" : 150.25442847598299067613},{"x" : 360.4, "y" : 147.79358349496305891080},{"x" : 365.7, "y" : 145.15986820468151563546},{"x" : 371, "y" : 142.34923890309846683522},{"x" : 376.3, "y" : 139.35877004724852668005},{"x" : 381.6, "y" : 136.18670612678943143692},{"x" : 386.9, "y" : 132.83250409637548727915},{"x" : 392.2, "y" : 129.29686561979679026990},{"x" : 397.5, "y" : 125.58175837887097259227},{"x" : 402.8, "y" : 121.69042569989369440009},{"x" : 408.1, "y" : 117.62738375080698460806},{"x" : 413.4, "y" : 113.39840556180206476711},{"x" : 418.7, "y" : 109.01049112243845229386},{"x" : 424, "y" : 104.47182280821107269730},{"x" : 429.3, "y" : 99.79170538938342360780},{"x" : 434.6, "y" : 94.98048987524498443236},{"x" : 439.9, "y" : 90.04948044651291638729},{"x" : 445.2, "y" : 85.01082372897508321330},{"x" : 450.5, "y" : 79.87737966124313970795},{"x" : 455.8, "y" : 74.66257320952172449324},{"x" : 461.1, "y" : 69.38022618249942752300},{"x" : 466.4, "y" : 64.04436839904064981965},{"x" : 471.7, "y" : 58.66902746198320528492},{"x" : 477, "y" : 53.26799639041473710677},{"x" : 482.3, "y" : 47.85457836421846877784},{"x" : 487.6, "y" : 42.44130783280343166552},{"x" : 492.9, "y" : 37.03964724193065194413},{"x" : 498.2, "y" : 31.65965863084420561790},{"x" : 503.5, "y" : 26.30964935312658781186},{"x" : 508.8, "y" : 20.99579117388020677026},{"x" : 514.1, "y" : 15.72171199648801120929},{"x" : 519.4, "y" : 10.48805947164510143921},{"x" : 524.7, "y" : 5.29203574164603196550},{"x" : 530, "y" : 0.12690257307986030355}]; data_chart_name[19551] = "HS"; data_chart_area[19551] = new Array(); if ((data_chart[19551][0].x != undefined && parseFloat(data_chart[19551][0].x))) { var a_before = parseFloat(data_chart[19551][0].y) / (parseFloat(data_chart[19551][0].x) * parseFloat(data_chart[19551][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[19551][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[19551].push({x: _x, y: _y}); } } var last_index = data_chart[19551].length; for(var b = 0; b < last_index; b++) { data_chart_area[19551].push(data_chart[19551][b]); } last_index = last_index - 1; if (data_chart[19551][last_index].y != undefined && parseFloat(data_chart[19551][last_index].y) > 5) { var a_after = parseFloat(data_chart[19551][last_index].y) / (parseFloat(data_chart[19551][last_index].x) * parseFloat(data_chart[19551][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[19551][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[19551].push({x: _x, y: _y}); } } var dataset_19551 = [{"x" : 0, "y" : 225.18428617686231518746},{"x" : 5.3, "y" : 220.27554929192686472561},{"x" : 10.6, "y" : 216.36424538808580564364},{"x" : 15.9, "y" : 213.29926852365133527201},{"x" : 21.2, "y" : 210.94478978627120113742},{"x" : 26.5, "y" : 209.17923992554088385987},{"x" : 31.8, "y" : 207.89433259736890136082},{"x" : 37.1, "y" : 206.99412747303645687680},{"x" : 42.4, "y" : 206.39413246589262485031},{"x" : 47.7, "y" : 206.02044432862695089170},{"x" : 53, "y" : 205.80892687406125673988},{"x" : 58.3, "y" : 205.70442607240053689566},{"x" : 63.6, "y" : 205.66002127788621578475},{"x" : 68.9, "y" : 205.63631183779196476280},{"x" : 74.2, "y" : 205.60073833670381304728},{"x" : 79.5, "y" : 205.52693772902651403456},{"x" : 84.8, "y" : 205.39413161265639473640},{"x" : 90.1, "y" : 205.18654689676370139750},{"x" : 95.4, "y" : 204.89286811662398690714},{"x" : 100.7, "y" : 204.50572064844209307921},{"x" : 106, "y" : 204.02118407710801761823},{"x" : 111.3, "y" : 203.43833496982821884558},{"x" : 116.6, "y" : 202.75881830857107956945},{"x" : 121.9, "y" : 201.98644683427153267985},{"x" : 127.2, "y" : 201.12682755573231929702},{"x" : 132.5, "y" : 200.18701467616685363282},{"x" : 137.8, "y" : 199.17518819032275700920},{"x" : 143.1, "y" : 198.10035740512802249214},{"x" : 148.4, "y" : 196.97208863680208423830},{"x" : 153.7, "y" : 195.80025633737290036152},{"x" : 159, "y" : 194.59481690353916860659},{"x" : 164.3, "y" : 193.36560442082404165376},{"x" : 169.6, "y" : 192.12214759595676127901},{"x" : 174.9, "y" : 190.87350713042573602252},{"x" : 180.2, "y" : 189.62813278814647333093},{"x" : 185.5, "y" : 188.39373941018035907291},{"x" : 190.8, "y" : 187.17720112945221444534},{"x" : 196.1, "y" : 185.98446303840430005039},{"x" : 201.4, "y" : 184.82046956252702329948},{"x" : 206.7, "y" : 183.68910879271086855624},{"x" : 212, "y" : 182.59317202936193780261},{"x" : 217.3, "y" : 181.53432779121450835191},{"x" : 222.6, "y" : 180.51310954179490408933},{"x" : 227.9, "y" : 179.52891638646519822942},{"x" : 233.2, "y" : 178.58002599299626922402},{"x" : 238.5, "y" : 177.66361898861282497819},{"x" : 243.8, "y" : 176.77581408643854388174},{"x" : 249.1, "y" : 175.91171319430316088983},{"x" : 254.4, "y" : 175.06545575883916399107},{"x" : 259.7, "y" : 174.23028159780807300194},{"x" : 265, "y" : 173.39860147360536757333},{"x" : 270.3, "y" : 172.56207466088960700290},{"x" : 275.6, "y" : 171.71169276125107217013},{"x" : 280.9, "y" : 170.83786901790730894390},{"x" : 286.2, "y" : 169.93053238331322063459},{"x" : 291.5, "y" : 168.97922559266999087413},{"x" : 296.8, "y" : 167.97320649625339683553},{"x" : 302.1, "y" : 166.90155190351089231626},{"x" : 307.4, "y" : 165.75326319186018508844},{"x" : 312.7, "y" : 164.51737293313675536410},{"x" : 318, "y" : 163.18305179064174126324},{"x" : 323.3, "y" : 161.73971493969906987331},{"x" : 328.6, "y" : 160.17712726471813766693},{"x" : 333.9, "y" : 158.48550658563590332051},{"x" : 339.2, "y" : 156.65562416672378276417},{"x" : 344.5, "y" : 154.67890176072990016110},{"x" : 349.8, "y" : 152.54750444118803898164},{"x" : 355.1, "y" : 150.25442847598299067613},{"x" : 360.4, "y" : 147.79358349496305891080},{"x" : 365.7, "y" : 145.15986820468151563546},{"x" : 371, "y" : 142.34923890309846683522},{"x" : 376.3, "y" : 139.35877004724852668005},{"x" : 381.6, "y" : 136.18670612678943143692},{"x" : 386.9, "y" : 132.83250409637548727915},{"x" : 392.2, "y" : 129.29686561979679026990},{"x" : 397.5, "y" : 125.58175837887097259227},{"x" : 402.8, "y" : 121.69042569989369440009},{"x" : 408.1, "y" : 117.62738375080698460806},{"x" : 413.4, "y" : 113.39840556180206476711},{"x" : 418.7, "y" : 109.01049112243845229386},{"x" : 424, "y" : 104.47182280821107269730},{"x" : 429.3, "y" : 99.79170538938342360780},{"x" : 434.6, "y" : 94.98048987524498443236},{"x" : 439.9, "y" : 90.04948044651291638729},{"x" : 445.2, "y" : 85.01082372897508321330},{"x" : 450.5, "y" : 79.87737966124313970795},{"x" : 455.8, "y" : 74.66257320952172449324},{"x" : 461.1, "y" : 69.38022618249942752300},{"x" : 466.4, "y" : 64.04436839904064981965},{"x" : 471.7, "y" : 58.66902746198320528492},{"x" : 477, "y" : 53.26799639041473710677},{"x" : 482.3, "y" : 47.85457836421846877784},{"x" : 487.6, "y" : 42.44130783280343166552},{"x" : 492.9, "y" : 37.03964724193065194413},{"x" : 498.2, "y" : 31.65965863084420561790},{"x" : 503.5, "y" : 26.30964935312658781186},{"x" : 508.8, "y" : 20.99579117388020677026},{"x" : 514.1, "y" : 15.72171199648801120929},{"x" : 519.4, "y" : 10.48805947164510143921},{"x" : 524.7, "y" : 5.29203574164603196550},{"x" : 530, "y" : 0.12690257307986030355}]; var dataset_area_19551 = data_chart_area[19551]; svg.append("path") .attr("transform", "translate(0, 20)") .datum(dataset_area_19551) .attr("class", "area") .attr("id", "area_17137") .style('fill-opacity', 0) .attr("fill", "#5c4564") .on('mouseover', function(d, i) { selectItemGraph(17137) }) .attr("d", area); svg.append("path") .attr("transform", "translate(0, 20)") .attr("id", "path_17137") .datum(dataset_19551) .attr("class", "line") .attr("d", line); diameterCalculating = 160; paramsPresureA = [195.1694776309255,-0.6708843315079052,0.01273595377710398,-0.00013407172773252383,6.926635902457705e-7,-1.891720024175506e-9,2.5783561824590835e-12,-1.3791868286551452e-15]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(17137); data_chart[19553] = [{"x" : 0, "y" : 195.16947763092551326736},{"x" : 4.6, "y" : 192.34015874742206619885},{"x" : 9.2, "y" : 189.97575193235320512031},{"x" : 13.8, "y" : 188.00855073246637516604},{"x" : 18.4, "y" : 186.37739448897082183976},{"x" : 23, "y" : 185.02724374919171168585},{"x" : 27.6, "y" : 183.90877235764108377225},{"x" : 32.2, "y" : 182.97797592356434392968},{"x" : 36.8, "y" : 182.19579636202095684894},{"x" : 41.4, "y" : 181.52776220555762165532},{"x" : 46, "y" : 180.94364438353417767757},{"x" : 50.6, "y" : 180.41712716615845124579},{"x" : 55.2, "y" : 179.92549397029151236893},{"x" : 59.8, "y" : 179.44932772407975107853},{"x" : 64.4, "y" : 178.97222548747413384262},{"x" : 69, "y" : 178.48052702569424354806},{"x" : 73.6, "y" : 177.96305703269652553900},{"x" : 78.2, "y" : 177.41088070170522428270},{"x" : 82.8, "y" : 176.81707233986438154716},{"x" : 87.4, "y" : 176.17649672407054595169},{"x" : 92, "y" : 175.48560289504365528046},{"x" : 96.6, "y" : 174.74223008669596879372},{"x" : 101.2, "y" : 173.94542548785659619170},{"x" : 105.8, "y" : 173.09527353341238153916},{"x" : 110.4, "y" : 172.19273642192047191202},{"x" : 115, "y" : 171.23950555675514806353},{"x" : 119.6, "y" : 170.23786360784492899256},{"x" : 124.2, "y" : 169.19055689105931605809},{"x" : 128.8, "y" : 168.10067776230454228426},{"x" : 133.4, "y" : 166.97155672338681142719},{"x" : 138, "y" : 165.80666393670085767553},{"x" : 142.6, "y" : 164.60951984580370321964},{"x" : 147.2, "y" : 163.38361459893167193513},{"x" : 151.8, "y" : 162.13233597251985429466},{"x" : 156.4, "y" : 160.85890549178211017534},{"x" : 161, "y" : 159.56632244541052045861},{"x" : 165.6, "y" : 158.25731549145382359711},{"x" : 170.2, "y" : 156.93430155143249749017},{"x" : 174.8, "y" : 155.59935168974868702207},{"x" : 179.4, "y" : 154.25416367545307139153},{"x" : 184, "y" : 152.90004092342144303984},{"x" : 188.6, "y" : 151.53787751200698608045},{"x" : 193.2, "y" : 150.16814897421926389143},{"x" : 197.8, "y" : 148.79090855949655747281},{"x" : 202.4, "y" : 147.40578866312199579625},{"x" : 207, "y" : 146.01200712035145556911},{"x" : 211.6, "y" : 144.60837806230097157822},{"x" : 216.2, "y" : 143.19332703066481826681},{"x" : 220.8, "y" : 141.76491004831004261177},{"x" : 225.4, "y" : 140.32083634281866579840},{"x" : 230, "y" : 138.85849442002583487010},{"x" : 234.6, "y" : 137.37498118462022489439},{"x" : 239.2, "y" : 135.86713380485764446348},{"x" : 243.8, "y" : 134.33156401845766936276},{"x" : 248.4, "y" : 132.76469457672948237814},{"x" : 253, "y" : 131.16279752399549352049},{"x" : 257.6, "y" : 129.52203400936687671674},{"x" : 262.2, "y" : 127.83849532792729064568},{"x" : 266.8, "y" : 126.10824488839429591280},{"x" : 271.4, "y" : 124.32736080429901903699},{"x" : 276, "y" : 122.49197880576221564297},{"x" : 280.6, "y" : 120.59833516891424665118},{"x" : 285.2, "y" : 118.64280936001497934740},{"x" : 289.8, "y" : 116.62196609134744562652},{"x" : 294.4, "y" : 114.53259648592131725309},{"x" : 299, "y" : 112.37175804807230861115},{"x" : 303.6, "y" : 110.13681313698424446557},{"x" : 308.2, "y" : 107.82546564022891288914},{"x" : 312.8, "y" : 105.43579554434245437733},{"x" : 317.4, "y" : 102.96629109953516945097},{"x" : 322, "y" : 100.41587827557117407196},{"x" : 326.6, "y" : 97.78394720587027677539},{"x" : 331.2, "y" : 95.07037531691889853391},{"x" : 335.8, "y" : 92.27554684002768681239},{"x" : 340.4, "y" : 89.40036840248365024308},{"x" : 345, "y" : 86.44628039518818241049},{"x" : 349.6, "y" : 83.41526381382414001564},{"x" : 354.2, "y" : 80.30984227058934266097},{"x" : 358.8, "y" : 77.13307887358564585156},{"x" : 363.4, "y" : 73.88856767092352129112},{"x" : 368, "y" : 70.58041935655796805804},{"x" : 372.6, "y" : 67.21324093499106311356},{"x" : 377.2, "y" : 63.79210904179171848227},{"x" : 381.8, "y" : 60.32253661711297354486},{"x" : 386.4, "y" : 56.81043262918115033244},{"x" : 391, "y" : 53.26205454481987544568},{"x" : 395.6, "y" : 49.68395324414268543478},{"x" : 400.2, "y" : 46.08291007633170011104},{"x" : 404.8, "y" : 42.46586575376704786322},{"x" : 409.4, "y" : 38.83984078133789807907},{"x" : 414, "y" : 35.21184711814157708432},{"x" : 418.6, "y" : 31.58879076861830981215},{"x" : 423.2, "y" : 27.97736500012888427591},{"x" : 427.8, "y" : 24.38393388402209893684},{"x" : 432.4, "y" : 20.81440585736345383339},{"x" : 437, "y" : 17.27409700223415711662},{"x" : 441.6, "y" : 13.76758373978282179451},{"x" : 446.2, "y" : 10.29854463600076996954},{"x" : 450.8, "y" : 6.86959101633510726970},{"x" : 455.4, "y" : 3.48208608619188453304},{"x" : 460, "y" : 0.13595225429889978841}]; data_chart_name[19553] = "MS"; data_chart_area[19553] = new Array(); if ((data_chart[19553][0].x != undefined && parseFloat(data_chart[19553][0].x))) { var a_before = parseFloat(data_chart[19553][0].y) / (parseFloat(data_chart[19553][0].x) * parseFloat(data_chart[19553][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[19553][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[19553].push({x: _x, y: _y}); } } var last_index = data_chart[19553].length; for(var b = 0; b < last_index; b++) { data_chart_area[19553].push(data_chart[19553][b]); } last_index = last_index - 1; if (data_chart[19553][last_index].y != undefined && parseFloat(data_chart[19553][last_index].y) > 5) { var a_after = parseFloat(data_chart[19553][last_index].y) / (parseFloat(data_chart[19553][last_index].x) * parseFloat(data_chart[19553][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[19553][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[19553].push({x: _x, y: _y}); } } diameterCalculating = 160; paramsPresureA = [170.07486629497546,-0.033285047009744696,-0.011891015046176139,0.00019851501049268592,-1.5049475643609425e-6,5.630275157778422e-9,-1.0381396961691507e-11,7.595795446803548e-15]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(17137); data_chart[19555] = [{"x" : 0, "y" : 170.07486629497546459788},{"x" : 3.6, "y" : 169.80994509554423643749},{"x" : 7.2, "y" : 169.28894219526583242441},{"x" : 10.8, "y" : 168.55882781605836839844},{"x" : 14.4, "y" : 167.66128792417589465913},{"x" : 18, "y" : 166.63309308318454782238},{"x" : 21.6, "y" : 165.50645193634798602034},{"x" : 25.2, "y" : 164.30934961842388020159},{"x" : 28.8, "y" : 163.06587139686988052745},{"x" : 32.4, "y" : 161.79651184246097272990},{"x" : 36, "y" : 160.51846982931576235387},{"x" : 39.6, "y" : 159.24592966433428387063},{"x" : 43.2, "y" : 157.99032864604583892287},{"x" : 46.8, "y" : 156.76061135286695957802},{"x" : 50.4, "y" : 155.56347096077007563508},{"x" : 54, "y" : 154.40357789036303870489},{"x" : 57.6, "y" : 153.28379608337843365007},{"x" : 61.2, "y" : 152.20538720857393855113},{"x" : 64.8, "y" : 151.16820309704326064093},{"x" : 68.4, "y" : 150.17086670693774408392},{"x" : 72, "y" : 149.21094191759800651198},{"x" : 75.6, "y" : 148.28509245309754760456},{"x" : 79.2, "y" : 147.38923023519549815319},{"x" : 82.8, "y" : 146.51865346570156134476},{"x" : 86.4, "y" : 145.66817473825082629446},{"x" : 90, "y" : 144.83223947948985710354},{"x" : 93.6, "y" : 144.00503501967330066691},{"x" : 97.2, "y" : 143.18059059267176280628},{"x" : 100.8, "y" : 142.35286856539045174941},{"x" : 104.4, "y" : 141.51584719659862798835},{"x" : 108, "y" : 140.66359522517015534504},{"x" : 111.6, "y" : 139.79033858773539122922},{"x" : 115.2, "y" : 138.89051956574331825323},{"x" : 118.8, "y" : 137.95884866193580364779},{"x" : 122.4, "y" : 136.99034950623232020916},{"x" : 126, "y" : 135.98039709102565097965},{"x" : 129.6, "y" : 134.92474963588955461091},{"x" : 133.2, "y" : 133.81957438169695251418},{"x" : 136.8, "y" : 132.66146761414978527682},{"x" : 140.4, "y" : 131.44746921671978157065},{"x" : 144, "y" : 130.17507205300051964514},{"x" : 147.6, "y" : 128.84222647847238363283},{"x" : 151.2, "y" : 127.44734028167579253932},{"x" : 154.8, "y" : 125.98927435479889425096},{"x" : 158.4, "y" : 124.46733439367524454156},{"x" : 162, "y" : 122.88125892719274645515},{"x" : 165.6, "y" : 121.23120397611558018980},{"x" : 169.2, "y" : 119.51772464131570927748},{"x" : 172.8, "y" : 117.74175392141643214927},{"x" : 176.4, "y" : 115.90457905985081765721},{"x" : 180, "y" : 114.00781572132601127123},{"x" : 183.6, "y" : 112.05338029770318541978},{"x" : 187.2, "y" : 110.04346064328902343732},{"x" : 190.8, "y" : 107.98048553953850614562},{"x" : 194.4, "y" : 105.86709318916652478038},{"x" : 198, "y" : 103.70609903967833531624},{"x" : 201.6, "y" : 101.50046323630245126424},{"x" : 205.2, "y" : 99.25325800434532652616},{"x" : 208.8, "y" : 96.96763526095054430698},{"x" : 212.4, "y" : 94.64679475627033866658},{"x" : 216, "y" : 92.29395304405761635280},{"x" : 219.6, "y" : 89.91231358165677534089},{"x" : 223.2, "y" : 87.50503825942013236272},{"x" : 226.8, "y" : 85.07522065952107936937},{"x" : 230.4, "y" : 82.62586134419910877114},{"x" : 234, "y" : 80.15984547339468235805},{"x" : 237.6, "y" : 77.67992305181491019539},{"x" : 241.2, "y" : 75.18869210540418634992},{"x" : 244.8, "y" : 72.68858508722075839614},{"x" : 248.4, "y" : 70.18185881273780069023},{"x" : 252, "y" : 67.67058822454856681361},{"x" : 255.6, "y" : 65.15666428648523833544},{"x" : 259.2, "y" : 62.64179630715580060496},{"x" : 262.8, "y" : 60.12751899287650303449},{"x" : 266.4, "y" : 57.61520453004425235122},{"x" : 270, "y" : 55.10607999689966618462},{"x" : 273.6, "y" : 52.60125040470074964105},{"x" : 277.2, "y" : 50.10172766832886281918},{"x" : 280.8, "y" : 47.60846580629299751308},{"x" : 284.4, "y" : 45.12240267014158234815},{"x" : 288, "y" : 42.64450850331468245713},{"x" : 291.6, "y" : 40.17584162936327629723},{"x" : 295.2, "y" : 37.71761156961588312697},{"x" : 298.8, "y" : 35.27124989026697221561},{"x" : 302.4, "y" : 32.83848907883566425880},{"x" : 306, "y" : 30.42144975007272478251},{"x" : 309.6, "y" : 28.02273648126538319048},{"x" : 313.2, "y" : 25.64554257697636785451},{"x" : 316.8, "y" : 23.29376406313713232521},{"x" : 320.4, "y" : 20.97212321065399009967},{"x" : 324, "y" : 18.68630188831275518169},{"x" : 327.6, "y" : 16.44308504519176494796},{"x" : 331.2, "y" : 14.25051462242163324845},{"x" : 334.8, "y" : 12.11805419440224795835},{"x" : 338.4, "y" : 10.05676463942245391081},{"x" : 342, "y" : 8.07949113964332354954},{"x" : 345.6, "y" : 6.20106181059327354888},{"x" : 349.2, "y" : 4.43849825999132008292},{"x" : 352.8, "y" : 2.81123837600262049818},{"x" : 356.4, "y" : 1.34137164494768512668},{"x" : 360, "y" : 0.05388729838068684330}]; data_chart_name[19555] = "LS"; data_chart_area[19555] = new Array(); if ((data_chart[19555][0].x != undefined && parseFloat(data_chart[19555][0].x))) { var a_before = parseFloat(data_chart[19555][0].y) / (parseFloat(data_chart[19555][0].x) * parseFloat(data_chart[19555][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[19555][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[19555].push({x: _x, y: _y}); } } var last_index = data_chart[19555].length; for(var b = 0; b < last_index; b++) { data_chart_area[19555].push(data_chart[19555][b]); } last_index = last_index - 1; if (data_chart[19555][last_index].y != undefined && parseFloat(data_chart[19555][last_index].y) > 5) { var a_after = parseFloat(data_chart[19555][last_index].y) / (parseFloat(data_chart[19555][last_index].x) * parseFloat(data_chart[19555][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[19555][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[19555].push({x: _x, y: _y}); } } diameterCalculating = 200; paramsPresureA = [315.05964621111656,-0.17109793312780122,-0.0027330899379755707,2.30024936544958e-5,-1.0728298325927485e-7,2.6550253759623936e-10,-3.201962800441918e-13,1.4661001663368121e-16]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(5981); data_chart[3494] = [{"x" : 0, "y" : 315.05964621111655787900},{"x" : 7.2, "y" : 313.69436012701356730759},{"x" : 14.4, "y" : 312.09333610673525072343},{"x" : 21.6, "y" : 310.29845553765767363075},{"x" : 28.8, "y" : 308.34584493764543822181},{"x" : 36, "y" : 306.26641460216518453308},{"x" : 43.2, "y" : 304.08636735727912991933},{"x" : 50.4, "y" : 301.82767815969521052466},{"x" : 57.6, "y" : 299.50854528505004736871},{"x" : 64.8, "y" : 297.14381384560095966663},{"x" : 72, "y" : 294.74537237850466908640},{"x" : 79.2, "y" : 292.32252324585812175428},{"x" : 86.4, "y" : 289.88232758767765062657},{"x" : 93.6, "y" : 287.42992556899491773947},{"x" : 100.8, "y" : 284.96883266224403996603},{"x" : 108, "y" : 282.50121270611731461031},{"x" : 115.2, "y" : 280.02812848206684748220},{"x" : 122.4, "y" : 277.54977054962631655144},{"x" : 129.6, "y" : 275.06566508173244756108},{"x" : 136.8, "y" : 272.57486144122026416881},{"x" : 144, "y" : 270.07610023966958578967},{"x" : 151.2, "y" : 267.56796261977945050603},{"x" : 158.4, "y" : 265.04900150244685619327},{"x" : 165.6, "y" : 262.51785553972547404555},{"x" : 172.8, "y" : 259.97334651484339929084},{"x" : 180, "y" : 257.41456093045212583093},{"x" : 187.2, "y" : 254.84091652628865176666},{"x" : 194.4, "y" : 252.25221446742190778423},{"x" : 201.6, "y" : 249.64867794426447744627},{"x" : 208.8, "y" : 247.03097792552324563076},{"x" : 216, "y" : 244.40024680526630618260},{"x" : 223.2, "y" : 241.75808068528391459040},{"x" : 230.4, "y" : 239.10653103391729246141},{"x" : 237.6, "y" : 236.44808646253494543998},{"x" : 244.8, "y" : 233.78564536083038660763},{"x" : 252, "y" : 231.12248013211976171988},{"x" : 259.2, "y" : 228.46219376981412096939},{"x" : 266.4, "y" : 225.80866951624435046142},{"x" : 273.6, "y" : 223.16601434501535550226},{"x" : 280.8, "y" : 220.53849700806330247360},{"x" : 288, "y" : 217.93048138859688833691},{"x" : 295.2, "y" : 215.34635590109533609393},{"x" : 302.4, "y" : 212.79045967954118623311},{"x" : 309.6, "y" : 210.26700629506541417868},{"x" : 316.8, "y" : 207.78000574417853840714},{"x" : 324, "y" : 205.33318544876726718940},{"x" : 331.2, "y" : 202.92991100903157075663},{"x" : 338.4, "y" : 200.57310745053894152079},{"x" : 345.6, "y" : 198.26518170657351447517},{"x" : 352.8, "y" : 196.00794707695297347527},{"x" : 360, "y" : 193.80255040449546299897},{"x" : 367.2, "y" : 191.64940271030795315710},{"x" : 374.4, "y" : 189.54811402907432693610},{"x" : 381.6, "y" : 187.49743318552131654542},{"x" : 388.8, "y" : 185.49519325323728935473},{"x" : 396, "y" : 183.53826343701973655698},{"x" : 403.2, "y" : 181.62250811992561239094},{"x" : 410.4, "y" : 179.74275381621356473261},{"x" : 417.6, "y" : 177.89276477133665821384},{"x" : 424.8, "y" : 176.06522795016917370958},{"x" : 432, "y" : 174.25174815465476285681},{"x" : 439.2, "y" : 172.44285401203813989923},{"x" : 446.4, "y" : 170.62801557485920511681},{"x" : 453.6, "y" : 168.79567427389144995686},{"x" : 460.8, "y" : 166.93328596520279916149},{"x" : 468, "y" : 165.02737781249902582204},{"x" : 475.2, "y" : 163.06361974595495212270},{"x" : 482.4, "y" : 161.02691123868180511636},{"x" : 489.6, "y" : 158.90148414201894411235},{"x" : 496.8, "y" : 156.67102232083425406017},{"x" : 504, "y" : 154.31879882998850916920},{"x" : 511.2, "y" : 151.82783137317846922087},{"x" : 518.4, "y" : 149.18105678527649615717},{"x" : 525.6, "y" : 146.36152527939725587203},{"x" : 532.8, "y" : 143.35261519986192979559},{"x" : 540, "y" : 140.13826902218534087297},{"x" : 547.2, "y" : 136.70325134133099709288},{"x" : 554.4, "y" : 133.03342958935581918922},{"x" : 561.6, "y" : 129.11607822368250708678},{"x" : 568.8, "y" : 124.94020712707924758433},{"x" : 576, "y" : 120.49691496063951490214},{"x" : 583.2, "y" : 115.77976821084394032368},{"x" : 590.4, "y" : 110.78520667193060944555},{"x" : 597.6, "y" : 105.51297610474421162507},{"x" : 604.8, "y" : 99.96658881322218803689},{"x" : 612, "y" : 94.15381287971194979036},{"x" : 619.2, "y" : 88.08719080027640302433},{"x" : 626.4, "y" : 81.78458826121004676679},{"x" : 633.6, "y" : 75.26977379787422250956},{"x" : 640.8, "y" : 68.57303007709015219007},{"x" : 648, "y" : 61.73179754421744291903},{"x" : 655.2, "y" : 54.79135117612167960033},{"x" : 662.4, "y" : 47.80551108124018355738},{"x" : 669.6, "y" : 40.83738768781586259138},{"x" : 676.8, "y" : 33.96016226162282691803},{"x" : 684, "y" : 27.25790349420640268363},{"x" : 691.2, "y" : 20.82642090293120418210},{"x" : 698.4, "y" : 14.77415578399268270005},{"x" : 705.6, "y" : 9.22311045950482366607},{"x" : 712.8, "y" : 4.30981655991126899607},{"x" : 720, "y" : 0.18634308286345913075}]; data_chart_name[3494] = "HS"; data_chart_area[3494] = new Array(); if ((data_chart[3494][0].x != undefined && parseFloat(data_chart[3494][0].x))) { var a_before = parseFloat(data_chart[3494][0].y) / (parseFloat(data_chart[3494][0].x) * parseFloat(data_chart[3494][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[3494][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[3494].push({x: _x, y: _y}); } } var last_index = data_chart[3494].length; for(var b = 0; b < last_index; b++) { data_chart_area[3494].push(data_chart[3494][b]); } last_index = last_index - 1; if (data_chart[3494][last_index].y != undefined && parseFloat(data_chart[3494][last_index].y) > 5) { var a_after = parseFloat(data_chart[3494][last_index].y) / (parseFloat(data_chart[3494][last_index].x) * parseFloat(data_chart[3494][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[3494][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[3494].push({x: _x, y: _y}); } } var dataset_3494 = [{"x" : 0, "y" : 315.05964621111655787900},{"x" : 7.2, "y" : 313.69436012701356730759},{"x" : 14.4, "y" : 312.09333610673525072343},{"x" : 21.6, "y" : 310.29845553765767363075},{"x" : 28.8, "y" : 308.34584493764543822181},{"x" : 36, "y" : 306.26641460216518453308},{"x" : 43.2, "y" : 304.08636735727912991933},{"x" : 50.4, "y" : 301.82767815969521052466},{"x" : 57.6, "y" : 299.50854528505004736871},{"x" : 64.8, "y" : 297.14381384560095966663},{"x" : 72, "y" : 294.74537237850466908640},{"x" : 79.2, "y" : 292.32252324585812175428},{"x" : 86.4, "y" : 289.88232758767765062657},{"x" : 93.6, "y" : 287.42992556899491773947},{"x" : 100.8, "y" : 284.96883266224403996603},{"x" : 108, "y" : 282.50121270611731461031},{"x" : 115.2, "y" : 280.02812848206684748220},{"x" : 122.4, "y" : 277.54977054962631655144},{"x" : 129.6, "y" : 275.06566508173244756108},{"x" : 136.8, "y" : 272.57486144122026416881},{"x" : 144, "y" : 270.07610023966958578967},{"x" : 151.2, "y" : 267.56796261977945050603},{"x" : 158.4, "y" : 265.04900150244685619327},{"x" : 165.6, "y" : 262.51785553972547404555},{"x" : 172.8, "y" : 259.97334651484339929084},{"x" : 180, "y" : 257.41456093045212583093},{"x" : 187.2, "y" : 254.84091652628865176666},{"x" : 194.4, "y" : 252.25221446742190778423},{"x" : 201.6, "y" : 249.64867794426447744627},{"x" : 208.8, "y" : 247.03097792552324563076},{"x" : 216, "y" : 244.40024680526630618260},{"x" : 223.2, "y" : 241.75808068528391459040},{"x" : 230.4, "y" : 239.10653103391729246141},{"x" : 237.6, "y" : 236.44808646253494543998},{"x" : 244.8, "y" : 233.78564536083038660763},{"x" : 252, "y" : 231.12248013211976171988},{"x" : 259.2, "y" : 228.46219376981412096939},{"x" : 266.4, "y" : 225.80866951624435046142},{"x" : 273.6, "y" : 223.16601434501535550226},{"x" : 280.8, "y" : 220.53849700806330247360},{"x" : 288, "y" : 217.93048138859688833691},{"x" : 295.2, "y" : 215.34635590109533609393},{"x" : 302.4, "y" : 212.79045967954118623311},{"x" : 309.6, "y" : 210.26700629506541417868},{"x" : 316.8, "y" : 207.78000574417853840714},{"x" : 324, "y" : 205.33318544876726718940},{"x" : 331.2, "y" : 202.92991100903157075663},{"x" : 338.4, "y" : 200.57310745053894152079},{"x" : 345.6, "y" : 198.26518170657351447517},{"x" : 352.8, "y" : 196.00794707695297347527},{"x" : 360, "y" : 193.80255040449546299897},{"x" : 367.2, "y" : 191.64940271030795315710},{"x" : 374.4, "y" : 189.54811402907432693610},{"x" : 381.6, "y" : 187.49743318552131654542},{"x" : 388.8, "y" : 185.49519325323728935473},{"x" : 396, "y" : 183.53826343701973655698},{"x" : 403.2, "y" : 181.62250811992561239094},{"x" : 410.4, "y" : 179.74275381621356473261},{"x" : 417.6, "y" : 177.89276477133665821384},{"x" : 424.8, "y" : 176.06522795016917370958},{"x" : 432, "y" : 174.25174815465476285681},{"x" : 439.2, "y" : 172.44285401203813989923},{"x" : 446.4, "y" : 170.62801557485920511681},{"x" : 453.6, "y" : 168.79567427389144995686},{"x" : 460.8, "y" : 166.93328596520279916149},{"x" : 468, "y" : 165.02737781249902582204},{"x" : 475.2, "y" : 163.06361974595495212270},{"x" : 482.4, "y" : 161.02691123868180511636},{"x" : 489.6, "y" : 158.90148414201894411235},{"x" : 496.8, "y" : 156.67102232083425406017},{"x" : 504, "y" : 154.31879882998850916920},{"x" : 511.2, "y" : 151.82783137317846922087},{"x" : 518.4, "y" : 149.18105678527649615717},{"x" : 525.6, "y" : 146.36152527939725587203},{"x" : 532.8, "y" : 143.35261519986192979559},{"x" : 540, "y" : 140.13826902218534087297},{"x" : 547.2, "y" : 136.70325134133099709288},{"x" : 554.4, "y" : 133.03342958935581918922},{"x" : 561.6, "y" : 129.11607822368250708678},{"x" : 568.8, "y" : 124.94020712707924758433},{"x" : 576, "y" : 120.49691496063951490214},{"x" : 583.2, "y" : 115.77976821084394032368},{"x" : 590.4, "y" : 110.78520667193060944555},{"x" : 597.6, "y" : 105.51297610474421162507},{"x" : 604.8, "y" : 99.96658881322218803689},{"x" : 612, "y" : 94.15381287971194979036},{"x" : 619.2, "y" : 88.08719080027640302433},{"x" : 626.4, "y" : 81.78458826121004676679},{"x" : 633.6, "y" : 75.26977379787422250956},{"x" : 640.8, "y" : 68.57303007709015219007},{"x" : 648, "y" : 61.73179754421744291903},{"x" : 655.2, "y" : 54.79135117612167960033},{"x" : 662.4, "y" : 47.80551108124018355738},{"x" : 669.6, "y" : 40.83738768781586259138},{"x" : 676.8, "y" : 33.96016226162282691803},{"x" : 684, "y" : 27.25790349420640268363},{"x" : 691.2, "y" : 20.82642090293120418210},{"x" : 698.4, "y" : 14.77415578399268270005},{"x" : 705.6, "y" : 9.22311045950482366607},{"x" : 712.8, "y" : 4.30981655991126899607},{"x" : 720, "y" : 0.18634308286345913075}]; var dataset_area_3494 = data_chart_area[3494]; svg.append("path") .attr("transform", "translate(0, 20)") .datum(dataset_area_3494) .attr("class", "area") .attr("id", "area_5981") .style('fill-opacity', 0) .attr("fill", "#5c4564") .on('mouseover', function(d, i) { selectItemGraph(5981) }) .attr("d", area); svg.append("path") .attr("transform", "translate(0, 20)") .attr("id", "path_5981") .datum(dataset_3494) .attr("class", "line") .attr("d", line); diameterCalculating = 200; paramsPresureA = [280.06355408302755,-0.23558974291392099,-0.004182989510773563,5.634554425185026e-5,-3.2830173651198816e-7,9.1653199090771e-10,-1.2158481020405754e-12,6.1478411266204135e-16]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(5981); data_chart[3496] = [{"x" : 0, "y" : 280.06355408302755449768},{"x" : 6.2, "y" : 278.45505549916731524718},{"x" : 12.4, "y" : 276.59899711651166853699},{"x" : 18.6, "y" : 274.55970990784828700271},{"x" : 24.8, "y" : 272.39179149414945868557},{"x" : 31, "y" : 270.14099307106010883217},{"x" : 37.2, "y" : 267.84505988538455767412},{"x" : 43.4, "y" : 265.53452635274840076818},{"x" : 49.6, "y" : 263.23346690761445643147},{"x" : 55.8, "y" : 260.96020367682478990901},{"x" : 62, "y" : 258.72797206785065782242},{"x" : 68.2, "y" : 256.54554536292209832027},{"x" : 74.4, "y" : 254.41781941021665147673},{"x" : 80.6, "y" : 252.34635850328237438589},{"x" : 86.8, "y" : 250.32990353987196385788},{"x" : 93, "y" : 248.36484355136528279218},{"x" : 99.2, "y" : 246.44565169395471571079},{"x" : 105.4, "y" : 244.56528679277178639495},{"x" : 111.6, "y" : 242.71556153013131051921},{"x" : 117.8, "y" : 240.88747836906810562141},{"x" : 124, "y" : 239.07153430334469135232},{"x" : 130.2, "y" : 237.25799552510480339151},{"x" : 136.4, "y" : 235.43714310135047185213},{"x" : 142.6, "y" : 233.59949075041811283882},{"x" : 148.8, "y" : 231.73597580963124187292},{"x" : 155, "y" : 229.83812448530520100576},{"x" : 161.2, "y" : 227.89819247628062726108},{"x" : 167.4, "y" : 225.90928206216329954259},{"x" : 173.6, "y" : 223.86543674744498844120},{"x" : 179.8, "y" : 221.76171455268300292119},{"x" : 186, "y" : 219.59424104391530363500},{"x" : 192.2, "y" : 217.36024319148557992776},{"x" : 198.4, "y" : 215.05806514945814456041},{"x" : 204.6, "y" : 212.68716704679505369313},{"x" : 210.8, "y" : 210.24810788147590301378},{"x" : 217, "y" : 207.74251360873481075942},{"x" : 223.2, "y" : 205.17303151458875731805},{"x" : 229.4, "y" : 202.54327196583992076739},{"x" : 235.6, "y" : 199.85773862772316533665},{"x" : 241.8, "y" : 197.12174824037461462467},{"x" : 248, "y" : 194.34134104530494369101},{"x" : 254.2, "y" : 191.52318295304394268896},{"x" : 260.4, "y" : 188.67446054314018510922},{"x" : 266.6, "y" : 185.80276998769213037122},{"x" : 272.8, "y" : 182.91600098957866293858},{"x" : 279, "y" : 180.02221682657892642965},{"x" : 285.2, "y" : 177.12953159254655588484},{"x" : 291.4, "y" : 174.24598572681844643739},{"x" : 297.6, "y" : 171.37942092304058405716},{"x" : 303.8, "y" : 168.53735550857609837294},{"x" : 310, "y" : 165.72686138567988223258},{"x" : 316.2, "y" : 162.95444362561519824339},{"x" : 322.4, "y" : 160.22592380688791990906},{"x" : 328.6, "y" : 157.54632818877405497915},{"x" : 334.8, "y" : 154.91978181131622704925},{"x" : 341, "y" : 152.34940961297428430044},{"x" : 347.2, "y" : 149.83724565708916998119},{"x" : 353.4, "y" : 147.38415155835349423796},{"x" : 359.6, "y" : 144.98974520045703684445},{"x" : 365.8, "y" : 142.65234083608652326802},{"x" : 372, "y" : 140.36890166045304795261},{"x" : 378.2, "y" : 138.13500594952677147376},{"x" : 384.4, "y" : 135.94482785414925274381},{"x" : 390.6, "y" : 133.79113394121850433294},{"x" : 396.8, "y" : 131.66529657309104095475},{"x" : 403, "y" : 129.55732521640311460942},{"x" : 409.2, "y" : 127.45591677149423048832},{"x" : 415.4, "y" : 125.34852601357056300913},{"x" : 421.6, "y" : 123.22145723683115647873},{"x" : 427.8, "y" : 121.05997819270100990252},{"x" : 434, "y" : 118.84845741335720958887},{"x" : 440.2, "y" : 116.57052601172949835018},{"x" : 446.4, "y" : 114.20926504916224075714},{"x" : 452.6, "y" : 111.74741956186244351557},{"x" : 458.8, "y" : 109.16764033739400474587},{"x" : 465, "y" : 106.45275453232534346171},{"x" : 471.2, "y" : 103.58606622219303972088},{"x" : 477.4, "y" : 100.55168797510032163700},{"x" : 483.6, "y" : 97.33490453990179958055},{"x" : 489.8, "y" : 93.92256974035080929752},{"x" : 496, "y" : 90.30353766625739808660},{"x" : 502.2, "y" : 86.46912925294054730330},{"x" : 508.4, "y" : 82.41363534001447987976},{"x" : 514.6, "y" : 78.13485730082265945384},{"x" : 520.8, "y" : 73.63468633365664572921},{"x" : 527, "y" : 68.91972250581238768063},{"x" : 533.2, "y" : 64.00193464186213532230},{"x" : 539.4, "y" : 58.89936214723184093600},{"x" : 545.6, "y" : 53.63685985811571299564},{"x" : 551.8, "y" : 48.24688700923798023723},{"x" : 558, "y" : 42.77034141026342695113},{"x" : 564.2, "y" : 37.25743992227580747567},{"x" : 570.4, "y" : 31.76864632549404632300},{"x" : 576.6, "y" : 26.37564766918876557611},{"x" : 582.8, "y" : 21.16238019531738245860},{"x" : 589, "y" : 16.22610592673481733073},{"x" : 595.2, "y" : 11.67854101126249588560},{"x" : 601.4, "y" : 7.64703691304021049291},{"x" : 607.6, "y" : 4.27581554173593758605},{"x" : 613.8, "y" : 1.72725941153839812614},{"x" : 620, "y" : 0.18325792055475176312}]; data_chart_name[3496] = "MS"; data_chart_area[3496] = new Array(); if ((data_chart[3496][0].x != undefined && parseFloat(data_chart[3496][0].x))) { var a_before = parseFloat(data_chart[3496][0].y) / (parseFloat(data_chart[3496][0].x) * parseFloat(data_chart[3496][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[3496][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[3496].push({x: _x, y: _y}); } } var last_index = data_chart[3496].length; for(var b = 0; b < last_index; b++) { data_chart_area[3496].push(data_chart[3496][b]); } last_index = last_index - 1; if (data_chart[3496][last_index].y != undefined && parseFloat(data_chart[3496][last_index].y) > 5) { var a_after = parseFloat(data_chart[3496][last_index].y) / (parseFloat(data_chart[3496][last_index].x) * parseFloat(data_chart[3496][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[3496][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[3496].push({x: _x, y: _y}); } } diameterCalculating = 200; paramsPresureA = [245.02982314690607,-0.03237870678782872,-0.00799522053960532,9.240094942982244e-5,-5.058416761216238e-7,1.38981308641222e-9,-1.8728805050214095e-12,9.85014546040913e-16]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(5981); data_chart[3498] = [{"x" : 0, "y" : 245.02982314690606813201},{"x" : 5.4, "y" : 244.63596353763756496846},{"x" : 10.8, "y" : 243.85728850850173898834},{"x" : 16.2, "y" : 242.76654506980341352573},{"x" : 21.6, "y" : 241.42761758486102507959},{"x" : 27, "y" : 239.89621218173311945066},{"x" : 32.4, "y" : 238.22050972377002153735},{"x" : 37.8, "y" : 236.44178800369641635370},{"x" : 43.2, "y" : 234.59501382593083462780},{"x" : 48.6, "y" : 232.70940564184840582129},{"x" : 54, "y" : 230.80896740269159295167},{"x" : 59.4, "y" : 228.91299429483575522681},{"x" : 64.8, "y" : 227.03655102211467919915},{"x" : 70.2, "y" : 225.19092329991312340098},{"x" : 75.6, "y" : 223.38404322573009608277},{"x" : 81, "y" : 221.62088919092099104091},{"x" : 86.4, "y" : 219.90386099832309696467},{"x" : 91.8, "y" : 218.23313085047055892574},{"x" : 97.2, "y" : 216.60697087310481379063},{"x" : 102.6, "y" : 215.02205783868626554067},{"x" : 108, "y" : 213.47375575461319385795},{"x" : 113.4, "y" : 211.95637698085337774501},{"x" : 118.8, "y" : 210.46342254169448438006},{"x" : 124.2, "y" : 208.98780229631930183132},{"x" : 129.6, "y" : 207.52203563291141108493},{"x" : 135, "y" : 206.05843335099703494961},{"x" : 140.4, "y" : 204.58926139672897193122},{"x" : 145.8, "y" : 203.10688711581903476144},{"x" : 151.2, "y" : 201.60390868882365111858},{"x" : 156.6, "y" : 200.07326841349032520156},{"x" : 162, "y" : 198.50835049886765659721},{"x" : 167.4, "y" : 196.90306403588922989911},{"x" : 172.8, "y" : 195.25191180913279254128},{"x" : 178.2, "y" : 193.55004561446369848454},{"x" : 183.6, "y" : 191.79330874726665001617},{"x" : 189, "y" : 189.97826632597175944284},{"x" : 194.4, "y" : 188.10222411558439148394},{"x" : 199.8, "y" : 186.16323651591585530696},{"x" : 205.2, "y" : 184.16010437923208087341},{"x" : 210.6, "y" : 182.09236332201658115082},{"x" : 216, "y" : 179.96026319556023054247},{"x" : 221.4, "y" : 177.76473938007819697305},{"x" : 226.8, "y" : 175.50737656706505163129},{"x" : 232.2, "y" : 173.19036569459012753214},{"x" : 237.6, "y" : 170.81645470024005817322},{"x" : 243, "y" : 168.38889375641673495920},{"x" : 248.4, "y" : 165.91137565269013975922},{"x" : 253.8, "y" : 163.38797198992148196339},{"x" : 259.2, "y" : 160.82306585085188999074},{"x" : 264.6, "y" : 158.22128161187373507346},{"x" : 270, "y" : 155.58741256067642666494},{"x" : 275.4, "y" : 152.92634698448904373436},{"x" : 280.8, "y" : 150.24299339361141392146},{"x" : 286.2, "y" : 147.54220554494733619322},{"x" : 291.6, "y" : 144.82870793024486033573},{"x" : 297, "y" : 142.10702239374319333365},{"x" : 302.4, "y" : 139.38139654394646527180},{"x" : 307.8, "y" : 136.65573462420996975197},{"x" : 313.2, "y" : 133.93353150686527897051},{"x" : 318.6, "y" : 131.21781047557112742652},{"x" : 324, "y" : 128.51106546061777180512},{"x" : 329.4, "y" : 125.81520839186492821682},{"x" : 334.8, "y" : 123.13152233404144908491},{"x" : 340.2, "y" : 120.46062106909562317014},{"x" : 345.6, "y" : 117.80241579032201570953},{"x" : 351, "y" : 115.15608957294477932010},{"x" : 356.4, "y" : 112.52008028588784327439},{"x" : 361.8, "y" : 109.89207260941816457489},{"x" : 367.2, "y" : 107.26899982338727568276},{"x" : 372.6, "y" : 104.64705603074332884717},{"x" : 378, "y" : 102.02171948109275945171},{"x" : 383.4, "y" : 99.38778765890174327069},{"x" : 388.8, "y" : 96.73942480114919817424},{"x" : 394.2, "y" : 94.07022250909949434572},{"x" : 399.6, "y" : 91.37327411887713424221},{"x" : 405, "y" : 88.64126349558569017972},{"x" : 410.4, "y" : 85.86656891564621219004},{"x" : 415.8, "y" : 83.04138270210205519106},{"x" : 421.2, "y" : 80.15784727752497929032},{"x" : 426.6, "y" : 77.20820829934700668673},{"x" : 432, "y" : 74.18498554216421325691},{"x" : 437.4, "y" : 71.08116219184194051195},{"x" : 442.8, "y" : 67.89039321614245636738},{"x" : 448.2, "y" : 64.60723347642215230735},{"x" : 453.6, "y" : 61.22738624528665241087},{"x" : 459, "y" : 57.74797279483573220205},{"x" : 464.4, "y" : 54.16782372014677093830},{"x" : 469.8, "y" : 50.48779266278597788187},{"x" : 475.2, "y" : 46.71109309906023554504},{"x" : 480.6, "y" : 42.84365885762417747173},{"x" : 486, "y" : 38.89452903120127302827},{"x" : 491.4, "y" : 34.87625794721407146426},{"x" : 496.8, "y" : 30.80535086181862425292},{"x" : 502.2, "y" : 26.70272604225738177774},{"x" : 507.6, "y" : 22.59420390214836515952},{"x" : 513, "y" : 18.51102385435115138534},{"x" : 518.4, "y" : 14.49038954627940256614},{"x" : 523.8, "y" : 10.57604314224045083392},{"x" : 529.2, "y" : 6.81886931742155866232},{"x" : 534.6, "y" : 3.27752962856538943015},{"x" : 540, "y" : 0.01912792563598486595}]; data_chart_name[3498] = "LS"; data_chart_area[3498] = new Array(); if ((data_chart[3498][0].x != undefined && parseFloat(data_chart[3498][0].x))) { var a_before = parseFloat(data_chart[3498][0].y) / (parseFloat(data_chart[3498][0].x) * parseFloat(data_chart[3498][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[3498][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[3498].push({x: _x, y: _y}); } } var last_index = data_chart[3498].length; for(var b = 0; b < last_index; b++) { data_chart_area[3498].push(data_chart[3498][b]); } last_index = last_index - 1; if (data_chart[3498][last_index].y != undefined && parseFloat(data_chart[3498][last_index].y) > 5) { var a_after = parseFloat(data_chart[3498][last_index].y) / (parseFloat(data_chart[3498][last_index].x) * parseFloat(data_chart[3498][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[3498][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[3498].push({x: _x, y: _y}); } } diameterCalculating = 200; paramsPresureA = [240.19868372258327,-0.45889603239017235,0.007500684132244729,-4.6875056038936655e-5,1.3976620410700412e-7,-2.1857243212624398e-10,1.7094678552588193e-13,-5.290565594428502e-17]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(17138); data_chart[19557] = [{"x" : 0, "y" : 240.19868372258326871815},{"x" : 8.2, "y" : 236.91486071404597169021},{"x" : 16.4, "y" : 234.49326416506139025842},{"x" : 24.6, "y" : 232.80038284584495045237},{"x" : 32.8, "y" : 231.71600660825558293254},{"x" : 41, "y" : 231.13234531213248601489},{"x" : 49.2, "y" : 230.95318317516716888349},{"x" : 57.4, "y" : 231.09306788160515111485},{"x" : 65.6, "y" : 231.47653378507089882987},{"x" : 73.8, "y" : 232.03735854081040201891},{"x" : 82, "y" : 232.71785250264537125986},{"x" : 90.2, "y" : 233.46818021993260572344},{"x" : 98.4, "y" : 234.24571336982285174599},{"x" : 106.6, "y" : 235.01441446011344282851},{"x" : 114.8, "y" : 235.74425063798759083511},{"x" : 123, "y" : 236.41063693993615402178},{"x" : 131.2, "y" : 236.99390831815378533065},{"x" : 139.4, "y" : 237.47881977870517289375},{"x" : 147.6, "y" : 237.85407396675432778466},{"x" : 155.8, "y" : 238.11187553415112461153},{"x" : 164, "y" : 238.24751162466952791874},{"x" : 172.2, "y" : 238.25895781219099944792},{"x" : 180.4, "y" : 238.14650882712726343016},{"x" : 188.6, "y" : 237.91243340637623759903},{"x" : 196.8, "y" : 237.56065260210533551799},{"x" : 205, "y" : 237.09644088465660161091},{"x" : 213.2, "y" : 236.52614937486600865668},{"x" : 221.4, "y" : 235.85695054109271495690},{"x" : 229.6, "y" : 235.09660369625240150526},{"x" : 237.8, "y" : 234.25324063014576836395},{"x" : 246, "y" : 233.33517071238026119318},{"x" : 254.2, "y" : 232.35070480117607871762},{"x" : 262.4, "y" : 231.30799729335171832645},{"x" : 270.6, "y" : 230.21490565078195800197},{"x" : 278.8, "y" : 229.07886673862438442484},{"x" : 287, "y" : 227.90678931060642753437},{"x" : 295.2, "y" : 226.70496197666639659474},{"x" : 303.4, "y" : 225.47897598824573606180},{"x" : 311.6, "y" : 224.23366217652431942042},{"x" : 319.8, "y" : 222.97304137888932018541},{"x" : 328, "y" : 221.70028768894042059401},{"x" : 336.2, "y" : 220.41770386531680969711},{"x" : 344.4, "y" : 219.12670823464463865093},{"x" : 352.6, "y" : 217.82783242389353972612},{"x" : 360.8, "y" : 216.52072925745218867633},{"x" : 369, "y" : 215.20419015418468688949},{"x" : 377.2, "y" : 213.87617135980511307025},{"x" : 385.4, "y" : 212.53382834981962901111},{"x" : 393.6, "y" : 211.17355773837186916353},{"x" : 401.8, "y" : 209.79104602824730818611},{"x" : 410, "y" : 208.38132453735801163930},{"x" : 418.2, "y" : 206.93882983699603528294},{"x" : 426.4, "y" : 205.45746903713316555695},{"x" : 434.6, "y" : 203.93068925408846325809},{"x" : 442.8, "y" : 202.35155059582893954939},{"x" : 451, "y" : 200.71280200022468420684},{"x" : 459.2, "y" : 199.00695926152371839635},{"x" : 467.4, "y" : 197.22638458037164355119},{"x" : 475.6, "y" : 195.36336697264204076419},{"x" : 483.8, "y" : 193.41020287238740138491},{"x" : 492, "y" : 191.35927626421147351721},{"x" : 500.2, "y" : 189.20313768032195866908},{"x" : 508.4, "y" : 186.93458139760826952624},{"x" : 516.6, "y" : 184.54672016999870720610},{"x" : 524.8, "y" : 182.03305683140217752225},{"x" : 533, "y" : 179.38755210453950894589},{"x" : 541.2, "y" : 176.60468795094732286088},{"x" : 549.4, "y" : 173.67952579744041941012},{"x" : 557.6, "y" : 170.60775897435416936787},{"x" : 565.8, "y" : 167.38575870083388963394},{"x" : 574, "y" : 164.01061295246518056956},{"x" : 582.2, "y" : 160.48015754657490106183},{"x" : 590.4, "y" : 156.79299878044753313588},{"x" : 598.6, "y" : 152.94852695778331508336},{"x" : 606.8, "y" : 148.94692013867575042241},{"x" : 615, "y" : 144.78913744844271604961},{"x" : 623.2, "y" : 140.47690128050840030483},{"x" : 631.4, "y" : 136.01266772875396782183},{"x" : 639.6, "y" : 131.39958458455339496140},{"x" : 647.8, "y" : 126.64143623376776304212},{"x" : 656, "y" : 121.74257478912704755203},{"x" : 664.2, "y" : 116.70783679306032354361},{"x" : 672.4, "y" : 111.54244482652666192735},{"x" : 680.6, "y" : 106.25189335895038311719},{"x" : 688.8, "y" : 100.84181817465878339135},{"x" : 697, "y" : 95.31784871099625888746},{"x" : 705.2, "y" : 89.68544264368665608345},{"x" : 713.4, "y" : 83.94970205431854992639},{"x" : 721.6, "y" : 78.11517051556438673288},{"x" : 729.8, "y" : 72.18561042941655614413},{"x" : 738, "y" : 66.16375995354428596329},{"x" : 746.2, "y" : 60.05106885119857906830},{"x" : 754.4, "y" : 53.84741259996735607274},{"x" : 762.6, "y" : 47.55078409461020783056},{"x" : 770.8, "y" : 41.15696227935040951706},{"x" : 779, "y" : 34.65915704478356929030},{"x" : 787.2, "y" : 28.04762972489515959751},{"x" : 795.4, "y" : 21.30928852915167226456},{"x" : 803.6, "y" : 14.42725824561239278410},{"x" : 811.8, "y" : 7.38042354922436061315},{"x" : 820, "y" : 0.14294525209152197931}]; data_chart_name[19557] = "HS"; data_chart_area[19557] = new Array(); if ((data_chart[19557][0].x != undefined && parseFloat(data_chart[19557][0].x))) { var a_before = parseFloat(data_chart[19557][0].y) / (parseFloat(data_chart[19557][0].x) * parseFloat(data_chart[19557][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[19557][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[19557].push({x: _x, y: _y}); } } var last_index = data_chart[19557].length; for(var b = 0; b < last_index; b++) { data_chart_area[19557].push(data_chart[19557][b]); } last_index = last_index - 1; if (data_chart[19557][last_index].y != undefined && parseFloat(data_chart[19557][last_index].y) > 5) { var a_after = parseFloat(data_chart[19557][last_index].y) / (parseFloat(data_chart[19557][last_index].x) * parseFloat(data_chart[19557][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[19557][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[19557].push({x: _x, y: _y}); } } var dataset_19557 = [{"x" : 0, "y" : 240.19868372258326871815},{"x" : 8.2, "y" : 236.91486071404597169021},{"x" : 16.4, "y" : 234.49326416506139025842},{"x" : 24.6, "y" : 232.80038284584495045237},{"x" : 32.8, "y" : 231.71600660825558293254},{"x" : 41, "y" : 231.13234531213248601489},{"x" : 49.2, "y" : 230.95318317516716888349},{"x" : 57.4, "y" : 231.09306788160515111485},{"x" : 65.6, "y" : 231.47653378507089882987},{"x" : 73.8, "y" : 232.03735854081040201891},{"x" : 82, "y" : 232.71785250264537125986},{"x" : 90.2, "y" : 233.46818021993260572344},{"x" : 98.4, "y" : 234.24571336982285174599},{"x" : 106.6, "y" : 235.01441446011344282851},{"x" : 114.8, "y" : 235.74425063798759083511},{"x" : 123, "y" : 236.41063693993615402178},{"x" : 131.2, "y" : 236.99390831815378533065},{"x" : 139.4, "y" : 237.47881977870517289375},{"x" : 147.6, "y" : 237.85407396675432778466},{"x" : 155.8, "y" : 238.11187553415112461153},{"x" : 164, "y" : 238.24751162466952791874},{"x" : 172.2, "y" : 238.25895781219099944792},{"x" : 180.4, "y" : 238.14650882712726343016},{"x" : 188.6, "y" : 237.91243340637623759903},{"x" : 196.8, "y" : 237.56065260210533551799},{"x" : 205, "y" : 237.09644088465660161091},{"x" : 213.2, "y" : 236.52614937486600865668},{"x" : 221.4, "y" : 235.85695054109271495690},{"x" : 229.6, "y" : 235.09660369625240150526},{"x" : 237.8, "y" : 234.25324063014576836395},{"x" : 246, "y" : 233.33517071238026119318},{"x" : 254.2, "y" : 232.35070480117607871762},{"x" : 262.4, "y" : 231.30799729335171832645},{"x" : 270.6, "y" : 230.21490565078195800197},{"x" : 278.8, "y" : 229.07886673862438442484},{"x" : 287, "y" : 227.90678931060642753437},{"x" : 295.2, "y" : 226.70496197666639659474},{"x" : 303.4, "y" : 225.47897598824573606180},{"x" : 311.6, "y" : 224.23366217652431942042},{"x" : 319.8, "y" : 222.97304137888932018541},{"x" : 328, "y" : 221.70028768894042059401},{"x" : 336.2, "y" : 220.41770386531680969711},{"x" : 344.4, "y" : 219.12670823464463865093},{"x" : 352.6, "y" : 217.82783242389353972612},{"x" : 360.8, "y" : 216.52072925745218867633},{"x" : 369, "y" : 215.20419015418468688949},{"x" : 377.2, "y" : 213.87617135980511307025},{"x" : 385.4, "y" : 212.53382834981962901111},{"x" : 393.6, "y" : 211.17355773837186916353},{"x" : 401.8, "y" : 209.79104602824730818611},{"x" : 410, "y" : 208.38132453735801163930},{"x" : 418.2, "y" : 206.93882983699603528294},{"x" : 426.4, "y" : 205.45746903713316555695},{"x" : 434.6, "y" : 203.93068925408846325809},{"x" : 442.8, "y" : 202.35155059582893954939},{"x" : 451, "y" : 200.71280200022468420684},{"x" : 459.2, "y" : 199.00695926152371839635},{"x" : 467.4, "y" : 197.22638458037164355119},{"x" : 475.6, "y" : 195.36336697264204076419},{"x" : 483.8, "y" : 193.41020287238740138491},{"x" : 492, "y" : 191.35927626421147351721},{"x" : 500.2, "y" : 189.20313768032195866908},{"x" : 508.4, "y" : 186.93458139760826952624},{"x" : 516.6, "y" : 184.54672016999870720610},{"x" : 524.8, "y" : 182.03305683140217752225},{"x" : 533, "y" : 179.38755210453950894589},{"x" : 541.2, "y" : 176.60468795094732286088},{"x" : 549.4, "y" : 173.67952579744041941012},{"x" : 557.6, "y" : 170.60775897435416936787},{"x" : 565.8, "y" : 167.38575870083388963394},{"x" : 574, "y" : 164.01061295246518056956},{"x" : 582.2, "y" : 160.48015754657490106183},{"x" : 590.4, "y" : 156.79299878044753313588},{"x" : 598.6, "y" : 152.94852695778331508336},{"x" : 606.8, "y" : 148.94692013867575042241},{"x" : 615, "y" : 144.78913744844271604961},{"x" : 623.2, "y" : 140.47690128050840030483},{"x" : 631.4, "y" : 136.01266772875396782183},{"x" : 639.6, "y" : 131.39958458455339496140},{"x" : 647.8, "y" : 126.64143623376776304212},{"x" : 656, "y" : 121.74257478912704755203},{"x" : 664.2, "y" : 116.70783679306032354361},{"x" : 672.4, "y" : 111.54244482652666192735},{"x" : 680.6, "y" : 106.25189335895038311719},{"x" : 688.8, "y" : 100.84181817465878339135},{"x" : 697, "y" : 95.31784871099625888746},{"x" : 705.2, "y" : 89.68544264368665608345},{"x" : 713.4, "y" : 83.94970205431854992639},{"x" : 721.6, "y" : 78.11517051556438673288},{"x" : 729.8, "y" : 72.18561042941655614413},{"x" : 738, "y" : 66.16375995354428596329},{"x" : 746.2, "y" : 60.05106885119857906830},{"x" : 754.4, "y" : 53.84741259996735607274},{"x" : 762.6, "y" : 47.55078409461020783056},{"x" : 770.8, "y" : 41.15696227935040951706},{"x" : 779, "y" : 34.65915704478356929030},{"x" : 787.2, "y" : 28.04762972489515959751},{"x" : 795.4, "y" : 21.30928852915167226456},{"x" : 803.6, "y" : 14.42725824561239278410},{"x" : 811.8, "y" : 7.38042354922436061315},{"x" : 820, "y" : 0.14294525209152197931}]; var dataset_area_19557 = data_chart_area[19557]; svg.append("path") .attr("transform", "translate(0, 20)") .datum(dataset_area_19557) .attr("class", "area") .attr("id", "area_17138") .style('fill-opacity', 0) .attr("fill", "#5c4564") .on('mouseover', function(d, i) { selectItemGraph(17138) }) .attr("d", area); svg.append("path") .attr("transform", "translate(0, 20)") .attr("id", "path_17138") .datum(dataset_19557) .attr("class", "line") .attr("d", line); diameterCalculating = 200; paramsPresureA = [225.13944879512417,-0.21451381436332304,0.0008004084141609735,7.470929873463485e-6,-7.154828729127227e-8,2.0508275143750435e-10,-2.5396257741389885e-13,1.1613434189257526e-16]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(17138); data_chart[19559] = [{"x" : 0, "y" : 225.13944879512416719081},{"x" : 7.1, "y" : 223.65924508079521615400},{"x" : 14.2, "y" : 222.27334568469845521577},{"x" : 21.3, "y" : 220.99178643820840761691},{"x" : 28.4, "y" : 219.82107775873674881950},{"x" : 35.5, "y" : 218.76459188500444952297},{"x" : 42.6, "y" : 217.82292828584445487650},{"x" : 49.7, "y" : 216.99425777488781363900},{"x" : 56.8, "y" : 216.27464586348574471231},{"x" : 63.9, "y" : 215.65835588422109481144},{"x" : 71, "y" : 215.13813241736212944488},{"x" : 78.1, "y" : 214.70546555261057619646},{"x" : 85.2, "y" : 214.35083651849836883230},{"x" : 92.3, "y" : 214.06394521178484069424},{"x" : 99.4, "y" : 213.83392015920787798677},{"x" : 106.5, "y" : 213.64951144394137827476},{"x" : 113.6, "y" : 213.49926712911289428121},{"x" : 120.7, "y" : 213.37169371073332513333},{"x" : 127.8, "y" : 213.25540113239227935082},{"x" : 134.9, "y" : 213.13923289407173911059},{"x" : 142, "y" : 213.01238178743108164781},{"x" : 149.1, "y" : 212.86449178991614417100},{"x" : 156.2, "y" : 212.68574665004567236792},{"x" : 163.3, "y" : 212.46694569622752624127},{"x" : 170.4, "y" : 212.19956740145812545961},{"x" : 177.5, "y" : 211.87582123625762164920},{"x" : 184.6, "y" : 211.48868834219379664319},{"x" : 191.7, "y" : 211.03195155834785623483},{"x" : 198.8, "y" : 210.50021533307520371636},{"x" : 205.9, "y" : 209.88891605341260060413},{"x" : 213, "y" : 209.19432332448755573751},{"x" : 220.1, "y" : 208.41353273127921852392},{"x" : 227.2, "y" : 207.54445061508755543400},{"x" : 234.3, "y" : 206.58577139706002867570},{"x" : 241.4, "y" : 205.53694798113150454810},{"x" : 248.5, "y" : 204.39815576872899782757},{"x" : 255.6, "y" : 203.17025081759433646766},{"x" : 262.7, "y" : 201.85472267707766036438},{"x" : 269.8, "y" : 200.45364243225520795022},{"x" : 276.9, "y" : 198.96960648922322434373},{"x" : 284, "y" : 197.40567663392252484300},{"x" : 291.1, "y" : 195.76531689684395587392},{"x" : 298.2, "y" : 194.05232775597195882256},{"x" : 305.3, "y" : 192.27077821031352300452},{"x" : 312.4, "y" : 190.42493625637169429865},{"x" : 319.5, "y" : 188.51919829991052779405},{"x" : 326.6, "y" : 186.55801803536928673566},{"x" : 333.7, "y" : 184.54583532527539091461},{"x" : 340.8, "y" : 182.48700561201161463032},{"x" : 347.9, "y" : 180.38573039428848687749},{"x" : 355, "y" : 178.24598930067566016078},{"x" : 362.1, "y" : 176.07147429254479220617},{"x" : 369.2, "y" : 173.86552652877941227416},{"x" : 376.3, "y" : 171.63107642459681301261},{"x" : 383.4, "y" : 169.37058743684835349086},{"x" : 390.5, "y" : 167.08600410813826897538},{"x" : 397.6, "y" : 164.77870490211748233378},{"x" : 404.7, "y" : 162.44946036231104358194},{"x" : 411.8, "y" : 160.09839712682537538058},{"x" : 418.9, "y" : 157.72496833129406468288},{"x" : 426, "y" : 155.32793093240167081603},{"x" : 433.1, "y" : 152.90533048436395802128},{"x" : 440.2, "y" : 150.45449390068750972205},{"x" : 447.3, "y" : 147.97203073358787150937},{"x" : 454.4, "y" : 145.45384350339833190446},{"x" : 461.5, "y" : 142.89514761033558443160},{"x" : 468.6, "y" : 140.29050136097214362962},{"x" : 475.7, "y" : 137.63384664176612659503},{"x" : 482.8, "y" : 134.91856077199975061376},{"x" : 489.9, "y" : 132.13752006848562814412},{"x" : 497, "y" : 129.28317565439101599623},{"x" : 504.1, "y" : 126.34764204452892499830},{"x" : 511.2, "y" : 123.32279903947460297786},{"x" : 518.3, "y" : 120.20040746085714999936},{"x" : 525.4, "y" : 116.97223926018068596022},{"x" : 532.5, "y" : 113.63022253352710322361},{"x" : 539.6, "y" : 110.16660197449346014764},{"x" : 546.7, "y" : 106.57411529772093672364},{"x" : 553.8, "y" : 102.84618616535112778365},{"x" : 560.9, "y" : 98.97713414879876836494},{"x" : 568, "y" : 94.96240225815245139529},{"x" : 575.1, "y" : 90.79880257157310552429},{"x" : 582.2, "y" : 86.48478049705818193615},{"x" : 589.3, "y" : 82.02069819891312363325},{"x" : 596.4, "y" : 77.40913772125759351184},{"x" : 603.5, "y" : 72.65522434096510551171},{"x" : 610.6, "y" : 67.76697068235716869822},{"x" : 617.7, "y" : 62.75564212602557745413},{"x" : 624.8, "y" : 57.63614404410145652946},{"x" : 631.9, "y" : 52.42743139437425270444},{"x" : 639, "y" : 47.15294120556336565642},{"x" : 646.1, "y" : 41.84104848613787908107},{"x" : 653.2, "y" : 36.52554608899481536355},{"x" : 660.3, "y" : 31.24614906440183403902},{"x" : 667.4, "y" : 26.04902403350206441246},{"x" : 674.5, "y" : 20.98734411477016692515},{"x" : 681.6, "y" : 16.12186993575414817315},{"x" : 688.7, "y" : 11.52155726248383871280},{"x" : 695.8, "y" : 7.26419177883690281305},{"x" : 702.9, "y" : 3.43705154832241532858},{"x" : 710, "y" : 0.13759769048192538321}]; data_chart_name[19559] = "MS"; data_chart_area[19559] = new Array(); if ((data_chart[19559][0].x != undefined && parseFloat(data_chart[19559][0].x))) { var a_before = parseFloat(data_chart[19559][0].y) / (parseFloat(data_chart[19559][0].x) * parseFloat(data_chart[19559][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[19559][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[19559].push({x: _x, y: _y}); } } var last_index = data_chart[19559].length; for(var b = 0; b < last_index; b++) { data_chart_area[19559].push(data_chart[19559][b]); } last_index = last_index - 1; if (data_chart[19559][last_index].y != undefined && parseFloat(data_chart[19559][last_index].y) > 5) { var a_after = parseFloat(data_chart[19559][last_index].y) / (parseFloat(data_chart[19559][last_index].x) * parseFloat(data_chart[19559][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[19559][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[19559].push({x: _x, y: _y}); } } diameterCalculating = 200; paramsPresureA = [205.0711641731261,-0.05204873964944619,-0.0037128110436819794,4.8012783415826284e-5,-2.5648907870664193e-7,6.49479196986143e-10,-7.901602673089052e-13,3.7186076472271544e-16]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(17138); data_chart[19561] = [{"x" : 0, "y" : 205.07116417312610678891},{"x" : 6.3, "y" : 204.60750344563206226667},{"x" : 12.6, "y" : 203.91568617028403309632},{"x" : 18.9, "y" : 203.05413983390775456428},{"x" : 25.2, "y" : 202.07306593476934608589},{"x" : 31.5, "y" : 201.01512699716920451465},{"x" : 37.8, "y" : 199.91610023015834940452},{"x" : 44.1, "y" : 198.80549856861301805111},{"x" : 50.4, "y" : 197.70715983490234179953},{"x" : 56.7, "y" : 196.63980475938404879344},{"x" : 63, "y" : 195.61756459796418994301},{"x" : 69.3, "y" : 194.65047908495495221359},{"x" : 75.6, "y" : 193.74496545946672654281},{"x" : 81.9, "y" : 192.90425930356946082611},{"x" : 88.2, "y" : 192.12882793045744733718},{"x" : 94.5, "y" : 191.41675706085447927762},{"x" : 100.8, "y" : 190.76411152589290054493},{"x" : 107.1, "y" : 190.16527073470291497870},{"x" : 113.4, "y" : 189.61323964494673077752},{"x" : 119.7, "y" : 189.09993597453279789988},{"x" : 126, "y" : 188.61645439274548152753},{"x" : 132.3, "y" : 188.15330842902534413952},{"x" : 138.6, "y" : 187.70065083763498137159},{"x" : 144.9, "y" : 187.24847315644603895635},{"x" : 151.2, "y" : 186.78678519808218538856},{"x" : 157.5, "y" : 186.30577521165321286389},{"x" : 163.8, "y" : 185.79595145331575167802},{"x" : 170.1, "y" : 185.24826590389611169485},{"x" : 176.4, "y" : 184.65422087180871812961},{"x" : 182.7, "y" : 184.00595921950841216130},{"x" : 189, "y" : 183.29633895170792357021},{"x" : 195.3, "y" : 182.51899290359969540987},{"x" : 201.6, "y" : 181.66837426731348159592},{"x" : 207.9, "y" : 180.73978869484847109561},{"x" : 214.2, "y" : 179.72941371571164381749},{"x" : 220.5, "y" : 178.63430620750128241525},{"x" : 226.8, "y" : 177.45239865766615139364},{"x" : 233.1, "y" : 176.18248495468139935838},{"x" : 239.4, "y" : 174.82419644686993365212},{"x" : 245.7, "y" : 173.37796900711066427903},{"x" : 252, "y" : 171.84500184166290637222},{"x" : 258.3, "y" : 170.22720878134819599836},{"x" : 264.6, "y" : 168.52716279331846749301},{"x" : 270.9, "y" : 166.74803445165122184335},{"x" : 277.2, "y" : 164.89352510500251014491},{"x" : 283.5, "y" : 162.96779547955748057575},{"x" : 289.8, "y" : 160.97539045550860237199},{"x" : 296.1, "y" : 158.92116075530117313974},{"x" : 302.4, "y" : 156.81018228187571139642},{"x" : 308.7, "y" : 154.64767384515414505586},{"x" : 315, "y" : 152.43891401498632376388},{"x" : 321.3, "y" : 150.18915783881129755173},{"x" : 327.6, "y" : 147.90355416225560247767},{"x" : 333.9, "y" : 145.58706429090787537461},{"x" : 340.2, "y" : 143.24438273151076828071},{"x" : 346.5, "y" : 140.87986075078617886902},{"x" : 352.8, "y" : 138.49743349016443971777},{"x" : 359.1, "y" : 136.10055137460517471482},{"x" : 365.4, "y" : 133.69211655379228886886},{"x" : 371.7, "y" : 131.27442511390336221666},{"x" : 378, "y" : 128.84911579820789029327},{"x" : 384.3, "y" : 126.41712597471945400684},{"x" : 390.6, "y" : 123.97865558914622852171},{"x" : 396.9, "y" : 121.53313984136730141472},{"x" : 403.2, "y" : 119.07923132366067875409},{"x" : 409.5, "y" : 116.61479235896604222944},{"x" : 415.8, "y" : 114.13689827733048787195},{"x" : 422.1, "y" : 111.64185236886305574444},{"x" : 428.4, "y" : 109.12521325137879557587},{"x" : 434.7, "y" : 106.58183539098718028981},{"x" : 441, "y" : 104.00592351384716494067},{"x" : 447.3, "y" : 101.39110164732278462907},{"x" : 453.6, "y" : 98.73049752883366636524},{"x" : 459.9, "y" : 96.01684312051179404079},{"x" : 466.2, "y" : 93.24259196802813676186},{"x" : 472.5, "y" : 90.40005414176494014100},{"x" : 478.8, "y" : 87.48154949853187645203},{"x" : 485.1, "y" : 84.47958000216840446228},{"x" : 491.4, "y" : 81.38702184114072224475},{"x" : 497.7, "y" : 78.19733808146020237473},{"x" : 504, "y" : 74.90481259314401540905},{"x" : 510.3, "y" : 71.50480598839430967928},{"x" : 516.6, "y" : 67.99403430981010387768},{"x" : 522.9, "y" : 64.37087120681871965644},{"x" : 529.2, "y" : 60.63567433856860589003},{"x" : 535.5, "y" : 56.79113674154268665006},{"x" : 541.8, "y" : 52.84266390009088354418},{"x" : 548.1, "y" : 48.79877725812002609018},{"x" : 554.4, "y" : 44.67154491027122276137},{"x" : 560.7, "y" : 40.47704021061781531898},{"x" : 567, "y" : 36.23582903735859872540},{"x" : 573.3, "y" : 31.97348645152032986516},{"x" : 579.6, "y" : 27.72114348813374817837},{"x" : 585.9, "y" : 23.51606481785165669862},{"x" : 592.2, "y" : 19.40225801747874356806},{"x" : 598.5, "y" : 15.43111518753721611574},{"x" : 604.8, "y" : 11.66208765515875711571},{"x" : 611.1, "y" : 8.16339450036866765004},{"x" : 617.4, "y" : 5.01276564430554572027},{"x" : 623.7, "y" : 2.29822023728775093332},{"x" : 630, "y" : 0.11888108522725815419}]; data_chart_name[19561] = "LS"; data_chart_area[19561] = new Array(); if ((data_chart[19561][0].x != undefined && parseFloat(data_chart[19561][0].x))) { var a_before = parseFloat(data_chart[19561][0].y) / (parseFloat(data_chart[19561][0].x) * parseFloat(data_chart[19561][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[19561][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[19561].push({x: _x, y: _y}); } } var last_index = data_chart[19561].length; for(var b = 0; b < last_index; b++) { data_chart_area[19561].push(data_chart[19561][b]); } last_index = last_index - 1; if (data_chart[19561][last_index].y != undefined && parseFloat(data_chart[19561][last_index].y) > 5) { var a_after = parseFloat(data_chart[19561][last_index].y) / (parseFloat(data_chart[19561][last_index].x) * parseFloat(data_chart[19561][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[19561][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[19561].push({x: _x, y: _y}); } } diameterCalculating = 200; paramsPresureA = [345.29226654819496,-0.18595167600741452,-0.001988689434355722,7.072375234369591e-6,-1.7403613763041207e-8,4.4021790958976546e-11,-6.405882454277724e-14,3.3122829518992505e-17]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(5987); data_chart[3500] = [{"x" : 0, "y" : 345.29226654819495934134},{"x" : 7.9, "y" : 343.70255470880186976501},{"x" : 15.8, "y" : 341.88462705387667028845},{"x" : 23.7, "y" : 339.85715987685534855700},{"x" : 31.6, "y" : 337.63750391821156426886},{"x" : 39.5, "y" : 335.24181995371026232533},{"x" : 47.4, "y" : 332.68520413266099922112},{"x" : 55.3, "y" : 329.98180338675825851169},{"x" : 63.2, "y" : 327.14492123009739543704},{"x" : 71.1, "y" : 324.18711427095405497312},{"x" : 79, "y" : 321.12027975591774975328},{"x" : 86.9, "y" : 317.95573446696278097079},{"x" : 94.8, "y" : 314.70428529205054246631},{"x" : 102.7, "y" : 311.37629178984741429304},{"x" : 110.6, "y" : 307.98172106914785217668},{"x" : 118.5, "y" : 304.53019530359176769707},{"x" : 126.4, "y" : 301.03103220226245184676},{"x" : 134.3, "y" : 297.49327875675544419209},{"x" : 142.2, "y" : 293.92573858530465713557},{"x" : 150.1, "y" : 290.33699319455621434827},{"x" : 158, "y" : 286.73541747957546022008},{"x" : 165.9, "y" : 283.12918978267828151729},{"x" : 173.8, "y" : 279.52629683167276652966},{"x" : 181.7, "y" : 275.93453387810063759389},{"x" : 189.6, "y" : 272.36150035606647179520},{"x" : 197.5, "y" : 268.81459138224278149210},{"x" : 205.4, "y" : 265.30098541763953789996},{"x" : 213.3, "y" : 261.82762841172547041424},{"x" : 221.2, "y" : 258.40121474949103230756},{"x" : 229.1, "y" : 255.02816532203985389060},{"x" : 237, "y" : 251.71460304129712426402},{"x" : 244.9, "y" : 248.46632611942430912677},{"x" : 252.8, "y" : 245.28877943352676993527},{"x" : 260.7, "y" : 242.18702429624397609587},{"x" : 268.6, "y" : 239.16570695280907443703},{"x" : 276.5, "y" : 236.22902612516881504234},{"x" : 284.4, "y" : 233.38069992374758498954},{"x" : 292.3, "y" : 230.62393244744890807851},{"x" : 300.2, "y" : 227.96138039247864526260},{"x" : 308.1, "y" : 225.39511999058026958664},{"x" : 316, "y" : 222.92661459726991779462},{"x" : 323.9, "y" : 220.55668325065940393870},{"x" : 331.8, "y" : 218.28547052145540874335},{"x" : 339.7, "y" : 216.11241797472322900830},{"x" : 347.6, "y" : 214.03623756400369870789},{"x" : 355.5, "y" : 212.05488727836990392461},{"x" : 363.4, "y" : 210.16554936301514544539},{"x" : 371.3, "y" : 208.36461143395641215648},{"x" : 379.2, "y" : 206.64765080744541592139},{"x" : 387.1, "y" : 205.00942236467176371661},{"x" : 395, "y" : 203.44385027235040297455},{"x" : 402.9, "y" : 201.94402387977811486053},{"x" : 410.8, "y" : 200.50219811294988403461},{"x" : 418.7, "y" : 199.10979868632094280656},{"x" : 426.6, "y" : 197.75743245280628457294},{"x" : 434.5, "y" : 196.43490321260111386437},{"x" : 442.4, "y" : 195.13123330141473843469},{"x" : 450.3, "y" : 193.83469127870529291613},{"x" : 458.2, "y" : 192.53282603649961401970},{"x" : 466.1, "y" : 191.21250764939455280000},{"x" : 474, "y" : 189.85997528631722275350},{"x" : 481.9, "y" : 188.46089250464348197056},{"x" : 489.8, "y" : 187.00041024725561555897},{"x" : 497.7, "y" : 185.46323786312854053904},{"x" : 505.6, "y" : 183.83372247203527649617},{"x" : 513.5, "y" : 182.09593699395912835826},{"x" : 521.4, "y" : 180.23377716379945923109},{"x" : 529.3, "y" : 178.23106785195574275349},{"x" : 537.2, "y" : 176.07167901139371224417},{"x" : 545.1, "y" : 173.73965157175734930206},{"x" : 553, "y" : 171.21933360113666822144},{"x" : 560.9, "y" : 168.49552705606936342519},{"x" : 568.8, "y" : 165.55364544036569895979},{"x" : 576.7, "y" : 162.37988269334243796038},{"x" : 584.6, "y" : 158.96139362806582084886},{"x" : 592.5, "y" : 155.28648624017159818322},{"x" : 600.4, "y" : 151.34482620787309770094},{"x" : 608.3, "y" : 147.12765390372442197986},{"x" : 616.2, "y" : 142.62801423874680040171},{"x" : 624.1, "y" : 137.84099965948598764953},{"x" : 632, "y" : 132.76400661861384833173},{"x" : 639.9, "y" : 127.39700583962599012011},{"x" : 647.8, "y" : 121.74282669627064024098},{"x" : 655.7, "y" : 115.80745602726142351457},{"x" : 663.6, "y" : 109.60035170685910088650},{"x" : 671.5, "y" : 103.13477129195121051453},{"x" : 679.4, "y" : 96.42811606617124198237},{"x" : 687.3, "y" : 89.50229080167810025159},{"x" : 695.2, "y" : 82.38407955915090497001},{"x" : 703.1, "y" : 75.10553784663898113649},{"x" : 711, "y" : 67.70440145779775775736},{"x" : 718.9, "y" : 60.22451231013519645785},{"x" : 726.8, "y" : 52.71626160384766990319},{"x" : 734.7, "y" : 45.23705062184262715164},{"x" : 742.6, "y" : 37.85176949149081337964},{"x" : 750.5, "y" : 30.63329422879542107694},{"x" : 758.4, "y" : 23.66300238542589795543},{"x" : 766.3, "y" : 17.03130761934698966797},{"x" : 774.2, "y" : 10.83821350953348883195},{"x" : 782.1, "y" : 5.19388693540167878382},{"x" : 790, "y" : 0.21925134151751990430}]; data_chart_name[3500] = "HS"; data_chart_area[3500] = new Array(); if ((data_chart[3500][0].x != undefined && parseFloat(data_chart[3500][0].x))) { var a_before = parseFloat(data_chart[3500][0].y) / (parseFloat(data_chart[3500][0].x) * parseFloat(data_chart[3500][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[3500][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[3500].push({x: _x, y: _y}); } } var last_index = data_chart[3500].length; for(var b = 0; b < last_index; b++) { data_chart_area[3500].push(data_chart[3500][b]); } last_index = last_index - 1; if (data_chart[3500][last_index].y != undefined && parseFloat(data_chart[3500][last_index].y) > 5) { var a_after = parseFloat(data_chart[3500][last_index].y) / (parseFloat(data_chart[3500][last_index].x) * parseFloat(data_chart[3500][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[3500][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[3500].push({x: _x, y: _y}); } } var dataset_3500 = [{"x" : 0, "y" : 345.29226654819495934134},{"x" : 7.9, "y" : 343.70255470880186976501},{"x" : 15.8, "y" : 341.88462705387667028845},{"x" : 23.7, "y" : 339.85715987685534855700},{"x" : 31.6, "y" : 337.63750391821156426886},{"x" : 39.5, "y" : 335.24181995371026232533},{"x" : 47.4, "y" : 332.68520413266099922112},{"x" : 55.3, "y" : 329.98180338675825851169},{"x" : 63.2, "y" : 327.14492123009739543704},{"x" : 71.1, "y" : 324.18711427095405497312},{"x" : 79, "y" : 321.12027975591774975328},{"x" : 86.9, "y" : 317.95573446696278097079},{"x" : 94.8, "y" : 314.70428529205054246631},{"x" : 102.7, "y" : 311.37629178984741429304},{"x" : 110.6, "y" : 307.98172106914785217668},{"x" : 118.5, "y" : 304.53019530359176769707},{"x" : 126.4, "y" : 301.03103220226245184676},{"x" : 134.3, "y" : 297.49327875675544419209},{"x" : 142.2, "y" : 293.92573858530465713557},{"x" : 150.1, "y" : 290.33699319455621434827},{"x" : 158, "y" : 286.73541747957546022008},{"x" : 165.9, "y" : 283.12918978267828151729},{"x" : 173.8, "y" : 279.52629683167276652966},{"x" : 181.7, "y" : 275.93453387810063759389},{"x" : 189.6, "y" : 272.36150035606647179520},{"x" : 197.5, "y" : 268.81459138224278149210},{"x" : 205.4, "y" : 265.30098541763953789996},{"x" : 213.3, "y" : 261.82762841172547041424},{"x" : 221.2, "y" : 258.40121474949103230756},{"x" : 229.1, "y" : 255.02816532203985389060},{"x" : 237, "y" : 251.71460304129712426402},{"x" : 244.9, "y" : 248.46632611942430912677},{"x" : 252.8, "y" : 245.28877943352676993527},{"x" : 260.7, "y" : 242.18702429624397609587},{"x" : 268.6, "y" : 239.16570695280907443703},{"x" : 276.5, "y" : 236.22902612516881504234},{"x" : 284.4, "y" : 233.38069992374758498954},{"x" : 292.3, "y" : 230.62393244744890807851},{"x" : 300.2, "y" : 227.96138039247864526260},{"x" : 308.1, "y" : 225.39511999058026958664},{"x" : 316, "y" : 222.92661459726991779462},{"x" : 323.9, "y" : 220.55668325065940393870},{"x" : 331.8, "y" : 218.28547052145540874335},{"x" : 339.7, "y" : 216.11241797472322900830},{"x" : 347.6, "y" : 214.03623756400369870789},{"x" : 355.5, "y" : 212.05488727836990392461},{"x" : 363.4, "y" : 210.16554936301514544539},{"x" : 371.3, "y" : 208.36461143395641215648},{"x" : 379.2, "y" : 206.64765080744541592139},{"x" : 387.1, "y" : 205.00942236467176371661},{"x" : 395, "y" : 203.44385027235040297455},{"x" : 402.9, "y" : 201.94402387977811486053},{"x" : 410.8, "y" : 200.50219811294988403461},{"x" : 418.7, "y" : 199.10979868632094280656},{"x" : 426.6, "y" : 197.75743245280628457294},{"x" : 434.5, "y" : 196.43490321260111386437},{"x" : 442.4, "y" : 195.13123330141473843469},{"x" : 450.3, "y" : 193.83469127870529291613},{"x" : 458.2, "y" : 192.53282603649961401970},{"x" : 466.1, "y" : 191.21250764939455280000},{"x" : 474, "y" : 189.85997528631722275350},{"x" : 481.9, "y" : 188.46089250464348197056},{"x" : 489.8, "y" : 187.00041024725561555897},{"x" : 497.7, "y" : 185.46323786312854053904},{"x" : 505.6, "y" : 183.83372247203527649617},{"x" : 513.5, "y" : 182.09593699395912835826},{"x" : 521.4, "y" : 180.23377716379945923109},{"x" : 529.3, "y" : 178.23106785195574275349},{"x" : 537.2, "y" : 176.07167901139371224417},{"x" : 545.1, "y" : 173.73965157175734930206},{"x" : 553, "y" : 171.21933360113666822144},{"x" : 560.9, "y" : 168.49552705606936342519},{"x" : 568.8, "y" : 165.55364544036569895979},{"x" : 576.7, "y" : 162.37988269334243796038},{"x" : 584.6, "y" : 158.96139362806582084886},{"x" : 592.5, "y" : 155.28648624017159818322},{"x" : 600.4, "y" : 151.34482620787309770094},{"x" : 608.3, "y" : 147.12765390372442197986},{"x" : 616.2, "y" : 142.62801423874680040171},{"x" : 624.1, "y" : 137.84099965948598764953},{"x" : 632, "y" : 132.76400661861384833173},{"x" : 639.9, "y" : 127.39700583962599012011},{"x" : 647.8, "y" : 121.74282669627064024098},{"x" : 655.7, "y" : 115.80745602726142351457},{"x" : 663.6, "y" : 109.60035170685910088650},{"x" : 671.5, "y" : 103.13477129195121051453},{"x" : 679.4, "y" : 96.42811606617124198237},{"x" : 687.3, "y" : 89.50229080167810025159},{"x" : 695.2, "y" : 82.38407955915090497001},{"x" : 703.1, "y" : 75.10553784663898113649},{"x" : 711, "y" : 67.70440145779775775736},{"x" : 718.9, "y" : 60.22451231013519645785},{"x" : 726.8, "y" : 52.71626160384766990319},{"x" : 734.7, "y" : 45.23705062184262715164},{"x" : 742.6, "y" : 37.85176949149081337964},{"x" : 750.5, "y" : 30.63329422879542107694},{"x" : 758.4, "y" : 23.66300238542589795543},{"x" : 766.3, "y" : 17.03130761934698966797},{"x" : 774.2, "y" : 10.83821350953348883195},{"x" : 782.1, "y" : 5.19388693540167878382},{"x" : 790, "y" : 0.21925134151751990430}]; var dataset_area_3500 = data_chart_area[3500]; svg.append("path") .attr("transform", "translate(0, 20)") .datum(dataset_area_3500) .attr("class", "area") .attr("id", "area_5987") .style('fill-opacity', 0) .attr("fill", "#5c4564") .on('mouseover', function(d, i) { selectItemGraph(5987) }) .attr("d", area); svg.append("path") .attr("transform", "translate(0, 20)") .attr("id", "path_5987") .datum(dataset_3500) .attr("class", "line") .attr("d", line); diameterCalculating = 200; paramsPresureA = [315.1830523015776,-0.9379066927427262,0.011919732302147186,-8.627205173101412e-5,2.835372270987571e-7,-4.55857195395654e-10,3.398786913162267e-13,-8.940577573020471e-17]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(5987); data_chart[3502] = [{"x" : 0, "y" : 315.18305230157761798182},{"x" : 6.8, "y" : 309.32992816609680630791},{"x" : 13.6, "y" : 304.42467133377266463867},{"x" : 20.4, "y" : 300.32537019773280917434},{"x" : 27.2, "y" : 296.90312417876697281827},{"x" : 34, "y" : 294.04130785753972077146},{"x" : 40.8, "y" : 291.63485839210335370808},{"x" : 47.6, "y" : 289.58958591776996627232},{"x" : 54.4, "y" : 287.82150662640117388946},{"x" : 61.2, "y" : 286.25619822217498722239},{"x" : 68, "y" : 284.82817745088789251895},{"x" : 74.8, "y" : 283.48029939984951397491},{"x" : 81.6, "y" : 282.16317826543223645785},{"x" : 88.4, "y" : 280.83462928533026570221},{"x" : 95.2, "y" : 279.45913153258942429602},{"x" : 102, "y" : 278.00731126846574170486},{"x" : 108.8, "y" : 276.45544555117083973528},{"x" : 115.6, "y" : 274.78498579756472963709},{"x" : 122.4, "y" : 272.98210099485152113630},{"x" : 129.2, "y" : 271.03724025933973962310},{"x" : 136, "y" : 268.94471443932513921027},{"x" : 142.8, "y" : 266.70229645915338778650},{"x" : 149.6, "y" : 264.31084010152244445635},{"x" : 156.4, "y" : 261.77391692508376763726},{"x" : 163.2, "y" : 259.09747101440001415540},{"x" : 170, "y" : 256.28949125931814023716},{"x" : 176.8, "y" : 253.35970086081715635373},{"x" : 183.6, "y" : 250.31926376038884995978},{"x" : 190.4, "y" : 247.18050769000913646778},{"x" : 197.2, "y" : 243.95666353976196205622},{"x" : 204, "y" : 240.66162074016949645738},{"x" : 210.8, "y" : 237.30969835629267095101},{"x" : 217.6, "y" : 233.91543159065577128786},{"x" : 224.4, "y" : 230.49337339205837338341},{"x" : 231.2, "y" : 227.05791086732830308392},{"x" : 238, "y" : 223.62309619308061314769},{"x" : 244.8, "y" : 220.20249172453489450163},{"x" : 251.6, "y" : 216.80902899845253273270},{"x" : 258.4, "y" : 213.45488132725444074822},{"x" : 265.2, "y" : 210.15134968137488158391},{"x" : 272, "y" : 206.90876155691100279910},{"x" : 278.8, "y" : 203.73638252562656703049},{"x" : 285.6, "y" : 200.64234016437029595181},{"x" : 292.4, "y" : 197.63356006096532269112},{"x" : 299.2, "y" : 194.71571359362920361491},{"x" : 306, "y" : 191.89317718098456566622},{"x" : 312.8, "y" : 189.16900269971546322267},{"x" : 319.6, "y" : 186.54489876693278915809},{"x" : 326.4, "y" : 184.02122258430514989413},{"x" : 333.2, "y" : 181.59698204100834573183},{"x" : 340, "y" : 179.26984777256771508291},{"x" : 346.8, "y" : 177.03617487263389307373},{"x" : 353.6, "y" : 174.89103395476033142586},{"x" : 360.4, "y" : 172.82825126124393477767},{"x" : 367.2, "y" : 170.84045751607496299584},{"x" : 374, "y" : 168.91914521907128232669},{"x" : 380.8, "y" : 167.05473407824686660206},{"x" : 387.6, "y" : 165.23664427746666660823},{"x" : 394.4, "y" : 163.45337727646023040506},{"x" : 401.2, "y" : 161.69260384024460108776},{"x" : 408, "y" : 159.94125899501784715540},{"x" : 414.8, "y" : 158.18564360758310272104},{"x" : 421.6, "y" : 156.41153228534975028197},{"x" : 428.4, "y" : 154.60428729398992686583},{"x" : 435.2, "y" : 152.74897818979980002041},{"x" : 442, "y" : 150.83050686382318872347},{"x" : 448.8, "y" : 148.83373769478407666611},{"x" : 455.6, "y" : 146.74363250791469681644},{"x" : 462.4, "y" : 144.54539003672999797345},{"x" : 469.2, "y" : 142.22458958477437818146},{"x" : 476, "y" : 139.76733858444333691295},{"x" : 482.8, "y" : 137.16042374992127861333},{"x" : 489.6, "y" : 134.39146552127874656435},{"x" : 496.4, "y" : 131.44907549681272485032},{"x" : 503.2, "y" : 128.32301655070284596150},{"x" : 510, "y" : 125.00436533293554930424},{"x" : 516.8, "y" : 121.48567684876422845264},{"x" : 523.6, "y" : 117.76115081450836896693},{"x" : 530.4, "y" : 113.82679948695158600458},{"x" : 537.2, "y" : 109.68061666335029258335},{"x" : 544, "y" : 105.32274754897071034065},{"x" : 550.8, "y" : 100.75565918947177124210},{"x" : 557.6, "y" : 95.98431116491610737285},{"x" : 564.4, "y" : 91.01632624273906913004},{"x" : 571.2, "y" : 85.86216068644034749013},{"x" : 578, "y" : 80.53527391735133278416},{"x" : 584.8, "y" : 75.05229722631838740199},{"x" : 591.6, "y" : 69.43320123243029229343},{"x" : 598.4, "y" : 63.70146178598542974214},{"x" : 605.2, "y" : 57.88422401240268300171},{"x" : 612, "y" : 52.01246419459766912041},{"x" : 618.8, "y" : 46.12114919050372918718},{"x" : 625.6, "y" : 40.24939308299099138821},{"x" : 632.4, "y" : 34.44061075917625203147},{"x" : 639.2, "y" : 28.74266811621646411368},{"x" : 646, "y" : 23.20802859061313938582},{"x" : 652.8, "y" : 17.89389570805815310450},{"x" : 659.6, "y" : 12.86235135104834625963},{"x" : 666.4, "y" : 8.18048944103793473914},{"x" : 673.2, "y" : 3.92054473244479595451},{"x" : 680, "y" : 0.16001641550519707380}]; data_chart_name[3502] = "MS"; data_chart_area[3502] = new Array(); if ((data_chart[3502][0].x != undefined && parseFloat(data_chart[3502][0].x))) { var a_before = parseFloat(data_chart[3502][0].y) / (parseFloat(data_chart[3502][0].x) * parseFloat(data_chart[3502][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[3502][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[3502].push({x: _x, y: _y}); } } var last_index = data_chart[3502].length; for(var b = 0; b < last_index; b++) { data_chart_area[3502].push(data_chart[3502][b]); } last_index = last_index - 1; if (data_chart[3502][last_index].y != undefined && parseFloat(data_chart[3502][last_index].y) > 5) { var a_after = parseFloat(data_chart[3502][last_index].y) / (parseFloat(data_chart[3502][last_index].x) * parseFloat(data_chart[3502][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[3502][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[3502].push({x: _x, y: _y}); } } diameterCalculating = 200; paramsPresureA = [284.992801214943,-0.25464836041194777,-0.004722189010066175,6.456957352810539e-5,-3.797386171361277e-7,1.0766255093754113e-9,-1.4560521922398092e-12,7.520328268232979e-16]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(5987); data_chart[3504] = [{"x" : 0, "y" : 284.99280121494297191020},{"x" : 6.1, "y" : 283.27787286804226596360},{"x" : 12.2, "y" : 281.29236286544852418956},{"x" : 18.3, "y" : 279.10660341241481319230},{"x" : 24.4, "y" : 276.78037530615677042078},{"x" : 30.5, "y" : 274.36386805371091668349},{"x" : 36.6, "y" : 271.89858955154943487287},{"x" : 42.7, "y" : 269.41822651812532285476},{"x" : 48.8, "y" : 266.94945687052722860244},{"x" : 54.9, "y" : 264.51271523641901239898},{"x" : 61, "y" : 262.12291279244044517327},{"x" : 67.1, "y" : 259.79011262024761208522},{"x" : 73.2, "y" : 257.52016177136738406261},{"x" : 79.3, "y" : 255.31528123204455482664},{"x" : 85.4, "y" : 253.17461497925648927776},{"x" : 91.5, "y" : 251.09473931907405130914},{"x" : 97.6, "y" : 249.07013369854354323252},{"x" : 103.7, "y" : 247.09361418226751538896},{"x" : 109.8, "y" : 245.15673078486085501027},{"x" : 115.9, "y" : 243.25012985045816549246},{"x" : 122, "y" : 241.36388267045057887117},{"x" : 128.1, "y" : 239.48778153062676210538},{"x" : 134.2, "y" : 237.61160437889682839341},{"x" : 140.3, "y" : 235.72534930477380044067},{"x" : 146.4, "y" : 233.81944002179136532504},{"x" : 152.5, "y" : 231.88490354403197102329},{"x" : 158.6, "y" : 229.91352124794559586007},{"x" : 164.7, "y" : 227.89795451063156406235},{"x" : 170.8, "y" : 225.83184611576425027124},{"x" : 176.9, "y" : 223.70989861833558620674},{"x" : 183, "y" : 221.52793085939407546903},{"x" : 189.1, "y" : 219.28291382195567393865},{"x" : 195.2, "y" : 216.97298701926231956350},{"x" : 201.3, "y" : 214.59745660656622590068},{"x" : 207.4, "y" : 212.15677640761714428663},{"x" : 213.5, "y" : 209.65251304702670154256},{"x" : 219.6, "y" : 207.08729637968826864380},{"x" : 225.7, "y" : 204.46475640843055998630},{"x" : 231.8, "y" : 201.78944788107628482976},{"x" : 237.9, "y" : 199.06676375809124124316},{"x" : 244, "y" : 196.30283874198966032054},{"x" : 250.1, "y" : 193.50444405968286787356},{"x" : 256.2, "y" : 190.67887468894056723911},{"x" : 262.3, "y" : 187.83383022014493235474},{"x" : 268.4, "y" : 184.97729054451480124044},{"x" : 274.5, "y" : 182.11738755997151884003},{"x" : 280.6, "y" : 179.26227408583031319722},{"x" : 286.7, "y" : 176.41999117749105607800},{"x" : 292.8, "y" : 173.59833503229796747291},{"x" : 298.9, "y" : 170.80472467776098710601},{"x" : 305, "y" : 168.04607163329524155415},{"x" : 311.1, "y" : 165.32865273667766814469},{"x" : 317.2, "y" : 162.65798732637580314986},{"x" : 323.3, "y" : 160.03871997093557411063},{"x" : 329.4, "y" : 157.47450993661584561778},{"x" : 335.5, "y" : 154.96792858442171336719},{"x" : 341.6, "y" : 152.52036588773103176209},{"x" : 347.7, "y" : 150.13194726169024306728},{"x" : 353.8, "y" : 147.80146189555046021269},{"x" : 359.9, "y" : 145.52630377911123105150},{"x" : 366, "y" : 143.30242661448721719353},{"x" : 372.1, "y" : 141.12431380431019078969},{"x" : 378.2, "y" : 138.98496470761187993048},{"x" : 384.3, "y" : 136.87589835451615272177},{"x" : 390.4, "y" : 134.78717581093428634631},{"x" : 396.5, "y" : 132.70744238443671747518},{"x" : 402.6, "y" : 130.62399086250502477924},{"x" : 408.7, "y" : 128.52284697426853199431},{"x" : 414.8, "y" : 126.38887826699306060618},{"x" : 420.9, "y" : 124.20592758844372838212},{"x" : 427, "y" : 121.95697236628598147945},{"x" : 433.1, "y" : 119.62431087576533172978},{"x" : 439.2, "y" : 117.18977668676780012902},{"x" : 445.3, "y" : 114.63498248149335267954},{"x" : 451.4, "y" : 111.94159443390071828617},{"x" : 457.5, "y" : 109.09163834206083265599},{"x" : 463.6, "y" : 106.06783870467870656285},{"x" : 469.7, "y" : 102.85399193293187636300},{"x" : 475.8, "y" : 99.43537488865240447922},{"x" : 481.9, "y" : 95.79918994035324431024},{"x" : 488, "y" : 91.93504772795586177381},{"x" : 494.1, "y" : 87.83548882752074860036},{"x" : 500.2, "y" : 83.49654550724881119095},{"x" : 506.3, "y" : 78.91834476573512802133},{"x" : 512.4, "y" : 74.10575384386265795911},{"x" : 518.5, "y" : 69.06906940129738359246},{"x" : 524.6, "y" : 63.82475154899111657869},{"x" : 530.7, "y" : 58.39620392865617759526},{"x" : 536.8, "y" : 52.81460103049539611675},{"x" : 542.9, "y" : 47.11976394041630555876},{"x" : 549, "y" : 41.36108570777832937893},{"x" : 555.1, "y" : 35.59850752491729508620},{"x" : 561.2, "y" : 29.90354690962340100668},{"x" : 567.3, "y" : 24.36037908181242528372},{"x" : 573.4, "y" : 19.06697272538258403074},{"x" : 579.5, "y" : 14.13628132659141556360},{"x" : 585.6, "y" : 9.69749128015610040165},{"x" : 591.7, "y" : 5.89732795416784938425},{"x" : 597.8, "y" : 2.90142090480367187411},{"x" : 603.9, "y" : 0.89572943265739013441},{"x" : 610, "y" : 0.08802967093652114272}]; data_chart_name[3504] = "LS"; data_chart_area[3504] = new Array(); if ((data_chart[3504][0].x != undefined && parseFloat(data_chart[3504][0].x))) { var a_before = parseFloat(data_chart[3504][0].y) / (parseFloat(data_chart[3504][0].x) * parseFloat(data_chart[3504][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[3504][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[3504].push({x: _x, y: _y}); } } var last_index = data_chart[3504].length; for(var b = 0; b < last_index; b++) { data_chart_area[3504].push(data_chart[3504][b]); } last_index = last_index - 1; if (data_chart[3504][last_index].y != undefined && parseFloat(data_chart[3504][last_index].y) > 5) { var a_after = parseFloat(data_chart[3504][last_index].y) / (parseFloat(data_chart[3504][last_index].x) * parseFloat(data_chart[3504][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[3504][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[3504].push({x: _x, y: _y}); } } diameterCalculating = 200; paramsPresureA = [237.28959261338358,-0.45794670984300523,0.00842157959274062,-5.154693929913208e-5,1.498446289513668e-7,-2.2769933340754418e-10,1.7297236591260164e-13,-5.198243282022393e-17]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(17139); data_chart[19563] = [{"x" : 0, "y" : 237.28959261338357578097},{"x" : 8.9, "y" : 233.84552875072120059485},{"x" : 17.8, "y" : 231.53036363940233854919},{"x" : 26.7, "y" : 230.15804780549194674677},{"x" : 35.6, "y" : 229.56217619046864797383},{"x" : 44.5, "y" : 229.59461323979684266305},{"x" : 53.4, "y" : 230.12417640913096761324},{"x" : 62.3, "y" : 231.03537692932795266643},{"x" : 71.2, "y" : 232.22721667144566026764},{"x" : 80.1, "y" : 233.61203995290298962573},{"x" : 89, "y" : 235.11443912597860617097},{"x" : 97.9, "y" : 236.67021278982647913836},{"x" : 106.8, "y" : 238.22537546718277212676},{"x" : 115.7, "y" : 239.73521758694300842762},{"x" : 124.6, "y" : 241.16341461378448229880},{"x" : 133.5, "y" : 242.48118416601246849496},{"x" : 142.4, "y" : 243.66648996280540018233},{"x" : 151.3, "y" : 244.70329144203680016290},{"x" : 160.2, "y" : 245.58083788985081241663},{"x" : 169.1, "y" : 246.29300592316755569300},{"x" : 178, "y" : 246.83767916629463456957},{"x" : 186.9, "y" : 247.21616896282392872308},{"x" : 195.8, "y" : 247.43267496398763682919},{"x" : 204.7, "y" : 247.49378443465118948552},{"x" : 213.6, "y" : 247.40800911812195295170},{"x" : 222.5, "y" : 247.18535850094727379656},{"x" : 231.4, "y" : 246.83694831888021781197},{"x" : 240.3, "y" : 246.37464314519024810579},{"x" : 249.2, "y" : 245.81073190249568938270},{"x" : 258.1, "y" : 245.15763513929246641965},{"x" : 267, "y" : 244.42764291235917539780},{"x" : 275.9, "y" : 243.63268211621326031491},{"x" : 284.8, "y" : 242.78411210079647730709},{"x" : 293.7, "y" : 241.89254741856126429411},{"x" : 302.6, "y" : 240.96770654214765272627},{"x" : 311.5, "y" : 240.01828539380949223414},{"x" : 320.4, "y" : 239.05185452778133026186},{"x" : 329.3, "y" : 238.07477880675986625647},{"x" : 338.2, "y" : 237.09215841366622612441},{"x" : 347.1, "y" : 236.10779003988361068878},{"x" : 356, "y" : 235.12414709113372168758},{"x" : 364.9, "y" : 234.14237775216861336958},{"x" : 373.8, "y" : 233.16231975146615695849},{"x" : 382.7, "y" : 232.18253066709530685330},{"x" : 391.6, "y" : 231.20033261492889664623},{"x" : 400.5, "y" : 230.21187016038641104387},{"x" : 409.4, "y" : 229.21218029488079537259},{"x" : 418.3, "y" : 228.19527331814404647048},{"x" : 427.2, "y" : 227.15422346760271921084},{"x" : 436.1, "y" : 226.08126813601001003917},{"x" : 445, "y" : 224.96791451845450637848},{"x" : 453.9, "y" : 223.80505252998901255523},{"x" : 462.8, "y" : 222.58307283500170115076},{"x" : 471.7, "y" : 221.29198882953920701766},{"x" : 480.6, "y" : 219.92156141774228217400},{"x" : 489.5, "y" : 218.46142542358478522146},{"x" : 498.4, "y" : 216.90121647906897806024},{"x" : 507.3, "y" : 215.23069723007427000994},{"x" : 516.2, "y" : 213.43988170105620838513},{"x" : 525.1, "y" : 211.51915665969283963932},{"x" : 534, "y" : 209.45939882277650667675},{"x" : 542.9, "y" : 207.25208674439591050032},{"x" : 551.8, "y" : 204.88940622770462596236},{"x" : 560.7, "y" : 202.36434810136313444673},{"x" : 569.6, "y" : 199.67079720187246039131},{"x" : 578.5, "y" : 196.80361140299214639526},{"x" : 587.4, "y" : 193.75868953337976563489},{"x" : 596.3, "y" : 190.53302702363862408674},{"x" : 605.2, "y" : 187.12475812396814944805},{"x" : 614.1, "y" : 183.53318353360350556613},{"x" : 623, "y" : 179.75878228315946216753},{"x" : 631.9, "y" : 175.80320671112531272229},{"x" : 640.8, "y" : 171.66925937566793436417},{"x" : 649.7, "y" : 167.36085074290667762398},{"x" : 658.6, "y" : 162.88293649279103192384},{"x" : 667.5, "y" : 158.24143328388981899479},{"x" : 676.4, "y" : 153.44311181815419331542},{"x" : 685.3, "y" : 148.49546604683200712316},{"x" : 694.2, "y" : 143.40655735879863641458},{"x" : 703.1, "y" : 138.18483259238564642146},{"x" : 712, "y" : 132.83891471191873279167},{"x" : 720.9, "y" : 127.37736499020229530288},{"x" : 729.8, "y" : 121.80841553802292764885},{"x" : 738.7, "y" : 116.13967102188144053798},{"x" : 747.6, "y" : 110.37777841121715027839},{"x" : 756.5, "y" : 104.52806359616170084337},{"x" : 765.4, "y" : 98.59413371706796169747},{"x" : 774.3, "y" : 92.57744404710683738813},{"x" : 783.2, "y" : 86.47682826879099593498},{"x" : 792.1, "y" : 80.28799098599847638980},{"x" : 801, "y" : 74.00296131238246744033},{"x" : 809.9, "y" : 67.60950637741007085424},{"x" : 818.8, "y" : 61.09050359134380414616},{"x" : 827.7, "y" : 54.42327051010397553910},{"x" : 836.6, "y" : 47.57885114147575222887},{"x" : 845.5, "y" : 40.52125753348263970111},{"x" : 854.4, "y" : 33.20666548658482497558},{"x" : 863.3, "y" : 25.58256323025852907449},{"x" : 872.2, "y" : 17.58685190572577994317},{"x" : 881.1, "y" : 9.14689669564177165739},{"x" : 890, "y" : 0.17852744220726890489}]; data_chart_name[19563] = "HS"; data_chart_area[19563] = new Array(); if ((data_chart[19563][0].x != undefined && parseFloat(data_chart[19563][0].x))) { var a_before = parseFloat(data_chart[19563][0].y) / (parseFloat(data_chart[19563][0].x) * parseFloat(data_chart[19563][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[19563][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[19563].push({x: _x, y: _y}); } } var last_index = data_chart[19563].length; for(var b = 0; b < last_index; b++) { data_chart_area[19563].push(data_chart[19563][b]); } last_index = last_index - 1; if (data_chart[19563][last_index].y != undefined && parseFloat(data_chart[19563][last_index].y) > 5) { var a_after = parseFloat(data_chart[19563][last_index].y) / (parseFloat(data_chart[19563][last_index].x) * parseFloat(data_chart[19563][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[19563][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[19563].push({x: _x, y: _y}); } } var dataset_19563 = [{"x" : 0, "y" : 237.28959261338357578097},{"x" : 8.9, "y" : 233.84552875072120059485},{"x" : 17.8, "y" : 231.53036363940233854919},{"x" : 26.7, "y" : 230.15804780549194674677},{"x" : 35.6, "y" : 229.56217619046864797383},{"x" : 44.5, "y" : 229.59461323979684266305},{"x" : 53.4, "y" : 230.12417640913096761324},{"x" : 62.3, "y" : 231.03537692932795266643},{"x" : 71.2, "y" : 232.22721667144566026764},{"x" : 80.1, "y" : 233.61203995290298962573},{"x" : 89, "y" : 235.11443912597860617097},{"x" : 97.9, "y" : 236.67021278982647913836},{"x" : 106.8, "y" : 238.22537546718277212676},{"x" : 115.7, "y" : 239.73521758694300842762},{"x" : 124.6, "y" : 241.16341461378448229880},{"x" : 133.5, "y" : 242.48118416601246849496},{"x" : 142.4, "y" : 243.66648996280540018233},{"x" : 151.3, "y" : 244.70329144203680016290},{"x" : 160.2, "y" : 245.58083788985081241663},{"x" : 169.1, "y" : 246.29300592316755569300},{"x" : 178, "y" : 246.83767916629463456957},{"x" : 186.9, "y" : 247.21616896282392872308},{"x" : 195.8, "y" : 247.43267496398763682919},{"x" : 204.7, "y" : 247.49378443465118948552},{"x" : 213.6, "y" : 247.40800911812195295170},{"x" : 222.5, "y" : 247.18535850094727379656},{"x" : 231.4, "y" : 246.83694831888021781197},{"x" : 240.3, "y" : 246.37464314519024810579},{"x" : 249.2, "y" : 245.81073190249568938270},{"x" : 258.1, "y" : 245.15763513929246641965},{"x" : 267, "y" : 244.42764291235917539780},{"x" : 275.9, "y" : 243.63268211621326031491},{"x" : 284.8, "y" : 242.78411210079647730709},{"x" : 293.7, "y" : 241.89254741856126429411},{"x" : 302.6, "y" : 240.96770654214765272627},{"x" : 311.5, "y" : 240.01828539380949223414},{"x" : 320.4, "y" : 239.05185452778133026186},{"x" : 329.3, "y" : 238.07477880675986625647},{"x" : 338.2, "y" : 237.09215841366622612441},{"x" : 347.1, "y" : 236.10779003988361068878},{"x" : 356, "y" : 235.12414709113372168758},{"x" : 364.9, "y" : 234.14237775216861336958},{"x" : 373.8, "y" : 233.16231975146615695849},{"x" : 382.7, "y" : 232.18253066709530685330},{"x" : 391.6, "y" : 231.20033261492889664623},{"x" : 400.5, "y" : 230.21187016038641104387},{"x" : 409.4, "y" : 229.21218029488079537259},{"x" : 418.3, "y" : 228.19527331814404647048},{"x" : 427.2, "y" : 227.15422346760271921084},{"x" : 436.1, "y" : 226.08126813601001003917},{"x" : 445, "y" : 224.96791451845450637848},{"x" : 453.9, "y" : 223.80505252998901255523},{"x" : 462.8, "y" : 222.58307283500170115076},{"x" : 471.7, "y" : 221.29198882953920701766},{"x" : 480.6, "y" : 219.92156141774228217400},{"x" : 489.5, "y" : 218.46142542358478522146},{"x" : 498.4, "y" : 216.90121647906897806024},{"x" : 507.3, "y" : 215.23069723007427000994},{"x" : 516.2, "y" : 213.43988170105620838513},{"x" : 525.1, "y" : 211.51915665969283963932},{"x" : 534, "y" : 209.45939882277650667675},{"x" : 542.9, "y" : 207.25208674439591050032},{"x" : 551.8, "y" : 204.88940622770462596236},{"x" : 560.7, "y" : 202.36434810136313444673},{"x" : 569.6, "y" : 199.67079720187246039131},{"x" : 578.5, "y" : 196.80361140299214639526},{"x" : 587.4, "y" : 193.75868953337976563489},{"x" : 596.3, "y" : 190.53302702363862408674},{"x" : 605.2, "y" : 187.12475812396814944805},{"x" : 614.1, "y" : 183.53318353360350556613},{"x" : 623, "y" : 179.75878228315946216753},{"x" : 631.9, "y" : 175.80320671112531272229},{"x" : 640.8, "y" : 171.66925937566793436417},{"x" : 649.7, "y" : 167.36085074290667762398},{"x" : 658.6, "y" : 162.88293649279103192384},{"x" : 667.5, "y" : 158.24143328388981899479},{"x" : 676.4, "y" : 153.44311181815419331542},{"x" : 685.3, "y" : 148.49546604683200712316},{"x" : 694.2, "y" : 143.40655735879863641458},{"x" : 703.1, "y" : 138.18483259238564642146},{"x" : 712, "y" : 132.83891471191873279167},{"x" : 720.9, "y" : 127.37736499020229530288},{"x" : 729.8, "y" : 121.80841553802292764885},{"x" : 738.7, "y" : 116.13967102188144053798},{"x" : 747.6, "y" : 110.37777841121715027839},{"x" : 756.5, "y" : 104.52806359616170084337},{"x" : 765.4, "y" : 98.59413371706796169747},{"x" : 774.3, "y" : 92.57744404710683738813},{"x" : 783.2, "y" : 86.47682826879099593498},{"x" : 792.1, "y" : 80.28799098599847638980},{"x" : 801, "y" : 74.00296131238246744033},{"x" : 809.9, "y" : 67.60950637741007085424},{"x" : 818.8, "y" : 61.09050359134380414616},{"x" : 827.7, "y" : 54.42327051010397553910},{"x" : 836.6, "y" : 47.57885114147575222887},{"x" : 845.5, "y" : 40.52125753348263970111},{"x" : 854.4, "y" : 33.20666548658482497558},{"x" : 863.3, "y" : 25.58256323025852907449},{"x" : 872.2, "y" : 17.58685190572577994317},{"x" : 881.1, "y" : 9.14689669564177165739},{"x" : 890, "y" : 0.17852744220726890489}]; var dataset_area_19563 = data_chart_area[19563]; svg.append("path") .attr("transform", "translate(0, 20)") .datum(dataset_area_19563) .attr("class", "area") .attr("id", "area_17139") .style('fill-opacity', 0) .attr("fill", "#5c4564") .on('mouseover', function(d, i) { selectItemGraph(17139) }) .attr("d", area); svg.append("path") .attr("transform", "translate(0, 20)") .attr("id", "path_17139") .datum(dataset_19563) .attr("class", "line") .attr("d", line); diameterCalculating = 200; paramsPresureA = [230.11661867785958,-0.26158706358526906,0.002510573609861286,-8.114411685129167e-6,1.561844274016857e-9,3.1438339586653856e-11,-5.3402152344825366e-14,2.6577755628090143e-17]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(17139); data_chart[19565] = [{"x" : 0, "y" : 230.11661867785957724664},{"x" : 7.8, "y" : 228.22513884690002328171},{"x" : 15.6, "y" : 226.61614877813084945046},{"x" : 23.4, "y" : 225.26688207424845700189},{"x" : 31.2, "y" : 224.15491056065400243824},{"x" : 39, "y" : 223.25823234427090824283},{"x" : 46.8, "y" : 222.55535191942135497811},{"x" : 54.6, "y" : 222.02535255605616271168},{"x" : 62.4, "y" : 221.64796120563195813702},{"x" : 70.2, "y" : 221.40360615992943849051},{"x" : 78, "y" : 221.27346769810799287370},{"x" : 85.8, "y" : 221.23952195728907099692},{"x" : 93.6, "y" : 221.28457826196355995307},{"x" : 101.4, "y" : 221.39231014751754855752},{"x" : 109.2, "y" : 221.54728031316975034315},{"x" : 117, "y" : 221.73495973961473737290},{"x" : 124.8, "y" : 221.94174120666664862256},{"x" : 132.6, "y" : 222.15494744619746825265},{"x" : 140.4, "y" : 222.36283416566342907572},{"x" : 148.2, "y" : 222.55458817751403444163},{"x" : 156, "y" : 222.72032086977765175106},{"x" : 163.8, "y" : 222.85105725311819924173},{"x" : 171.6, "y" : 222.93872081965645293167},{"x" : 179.4, "y" : 222.97611444885023956886},{"x" : 187.2, "y" : 222.95689759572812249644},{"x" : 195, "y" : 222.87555999677022100514},{"x" : 202.8, "y" : 222.72739212872977532243},{"x" : 210.6, "y" : 222.50845265569097364278},{"x" : 218.4, "y" : 222.21553309965622702293},{"x" : 226.2, "y" : 221.84611996995622007489},{"x" : 234, "y" : 221.39835458677907809033},{"x" : 241.8, "y" : 220.87099083411033006996},{"x" : 249.6, "y" : 220.26335107737941143569},{"x" : 257.4, "y" : 219.57528048110648910551},{"x" : 265.2, "y" : 218.80709996184248211648},{"x" : 273, "y" : 217.95955801169898791159},{"x" : 280.8, "y" : 217.03378162775928217343},{"x" : 288.6, "y" : 216.03122658266667599491},{"x" : 296.4, "y" : 214.95362727168310357229},{"x" : 304.2, "y" : 213.80294637151257575169},{"x" : 312, "y" : 212.58132454618427686910},{"x" : 319.8, "y" : 211.29103043528743910429},{"x" : 327.6, "y" : 209.93441115985419287426},{"x" : 335.4, "y" : 208.51384358118343698152},{"x" : 343.2, "y" : 207.03168654789976699249},{"x" : 351, "y" : 205.49023436654235297283},{"x" : 358.8, "y" : 203.89167173097735030751},{"x" : 366.6, "y" : 202.23803034592748417708},{"x" : 374.4, "y" : 200.53114747991409672068},{"x" : 382.2, "y" : 198.77262668290396163684},{"x" : 390, "y" : 196.96380090395791739866},{"x" : 397.8, "y" : 195.10569824417223117052},{"x" : 405.6, "y" : 193.19901058020843720442},{"x" : 413.4, "y" : 191.24406529370563134762},{"x" : 421.2, "y" : 189.24080034187019805358},{"x" : 429, "y" : 187.18874290453351250108},{"x" : 436.8, "y" : 185.08699184297779538610},{"x" : 444.6, "y" : 182.93420420581813345962},{"x" : 452.4, "y" : 180.72858601723794436111},{"x" : 460.2, "y" : 178.46788758287274845316},{"x" : 468, "y" : 176.14940354863378502159},{"x" : 475.8, "y" : 173.76997794776650607673},{"x" : 483.6, "y" : 171.32601447144017470237},{"x" : 491.4, "y" : 168.81349219815956530510},{"x" : 499.2, "y" : 166.22798701729425374651},{"x" : 507, "y" : 163.56469898202075796689},{"x" : 514.8, "y" : 160.81848582696861171826},{"x" : 522.6, "y" : 157.98390288586813312577},{"x" : 530.4, "y" : 155.05524964449216440698},{"x" : 538.2, "y" : 152.02662316418292220987},{"x" : 546, "y" : 148.89197861126689304001},{"x" : 553.8, "y" : 145.64519712763939196520},{"x" : 561.6, "y" : 142.28016127782592548101},{"x" : 569.4, "y" : 138.79083830780257358128},{"x" : 577.2, "y" : 135.17137145087860972126},{"x" : 585, "y" : 131.41617951593161706114},{"x" : 592.8, "y" : 127.52006499328933841753},{"x" : 600.6, "y" : 123.47833091354721091193},{"x" : 608.4, "y" : 119.28690669463435369835},{"x" : 616.2, "y" : 114.94248321239319921006},{"x" : 624, "y" : 110.44265732999292595196},{"x" : 631.8, "y" : 105.78608612145603729005},{"x" : 639.6, "y" : 100.97265102460050911759},{"x" : 647.4, "y" : 96.00363215867855615215},{"x" : 655.2, "y" : 90.88189304202887797146},{"x" : 663, "y" : 85.61207594500979212171},{"x" : 670.8, "y" : 80.20080811352886485111},{"x" : 678.6, "y" : 74.65691909845145346480},{"x" : 686.4, "y" : 68.99166942618558096001},{"x" : 694.2, "y" : 63.21899084573260552133},{"x" : 702, "y" : 57.35573838752407027641},{"x" : 709.8, "y" : 51.42195446927689772565},{"x" : 717.6, "y" : 45.44114528423961019143},{"x" : 725.4, "y" : 39.44056970707424625289},{"x" : 733.2, "y" : 33.45154095265797877801},{"x" : 741, "y" : 27.50974122315665226779},{"x" : 748.8, "y" : 21.65554957859558271593},{"x" : 756.6, "y" : 15.93438326627165224636},{"x" : 764.4, "y" : 10.39705274427478798316},{"x" : 772.2, "y" : 5.10013063442602287978},{"x" : 780, "y" : 0.10633483991932735080}]; data_chart_name[19565] = "MS"; data_chart_area[19565] = new Array(); if ((data_chart[19565][0].x != undefined && parseFloat(data_chart[19565][0].x))) { var a_before = parseFloat(data_chart[19565][0].y) / (parseFloat(data_chart[19565][0].x) * parseFloat(data_chart[19565][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[19565][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[19565].push({x: _x, y: _y}); } } var last_index = data_chart[19565].length; for(var b = 0; b < last_index; b++) { data_chart_area[19565].push(data_chart[19565][b]); } last_index = last_index - 1; if (data_chart[19565][last_index].y != undefined && parseFloat(data_chart[19565][last_index].y) > 5) { var a_after = parseFloat(data_chart[19565][last_index].y) / (parseFloat(data_chart[19565][last_index].x) * parseFloat(data_chart[19565][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[19565][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[19565].push({x: _x, y: _y}); } } diameterCalculating = 200; paramsPresureA = [220.00740440142178,-0.20905551294736918,4.879704404541936e-5,1.5941738197758687e-5,-1.0786063370424546e-7,2.79464612316952e-10,-3.279536036319144e-13,1.4498349573656293e-16]; if (is_total) { paramsPresureA[2] += getPressureDynamic_A2(diameterCalculating); } Arr_paramsA.push(paramsPresureA); Arr_paramsID.push(17139); data_chart[19567] = [{"x" : 0, "y" : 220.00740440142178044880},{"x" : 6.9, "y" : 218.57224144045193270358},{"x" : 13.8, "y" : 217.16985306152236034904},{"x" : 20.7, "y" : 215.82349640768359222420},{"x" : 27.6, "y" : 214.55155560040432760616},{"x" : 34.5, "y" : 213.36800435712353873896},{"x" : 41.4, "y" : 212.28284475880590775887},{"x" : 48.3, "y" : 211.30252271162055421883},{"x" : 55.2, "y" : 210.43032064685831983297},{"x" : 62.1, "y" : 209.66672800320588976319},{"x" : 69, "y" : 209.00979003549539925189},{"x" : 75.9, "y" : 208.45543549404513328227},{"x" : 82.8, "y" : 207.99778371871022386586},{"x" : 89.7, "y" : 207.62943169176114110996},{"x" : 96.6, "y" : 207.34172159370572785519},{"x" : 103.5, "y" : 207.12498940617504672446},{"x" : 110.4, "y" : 206.96879510598759566165},{"x" : 117.3, "y" : 206.86213499451230291015},{"x" : 124.2, "y" : 206.79363670644545436517},{"x" : 131.1, "y" : 206.75173744212099791184},{"x" : 138, "y" : 206.72484596747025875629},{"x" : 144.9, "y" : 206.70148892574991350557},{"x" : 151.8, "y" : 206.67044200515465490753},{"x" : 158.7, "y" : 206.62084650643311078966},{"x" : 165.6, "y" : 206.54231185462356279459},{"x" : 172.5, "y" : 206.42500459902805687307},{"x" : 179.4, "y" : 206.25972444554184903609},{"x" : 186.3, "y" : 206.03796786545527197632},{"x" : 193.2, "y" : 205.75197982484706926698},{"x" : 200.1, "y" : 205.39479417868520272350},{"x" : 207, "y" : 204.96026327375335540637},{"x" : 213.9, "y" : 204.44307730452098326168},{"x" : 220.8, "y" : 203.83877396607394416606},{"x" : 227.7, "y" : 203.14373894822344368549},{"x" : 234.6, "y" : 202.35519781491066737544},{"x" : 241.5, "y" : 201.47119981302537894408},{"x" : 248.4, "y" : 200.49059415475488776792},{"x" : 255.3, "y" : 199.41299931758223351608},{"x" : 262.2, "y" : 198.23876590605013348068},{"x" : 269.1, "y" : 196.96893361940786348896},{"x" : 276, "y" : 195.60518286926117070834},{"x" : 282.9, "y" : 194.14978159133934809688},{"x" : 289.8, "y" : 192.60552779549880142440},{"x" : 296.7, "y" : 190.97568839808161555993},{"x" : 303.6, "y" : 189.26393488074393189891},{"x" : 310.5, "y" : 187.47427631987585527895},{"x" : 317.4, "y" : 185.61099033072400743549},{"x" : 324.3, "y" : 183.67855247034182752941},{"x" : 331.2, "y" : 181.68156464348038525713},{"x" : 338.1, "y" : 179.62468305553761638294},{"x" : 345, "y" : 177.51254625668531161864},{"x" : 351.9, "y" : 175.34970382128892651963},{"x" : 358.8, "y" : 173.14054620674272655378},{"x" : 365.7, "y" : 170.88923633583002015257},{"x" : 372.6, "y" : 168.59964344673207392589},{"x" : 379.5, "y" : 166.27527975480418831467},{"x" : 386.4, "y" : 163.91924047023044863636},{"x" : 393.3, "y" : 161.53414771567832985966},{"x" : 400.2, "y" : 159.12209888807262814225},{"x" : 407.1, "y" : 156.68462000860415628267},{"x" : 414, "y" : 154.22262460508665071757},{"x" : 420.9, "y" : 151.73637867078969065915},{"x" : 427.8, "y" : 149.22547224385499475829},{"x" : 434.7, "y" : 146.68879815141792732902},{"x" : 441.6, "y" : 144.12453846255101552742},{"x" : 448.5, "y" : 141.53015919415486223443},{"x" : 455.4, "y" : 138.90241381389375874278},{"x" : 462.3, "y" : 136.23735608431763921544},{"x" : 469.2, "y" : 133.53036279226967053546},{"x" : 476.1, "y" : 130.77616690771378671343},{"x" : 483, "y" : 127.96890171607469710580},{"x" : 489.9, "y" : 125.10215646823576207680},{"x" : 496.8, "y" : 122.16904409230369310535},{"x" : 503.7, "y" : 119.16228151123050338356},{"x" : 510.6, "y" : 116.07428311046828639519},{"x" : 517.5, "y" : 112.89726789970677600650},{"x" : 524.4, "y" : 109.62338091286119379220},{"x" : 531.3, "y" : 106.24482939041035933769},{"x" : 538.2, "y" : 102.75403428820709450520},{"x" : 545.1, "y" : 99.14379765685589518398},{"x" : 552, "y" : 95.40748643580900534289},{"x" : 558.9, "y" : 91.53923320629019144690},{"x" : 565.8, "y" : 87.53415444713391480036},{"x" : 572.7, "y" : 83.38858683770649804501},{"x" : 579.6, "y" : 79.10034215198538731784},{"x" : 586.5, "y" : 74.66898128793081923504},{"x" : 593.4, "y" : 70.09610797625828126911},{"x" : 600.3, "y" : 65.38568271278245447320},{"x" : 607.2, "y" : 60.54435745832233806141},{"x" : 614.1, "y" : 55.58183165046739304671},{"x" : 621, "y" : 50.51123007110618345905},{"x" : 627.9, "y" : 45.34950311408647394273},{"x" : 634.8, "y" : 40.11784999688188690925},{"x" : 641.7, "y" : 34.84216546051629848080},{"x" : 648.6, "y" : 29.55351050188710360089},{"x" : 655.5, "y" : 24.28860768247614032589},{"x" : 662.4, "y" : 19.09036155773173959460},{"x" : 669.3, "y" : 14.00840477104429737665},{"x" : 676.2, "y" : 9.09967035666159063112},{"x" : 683.1, "y" : 4.42899079548806184903},{"x" : 690, "y" : 0.06972436783871671651}]; data_chart_name[19567] = "LS"; data_chart_area[19567] = new Array(); if ((data_chart[19567][0].x != undefined && parseFloat(data_chart[19567][0].x))) { var a_before = parseFloat(data_chart[19567][0].y) / (parseFloat(data_chart[19567][0].x) * parseFloat(data_chart[19567][0].x)); var append_before = ''; for(var b = 0; b <= 10; b++) { var _x = (b * data_chart[19567][0].x) / 10; var _y = _x * _x * a_before; data_chart_area[19567].push({x: _x, y: _y}); } } var last_index = data_chart[19567].length; for(var b = 0; b < last_index; b++) { data_chart_area[19567].push(data_chart[19567][b]); } last_index = last_index - 1; if (data_chart[19567][last_index].y != undefined && parseFloat(data_chart[19567][last_index].y) > 5) { var a_after = parseFloat(data_chart[19567][last_index].y) / (parseFloat(data_chart[19567][last_index].x) * parseFloat(data_chart[19567][last_index].x)); for(var b = 10; b >= 0; b--) { var _x = (b * data_chart[19567][last_index].x) / 10; var _y = _x * _x * a_after; data_chart_area[19567].push({x: _x, y: _y}); } } function enterFrame(x,y) { var iNearestHigher = _findNearestHigherPolynomial({x, y}, Arr_paramsA); var graph = Arr_paramsID[iNearestHigher]; selectItemGraph(graph); } function calcPolynomial(x, paramsA) { var ret = 0; var ratio = 1; for (var i = 0; i < paramsA.length; i++) { ret += paramsA[i] * Math.pow(x, i); } ret = ret * ratio; return ret; } function _findNearestHigherPolynomial(pointObj, Arr_paramsA) { var Arr_xrange = null; var idPolynomial = -1; var inputX = pointObj.x; var inputY = pointObj.y; var deltaY = undefined; for (var i = 0; i < Arr_paramsA.length; i++){ var searchInGraph = true; if (Array.isArray(Arr_xrange) && Arr_paramsA.length == Arr_xrange.length){ if (inputXArr_xrange[i].graphMax){ searchInGraph=false; console.log('searchInGraph', i, searchInGraph); } } var polynomialY = calcPolynomial(inputX, Arr_paramsA[i]) * 1; if ( searchInGraph && polynomialY>=inputY && (polynomialY-inputY MAXIMA Północ -GDYNIA", "|| tel. 58-667-00-07 || , 81-061 ul.Hutnicza 18A", "", "julian@maxima-polnoc.pl"]; aph[40086] = ["", "Graniczna 15, 62-007 Biskupice", "", "jakub@bud-went.com.pl"]; aph[40157] = ["Klimazbyt Łódź", "Piłsudskiego 092, 92-202 Łódź", "", "lodz@klimazbyt.pl"]; aph[40185] = ["", "Przemysłowa 11, 35-105 Rzeszów", "", "biuro@klimasystem.pl"]; aph[40356] = ["INWEST-KLIMA", " 0, 15-688 ", "", "ewa.hankowska@inwestklima.com.pl"]; aph[40439] = ["", "Produkcyjna 105 0, 15-680 Białystok", "", "termitech@termitech.com.pl"]; aph[40509] = ["PW Politerm-Izol Sp. z o.o.", "Przemysłowa 5B, 75-216 Koszalin", "", "lukasz.kaczynski@politerm-izol.com.pl"]; aph[40521] = ["", "Kunickiego 11 0, 95-200 Pabianice", "", "biuro@tramontana.net.pl"]; aph[40558] = ["IZOLA", "F. Ossendowskiego 4 0, 93-228 Łódź", "", "wentylacja@izola.pl"]; aph[40606] = ["DABROwent", "A. Krzywca 9, 85-862 BYDGOSZCZ", "", "kasia.dabrowska@dabrowent.pl"]; aph[40751] = ["", " 0, 15-688 ", "", "biuro@inwestklima.com.pl"]; aph[40784] = ["ANG", "Modlnica 315 0, 32-085 Modlnica", "", "biuro@ang.com.pl"]; aph[40790] = ["Dystrybucja Artykułów Technicznych Krzysztof Kubaiński", "ul. Tarnogajska 11-13, 50-512 Wrocław", "", "dat@dat.wroc.pl"]; aph[40844] = ["LEMAR S.J", "Bytomska 18 0, 42-672 Wieszowa", "", "joanna@lemar.pl"]; aph[40863] = ["", "LUBELSKA 36, 10-409 OLSZTYN", "", "olsztyn@klimazbyt.pl"]; aph[40905] = ["Luft-System", "ul. Mieszka I 82, 71-011 Szczecin", "", "biuro@luft-system.pl"]; aph[40912] = ["LEMAR Sp. J.", "Bytomska 18 18, 42-672 Wieszowa", "", "damian@lemar.pl"]; aph[40944] = ["Went-Dom Centrum Profesjonalnej Wentylacji", "Bartycka 26, 00-716 Warszawa", "", "went@went-dom.pl"]; aph[40999] = ["Venture", "Mokra 27 0, 05-092 Kiełpin", "", "mariusz.bialobrzewski@venture.pl"]; aph[41002] = ["MK-WENT Sp. Z o.o. Sp. K.", "Trakt Lubelski 195, 04-667 Warszawa", "", "piotr.kobosko@mkwent.com.pl"]; aph[41036] = ["", "Porfirowa 35, 32-067 Zalas", "", "michalkulpinski@wp.pl"]; aph[41078] = ["Dabrowent", "Krzywca 9, 85-862 Bydgoszcz", "", "magda.olszewska@dabrowent.pl"]; aph[41216] = ["PUH VECO", "Świerczewska 5 5, 71-066 Szczecin", "", "zakupy@veco.com.pl"]; aph[41305] = ["ANG Wentylacja Sp. z o.o.", "Częstochowska 26, 32-085 Modlnica", "", "patrycja.zieba@ang.com.pl"]; aph[93524] = ["BIMs Plus FHH Sp. Z o.o. Dolny Śląsk Sp.K.", "Klonowa 1, 55-200 Stanowice-Oława", "", "pawel.majdak@bimsplus.com.pl"]; aph[93540] = ["Venture Industries sp.z o.o.", "MOKRA 27, 05-092 Kiełpin", "", "izabela.morawska@venture.pl"]; aph[93751] = ["Venture Industries", "aaa 1, 11-111 aaaa", "", "karolina.kubesova@ventur.cz"]; aph[93784] = ["", "Karpia 21, 61-619 Poznań", "", "Roman.filipiak@venture.pl"]; aph[93894] = ["Amster Global", "Obrońców Modlina 9, 30-733 Kraków", "", "mostrowski@amster.pl"]; aph[94259] = ["CALDO-WENTYLACJA SP. Z O.O.", "BISKUPIŃSKA 14, 30-732 Kraków", "", "mariusz.biadun@caldo-wentylacja.pl"]; aph[94356] = ["Caldo-Wentylacja", "Hurtowa 2, 15-399 Białystok", "", "mariusz.bialystok@caldo.pl"]; aph[94357] = ["Caldo-Wentylacja", "Torowa 11, 08-110 Siedlce", "", "mariusz.siedlce@caldo.pl"]; aph[94358] = ["Caldo-Wentylacja", "Rapackiego 15, 20-150 Lublin", "", "mariusz.lublin@caldo.pl"]; aph[94359] = ["Caldo-Wentylacja", "Tartaczna 3, 26-600 Radom", "", "mariusz.radom@caldo.pl"]; aph[94360] = ["Caldo-Wentylacja", "Brandla 1, 30-732 Kraków", "", "mariusz.krakow@caldo.pl"]; aph[94361] = ["Caldo-Wentylacja", "Skrajna 78, 25-650 Kielce", "", "mariusz.kielce@caldo.pl"]; aph[94362] = ["Caldo-Wentylacja", "Szeligowska 42, 01-320 Warszawa", "", "mariusz.warszawa@caldo.pl"]; aph[94363] = ["Caldo-Wentylacja", "Magnacka 27, 08-180 Kowale", "", "mariusz.gdansk@caldo.pl"]; aph[94364] = ["Caldo-Wentylacja", "Orląt Lwowskich 145, 41-208 Sosnowiec", "", "mariusz.sosnowiec@caldo.pl"]; aph[94365] = ["Caldo-Wentylacja", "Św. Teresy 178, 91-222 Łódź", "", "mariusz.lodz@caldo.pl"]; aph[94366] = ["Caldo-Wentylacja", "Wapienna 6/8, 87-100 Toruń", "", "mariusz.torun@caldo.pl"]; aph[94367] = ["Caldo-Wentylacja", "Jerzmanowska 19, 54-530 Wrocław", "", "mariusz.wroclaw@caldo.pl"]; aph[94368] = ["Caldo-Wentylacja", "Kamiennogórska 22, 60-179 Poznań", "", "mariusz.poznan@caldo.pl"]; aph[94369] = ["Caldo-Wentylacja", "Struga 62-64, 70-784 Szczecin", "", "mariusz.szczecin@caldo.pl"]; function scale_round(value, step) { step || (step = 1.0); var inv = 1.0 / step; return Math.round(value * inv) / inv; } function scale_max(value) { value = parseInt(value); var v = value.toString(); var l = v.length; if (l <= 2) { if (value < 50) { return 50; } else { return 100; } } var p = l - 2; var s1 = ''; var s2 = ''; for (var i = 0; i < l; i++) { if (i >= p) { s2 += v[i]; } else { s1 += v[i]; } } s2 = parseInt(s2); if (s2 > 50) { s1 = parseInt(s1) + 1; s2 = '00'; } else { s2 = '50'; } s1 = s1.toString(); s = s1+''+s2; s = parseInt(s); return s; } function createChart(id, charts) { var div = "product_"+id; charts = charts.split(";"); var data_x = 0; var data_y = 0; for (var g = 0; g < charts.length; g++) { var data = data_chart[charts[g]]; console.log(data); Object.keys(data).forEach(function (item) { if (data[item].x > data_x) { data_x = data[item].x } if (data[item].y > data_y) { data_y = data[item].y } }); } data_x = scale_max(data_x); data_y = scale_max(data_y); var x1min = 0; var x1max = data_x; var x2min = 0; var x2max = data_x/3600; var y1min = 0; var y1max = data_y; var y2min = 0; var y2max = data_y; var width = 759; var height = 505; var svg = d3.select("#"+div).append("svg").attr("width", width).attr("height", height); function handleMouseOver(d, i) { d3.select(this).attr({ fill: "orange", r: radius * 2 }); } function make_x_gridlines() { return d3.axisBottom(x).ticks(5) } function make_y_gridlines() { return d3.axisLeft(y).ticks(5) } var x = d3.scaleTime().range([70, width]); var y = d3.scaleLinear().rangeRound([height, 0]); var scale = d3.scaleLinear().domain([x1min, x1max]).range([22, width - 80]); var x_axis = d3.axisTop().scale(scale); var xAxisTranslate = height - 50; // przesuniecie scali x na dol svg.append("g").attr("class", "gray").attr("transform", "translate(48, " + xAxisTranslate +")").call(x_axis) var xscale = d3.scaleLinear().domain([x2min, x2max]).range([22, width - 80]); var x_axis = d3.axisBottom().scale(xscale); var xAxisTranslate = height - 50; // przesuniecie scali x na dol svg.append("g").attr("class", "gray graytext").attr("transform", "translate(48, " + xAxisTranslate +")").call(x_axis) var yscale = d3.scaleLinear().domain([y1min, y1max]).range([height - 100, 0]); var y_axis = d3.axisLeft().scale(yscale); svg.append("g").attr("transform", "translate(70, 20)").call(y_axis); //var yscale_right = d3.scaleLinear().domain([y2min, y2max]).range([height - 100, 0]); //var yr_axis = d3.axisRight().scale(yscale_right); //var yAxisTranslate = width - 31; // przesuniecie scali x na dol //svg.append("g").attr("class", "red").attr("transform", "translate(" + yAxisTranslate +", 20)").call(yr_axis); var yscale = d3.scaleLinear().domain([y1min, y1max]).range([height - 100, 0]); var grid = d3.axisLeft().scale(yscale).ticks(60) svg.append("g").attr("class", "grid2").attr("transform", "translate(70,20)").call(grid.tickSize(-(width-101)).tickFormat("")) var yscale = d3.scaleLinear().domain([y1min, y1max]).range([height - 100, 0]); var grid = d3.axisLeft().scale(yscale); svg.append("g").attr("class", "grid").attr("transform", "translate(70,20)").call(grid.tickSize(-(width-101)).tickFormat("")) var scale = d3.scaleLinear().domain([x1min, x1max]).range([22, width - 80]); var grid = d3.axisTop().scale(scale); svg.append("g").attr("class", "grid").attr("transform", "translate(48, 20)").call(grid.tickSize(-(height-100)).tickFormat("")) var n = 21; var xScale = d3.scaleLinear().domain([x1min, x1max]).range([70, width-30]); var yScale = d3.scaleLinear().domain([y1min, y1max]).range([height-100, 0]); var line = d3.area().x(function(d, i) { return xScale(d.x); }).y(function(d) { return yScale(d.y); }) .curve(d3.curveCardinal) var area = d3.area().x(function(d, i) { return xScale(d.x); }).y0(height-100).y1(function(d) { return yScale(d.y); }).curve(d3.curveCardinal); svg.append("text").style("fill", "#555").style("font-size", "10px") .attr("font-family", "Rubik") .text("m3/s") .attr("x", function (d) { return 730; }) .attr("y", function (d) { return 480; }); svg.append("text").data([{ x: x1max - 50, y: -83 }]).style("fill", "#555").style("font-size", "10px") .attr("font-family", "Rubik") .text("m3/h") .attr("x", function (d) { return 730; }) .attr("y", function (d) { return 455; }); svg.append("text").data([{ x: -150, y: y1max - 25 }]).style("fill", "#555").style("font-size", "10px") .attr("font-family", "Rubik") .text("Pa") .attr("x", function (d) { return 50; }) .attr("y", function (d) { return 15; }); for (var g = 0; g < charts.length; g++) { svg.append("path") .attr("transform", "translate(0, 20)") .datum(data_chart_area[charts[g]]) .attr("id", "area_"+charts[g]) .style('fill-opacity', .2) .attr("fill", "#5c4564") .attr("d", area); svg.append("path") .attr("transform", "translate(0, 20)") .attr("id", "path_"+charts[g]) .datum(data_chart[charts[g]]) .attr("stroke", "#5c4564") .attr("stroke-width", 1.5) .attr("d", line); } for (var g = 0; g < charts.length; g++) { svg.append("text").data([{ x: data_chart[charts[g]][0].x, y: data_chart[charts[g]][0].y }]).style("fill", "#555").style("font-size", "11px") .attr("font-family", "Rubik") .attr("font-weight", "800") .text(data_chart_name[charts[g]]) .attr("x", function (d) { return xScale(d.x) + 5; }) .attr("y", function (d) { return yScale(d.y) + 18; }) } } $(document).ready(function() { if ($('[data-tech]').length > 0) { var url = "/products/ajax/tech?id="+$('[data-tech]').attr("data-tech"); $.get(url, function(data) { $('[data-tech]').html(data); setTimeout(function(){ create_table_header(); $(".product__tech .tab li[tab-id='data']").trigger("click"); }, 100); }) } else { create_table_header(); } $(document).on("click", "table.data tr", function() { var isModel = $(this).hasClass("row-model"); if (isModel == false) { var id = $(this).next().find(".product_chart").attr("id"); if (id != undefined) { id = id.replace("product_", ""); var charts = $(this).next().find(".product_chart").attr("data-charts"); var _id = "product_"+id; $("tr.row-model td").hide(); $(this).next().find("td").slideDown(); var hasSvg = $("#"+_id).find("svg").length; if (hasSvg == 0) { createChart(id, charts); } } } }); $(document).on("click", ".product .data-tech tr.row-model td h3", function() { $(this).closest("td").slideUp(); }); /*$(document).on("click", "table.data tr", function() { var link = $(this).find("a").attr("href"); if (link != undefined) { document.location.href = link; } });*/ $(document).on("click", ".product__tech .tab li", function(){ $(".product__tech .tab li.active").removeClass("active"); $(this).addClass("active"); var _id = $(this).attr("tab-id"); $("#tab_data, #tab_shop").hide(); $("#tab_"+_id).show(); create_table_header(); }); $(".data-tech").tablesorter({ headers: { 1: { sorter: "digit" }, 2: { sorter: "digit" }, 3: { sorter: "digit" }, 4: { sorter: "digit" }, 5: { sorter: "digit" }, 6: { sorter: "digit" }, 7: { sorter: "digit" }, 8: { sorter: "digit" }, 9: { sorter: "digit" }, 10: { sorter: "digit" }, 11: { sorter: "digit" }, '.state' : { sorter: false } } }); $("#product_gallery img").click(function() { $(".product-gallery__item.active").removeClass("active"); $(this).closest(".product-gallery__item").addClass("active"); var is360 = $(this).closest(".product-gallery__item").hasClass("isShow360"); if (is360 == false) { $(".product-gallery__item a").attr({"data-lightbox" : "cert-set"}); $("#box360").hide(); var medium = $(this).closest(".product-gallery__item").attr("data-medium"); var zoom = $(this).closest(".product-gallery__item").find("a").attr("href"); $(this).closest(".product-gallery__item").find("a").removeAttr("data-lightbox") $(".product__img-360-box").find("img").show().attr({"src" : medium}); $(".product__img-360-box").find("a").attr({"href" : zoom}); } else { $("#box360").show(); $(".product__img-360-box").find("img").hide(); $(".spin360").show(); } }); $("#graph_list li").mouseenter(function() { $(".product__graph-area ul li.active").removeClass("active"); $(this).addClass("active"); selectGraph(); }); $(".form-count-cart input").keypress(function(e) { if (isNaN(parseInt(e.key, 10)) === true && e.key.length == 1) { return e.preventDefault() } }); $(".form-count-cart input").blur(function() { var v = $(this).val(); if (v == 0) { v = 1; } else if (v > parseInt($(this).attr("data-max"))) { v = $(this).attr("data-max"); } $(this).val(v); }); $(".form-count-cart a.minus").click(function() { var $a = $(this).closest(".form-count-cart"); var $v = $a.find("input").val(); var $v = parseInt($v) - 1; if ($v < 1) { $v = 1; } $a.find("input").val($v); }); $(".form-count-cart a.plus").click(function() { var $a = $(this).closest(".form-count-cart"); var $v = $a.find("input").val(); var $m = parseInt($a.find("input").attr("data-max")); var $v = parseInt($v) + 1; if ($v > $m) { $v = $m; } $a.find("input").val($v); }); $(document).on("mouseenter", "[data-state-popup]", function() { //$(".avalModal").remove(); var data = $(this).attr("data-state-popup"); var _name = $(this).closest("tr").find(".product-name").text(); var _d = data.split("|"); var _c = _d.length; var html = '
Produkt dostępny u dostawców: stan na:
'; for(var a = 0; a < _c; a++) { var _p = _d[a].split(";"); html += `
${aph[_p[0]][2] ? '' : ''}
${aph[_p[0]][0]} ${aph[_p[0]][1]}
${_p[2].replace("00:00:00", "")}
`; } html += '
'; $(this).after(html); var _h = parseInt($(this).closest("td").find(".avalModalBody").height()) + 36; $(this).closest("td").find(".avalModal").css({"height" : _h+"px"}); }); $("#d_equipment").change(function() { var id = $(this).val(); equipment(id); }); }); function equipment(id) { $("#equipment").html('
'); $.get("/products/products/equipment?id="+id, function(data) { $("#equipment").html(data) }); } function selectGraph() { $(".area").css({"fill-opacity" : 0}); $(".line").css({"stoke" : "rgb(0, 52, 96)"}).attr('style', "stroke:#00427a"); var id = $("#graph_list").find("li.active").attr("data-char"); document.getElementById('frame-pdu-family').src=`https://www.programdoboru.pl/include/product.html?id_product=${id}`; $("#area_"+id).css({"fill-opacity" : 0.5}); $("#path_"+id).css({"stoke" : "#5c4564"}).attr('style', "stroke:#5c4564"); var $row = $("#dane-techniczne #data-tech tr#data_"+id); $(".product__graph-area .product__graph-info p").text($row.find("td:nth-child(1)").text()); $(".product__graph-area .product__graph-info ul li:nth-child(1) span").text($row.find("td:nth-child(3)").text()); $(".product__graph-area .product__graph-info ul li:nth-child(2) span").text($row.find("td:nth-child(2)").text()); $(".product__graph-area .product__graph-info ul li:nth-child(3) span").text($row.find("td:nth-child(4)").text()); $(".product__graph-area .product__graph-info ul li:nth-child(4) span").text($row.find("td:nth-child(5)").text()); $(".product__graph-area .product__graph-info ul li:nth-child(5) span").text($row.find("td:nth-child(6)").text()); $(".product__graph-area .product__graph-info ul li:nth-child(6) span").text($row.find("td:nth-child(7)").text()); $(".product__graph-area .product__graph-info ul li:nth-child(7) span").text($row.find("td:nth-child(8)").text()); } function selectItemGraph(id) { $(".product__graph-area ul li.active").removeClass("active"); $("#graph_list li[data-char='"+id+"']").addClass("active"); selectGraph(); }