anchor.diff:              | Instruções
             p
               | Conectar os sensores às portas analógicas A0-A5
  +            | Conectar o pHmetro na porta A5
   
           .col-md-3.column
             #div_an0.analogLabel.colorA0 A0
  
positive.code:             d4 = d4.slice(0-totalPoints);
              d5 = d5.slice(0-totalPoints);
            }
            d0.push([i,an0]);  
            d1.push([i,an1]); 
            d2.push([i,an2]); 
            d3.push([i,an3]); 
            d4.push([i,an4]); 
            d5.push([i,an5]); 
            i++;
            update();
            //console.log(d0);
            socket.emit('my other event', { my: 'client do server' });
          });
          var  totalPoints = 300;
          // Set up the control widget
          //var updateInterval = 30;
          var d=[
            { data: d0, label:'A0'},
            { data: d1, label:'A1'},
            { data: d2, label:'A2'}
          ];
          function update() {
            //d0=[[1,1],[2,2],[3,3]];
            var d;
            if($('#pHmeterCheckbox').is(':checked')){
              d=[
  
negative.code:               { data: d5, label:'A5'}
              ];            
            };
            plot = $.plot("#placeholder", d , {
              series: {
                lines: {
                  lineWidth: 1,
                  shadowSize: 0,
                },
                shadowSize: 0, // Drawing is faster without shadows
              },
              colors: ["#edc240","#2B65EC", "#B2912F", "#4da74d", "#9440ed", "#cb4b4b"],
              xaxes: [{  
                        mode: "time",
                        timeformat: "%H:%M:%S",
                        show: true,
                        //rotateTicks: 135,
              }],
              yaxes: [  { position: "left" , min: 0, max: 1024 }, 
                        { position: "right", min: 0, max: 14, ticks:[1,2,3,4,5,6,7,8,9,10,11,12,13] } 
                    ],
              grid: {
                markings: [
                  { color: "#fcc", lineWidth: 1, yaxis: { from: 6 *1024/14, to: 8 *1024/14}  },
                  { color: "#f00", lineWidth: 1, yaxis: { from: 7 *1024/14, to: 7 *1024/14}  },
                ]
              }
            });
  