• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingSoft Demo</title>
      <script nonce="undefined" src='//code.jquery.com/jquery-2.1.4.min.js'></script>
      <script nonce="undefined" src='//code.jquery.com/ui/1.11.4/jquery-ui.min.js'></script>
      <link rel='stylesheet' href='//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css'>
    
      <script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
      <style>
        .container {
          width: 400px;
          height: 200px;
          min-width: 400px;
          border: 1px dashed #777;
        }
    
        #myChart {
          width: 100%;
          height: 100%;
        }
      </style>
    </head>
    
    <body>
      <div class='container'>
        <div id='myChart'></div>
      </div>
      <script>
        ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
        let chartConfig = {
          type: 'stock',
          title: {
            text: 'Responsive Stock Chart at 100% width',
            adjustLayout: true,
            fontFamily: 'Georgia',
            fontSize: 20,
            mediaRules: [{
                maxWidth: 500,
                text: 'Responsive Stock Chart at 500 pixels',
                fontSize: 14
              },
              {
                maxWidth: 300,
                text: 'Responsive Stock Chart at 300 pixels',
                fontSize: 12,
                fontWeight: 'normal'
              }
            ]
          },
          plot: {
            aspect: 'candlestick',
            tooltip: {
              visible: false
            },
            preview: {
              type: 'area',
              lineColor: '#ED008E',
              lineWidth: 1,
              lineStyle: 'solid',
              backgroundColor: '#F0592B',
              alpha: 1,
              alphaArea: 0.3,
              mediaRules: [{
                  maxWidth: 500,
                  backgroundColor: '#ED008E',
                },
                {
                  maxWidth: 300,
                  type: 'line'
                }
              ]
            },
            trendUp: {
              backgroundColor: '#ED008E',
              lineColor: '#ED008E',
              borderColor: '#ED008E'
            },
            trendDown: {
              backgroundColor: '#F0592B',
              lineColor: '#F0592B',
              borderColor: '#F0592B'
            }
          },
          plotarea: {
            adjustLayout: true
          },
          preview: {
            adjustLayout: true,
            height: '15%',
            borderWidth: 1
          },
          scaleX: {
            minValue: 1420232400000,
            step: 'day',
            transform: {
              type: 'date',
              all: '%M %d'
            },
            item: {
              fontSize: 10
            },
            maxItems: 9,
            zooming: true,
            zoomToValues: [1420232400000, 1425070800000],
            mediaRules: [{
                maxWidth: 500,
                transform: {
                  all: '%m/%d'
                }
              },
              {
                maxWidth: 300,
                item: {
                  fontSize: 9
                }
              }
            ]
          },
          scaleY: {
            values: '28:34:1',
            format: '$%v',
            item: {
              fontSize: 10
            },
            guide: {
              lineStyle: 'dotted'
            },
            mediaRules: [{
                maxWidth: 500,
                values: '28:34:2'
              },
              {
                maxWidth: 300,
                item: {
                  fontSize: 9
                }
              }
            ]
          },
          crosshairX: {
            plotLabel: {
              text: 'Open: $%open<br>High: $%high<br>Low: $%low<br>Close: $%close',
              decimals: 2,
              multiple: true,
              placement: 'node-top',
              textAlpha: 1,
              alpha: 0.7,
              borderRadius: '3px'
            },
            scaleLabel: {
              text: '%v',
              transform: {
                type: 'date',
                all: '%M %d, %Y'
              },
              borderRadius: '3px'
            },
            mediaRules: [{
                maxWidth: 500,
                scaleLabel: {
                  transform: {
                    all: '%m/%d/%y'
                  }
                }
              },
              {
                maxWidth: 300,
                plotLabel: {
                  fontSize: 9
                },
                scaleLabel: {
                  fontSize: 9
                }
              }
            ]
          },
          series: [{
            values: [
              [1420232400000, [31.34, 31.46, 30.87, 31.06]], //01/02/15
    
              [1420491600000, [31.80, 32.25, 31.52, 32.05]], //01/05/15
              [1420578000000, [32.05, 32.57, 31.93, 32.30]], //01/06/15
              [1420664400000, [32.21, 32.39, 31.98, 32.08]], //01/07/15
              [1420750800000, [32.32, 32.38, 32.13, 32.37]], //01/08/15
              [1420837200000, [32.52, 32.53, 31.95, 32.03]], //01/09/15
    
              [1421096400000, [32.07, 32.14, 31.77, 31.98]], //01/12/15
              [1421182800000, [32.26, 32.33, 31.61, 31.86]], //01/13/15
              [1421269200000, [31.65, 31.85, 31.41, 31.78]], //01/14/15
              [1421355600000, [31.86, 31.97, 31.56, 31.58]], //01/15/15
              [1421442000000, [31.51, 31.65, 31.45, 31.59]], //01/16/15
    
              [1421787600000, [31.84, 31.87, 31.55, 31.85]], //01/20/15
              [1421874000000, [31.83, 32.08, 31.71, 32.04]], //01/21/15
              [1421960400000, [32.30, 32.36, 31.96, 32.28]], //01/22/15
              [1422046800000, [32.43, 32.88, 32.29, 32.48]], //01/23/15
    
              [1422306000000, [32.72, 32.74, 32.40, 32.60]], //01/26/15
              [1422392400000, [32.39, 32.46, 32.20, 32.38]], //01/27/15
              [1422478800000, [32.47, 32.49, 31.81, 31.84]], //01/28/15
              [1422565200000, [31.84, 32.20, 31.78, 32.08]], //01/29/15
              [1422651600000, [31.88, 32.11, 31.82, 31.89]], //01/30/15
    
              [1422910800000, [32.00, 32.22, 31.90, 32.21]], //02/02/15
              [1422997200000, [32.29, 32.52, 32.26, 32.47]], //02/03/15
              [1423083600000, [32.41, 32.43, 32.08, 32.16]], //02/04/15
              [1423170000000, [32.25, 32.50, 32.23, 32.50]], //02/05/15
              [1423256400000, [32.54, 32.75, 32.47, 32.52]], //02/06/15
    
              [1423515600000, [32.47, 32.75, 31.50, 31.64]], //02/09/15
              [1423602000000, [31.77, 32.05, 31.55, 31.96]], //02/10/15
              [1423688400000, [31.49, 31.82, 31.35, 31.77]], //02/11/15
              [1423774800000, [31.70, 31.99, 30.71, 30.89]], //02/12/15
              [1423861200000, [30.99, 31.57, 30.50, 31.55]], //02/13/15
    
              [1424206800000, [30.02, 30.30, 29.98, 30.27]], //02/17/15
              [1424293200000, [30.34, 30.90, 30.15, 30.80]], //02/18/15
              [1424379600000, [30.85, 30.91, 30.05, 30.15]], //02/19/15
              [1424466000000, [29.88, 30.21, 29.80, 30.21]], //02/20/15
    
              [1424725200000, [30.22, 30.30, 30.10, 30.17]], //02/23/15
              [1424811600000, [30.15, 30.45, 30.01, 30.39]], //02/24/15
              [1424898000000, [30.45, 31.06, 30.40, 30.91]], //02/25/15
              [1424984400000, [30.94, 31.01, 30.81, 30.89]], //02/26/15
              [1425070800000, [30.83, 31.27, 30.75, 30.99]], //02/27/15
    
              [1425330000000, [30.90, 31.12, 30.85, 31.11]], //03/02/15
              [1425416400000, [31.05, 31.08, 30.78, 30.86]], //03/03/15
              [1425502800000, [30.76, 30.77, 30.47, 30.66]], //03/04/15
              [1425589200000, [30.62, 30.82, 30.57, 30.82]], //03/05/15
              [1425675600000, [30.71, 30.78, 30.33, 30.42]], //03/06/15
    
              [1425934800000, [30.52, 30.70, 30.49, 30.64]], //03/09/15
              [1426021200000, [30.50, 30.64, 30.17, 30.17]], //03/10/15
              [1426107600000, [30.28, 30.49, 30.15, 30.19]], //03/11/15
              [1426194000000, [30.27, 30.41, 30.17, 30.40]], //03/12/15
              [1426280400000, [30.28, 30.36, 29.81, 30.04]], //03/13/15
    
              [1426539600000, [30.06, 30.48, 29.96, 30.45]], //03/16/15
              [1426626000000, [30.30, 30.39, 30.09, 30.31]], //03/17/15
              [1426712400000, [30.18, 30.85, 30.11, 30.64]], //03/18/15
              [1426798800000, [30.44, 30.61, 30.26, 30.33]], //03/19/15
              [1426885200000, [30.34, 30.53, 30.30, 30.40]], //03/20/15
    
              [1427144400000, [30.48, 30.74, 30.45, 30.47]], //03/23/15
              [1427230800000, [30.38, 30.48, 30.27, 30.28]], //03/24/15
              [1427317200000, [30.23, 30.33, 29.91, 29.91]], //03/25/15
              [1427403600000, [30.80, 30.92, 30.17, 30.30]], //03/26/15
              [1427490000000, [30.34, 30.90, 29.60, 29.64]], //03/27/15
    
              [1427749200000, [29.98, 30.20, 29.97, 30.12]], //03/30/15
              [1427835600000, [30.15, 30.90, 29.81, 30.81]], //03/31/15
              [1427922000000, [31.34, 31.46, 30.87, 31.06]], //04/01/15
              [1428008400000, [31.80, 32.25, 31.52, 32.05]], //04/02/15
    
              [1428354000000, [32.05, 32.57, 31.93, 32.30]], //04/06/15
              [1428440400000, [32.21, 32.39, 31.98, 32.08]], //04/07/15
              [1428526800000, [32.32, 32.38, 32.13, 32.37]], //04/08/15
              [1428613200000, [32.52, 32.53, 31.95, 32.03]], //04/09/15
              [1428699600000, [32.07, 32.14, 31.77, 31.98]], //04/10/15
    
              [1428958800000, [32.26, 32.33, 31.61, 31.86]], //04/13/15
              [1429045200000, [31.65, 31.85, 31.41, 31.78]], //04/14/15
              [1429131600000, [31.86, 31.97, 31.56, 31.58]], //04/15/15
              [1429218000000, [31.51, 31.65, 31.45, 31.59]], //04/16/15
              [1429304400000, [31.84, 31.87, 31.55, 31.85]], //04/17/15
    
              [1429563600000, [31.83, 32.08, 31.71, 32.04]], //04/20/15
              [1429650000000, [32.30, 32.36, 31.96, 32.28]], //04/21/15
              [1429736400000, [32.43, 32.88, 32.29, 32.48]], //04/22/15
              [1429822800000, [32.72, 32.74, 32.40, 32.60]], //04/23/15
              [1429909200000, [32.39, 32.46, 32.20, 32.38]], //04/24/15
    
              [1430168400000, [32.47, 32.49, 31.81, 31.84]], //04/27/15
              [1430254800000, [31.84, 32.20, 31.78, 32.08]], //04/28/15
              [1430341200000, [31.88, 32.11, 31.82, 31.89]], //04/29/15
              [1430427600000, [32.00, 32.22, 31.90, 32.21]], //04/30/15
              [1430514000000, [32.29, 32.52, 32.26, 32.47]], //05/01/15
    
              [1430773200000, [32.41, 32.43, 32.08, 32.16]], //05/04/15
              [1430859600000, [32.25, 32.50, 32.23, 32.50]], //05/05/15
              [1430946000000, [32.54, 32.75, 32.47, 32.52]], //05/06/15
              [1431032400000, [32.47, 32.75, 31.50, 31.64]], //05/07/15
              [1431118800000, [31.77, 32.05, 31.55, 31.96]], //05/08/15
    
              [1431378000000, [31.49, 31.82, 31.35, 31.77]], //05/11/15
              [1431464400000, [31.70, 31.99, 30.71, 30.89]], //05/12/15
              [1431550800000, [30.99, 31.57, 30.50, 31.55]], //05/13/15
              [1431637200000, [30.02, 30.30, 29.98, 30.27]], //05/14/15
              [1431723600000, [30.34, 30.90, 30.15, 30.80]], //05/15/15
    
              [1431982800000, [30.85, 30.91, 30.05, 30.15]], //05/18/15
              [1432069200000, [29.88, 30.21, 29.80, 30.21]], //05/19/15
              [1432155600000, [30.22, 30.30, 30.10, 30.17]], //05/20/15
              [1432242000000, [30.15, 30.45, 30.01, 30.39]], //05/21/15
              [1432328400000, [30.45, 31.06, 30.40, 30.91]], //05/22/15
    
              [1432674000000, [30.94, 31.01, 30.81, 30.89]], //05/26/15
              [1432760400000, [30.83, 31.27, 30.75, 30.99]], //05/27/15
              [1432846800000, [30.90, 31.12, 30.85, 31.11]], //05/28/15
              [1432933200000, [31.05, 31.08, 30.78, 30.86]], //05/29/15
    
              [1433192400000, [30.76, 30.77, 30.47, 30.66]], //06/01/15
              [1433278800000, [30.62, 30.82, 30.57, 30.82]], //06/02/15
              [1433365200000, [30.71, 30.78, 30.33, 30.42]], //06/03/15
              [1433451600000, [30.52, 30.70, 30.49, 30.64]], //06/04/15
              [1433538000000, [30.50, 30.64, 30.17, 30.17]], //06/05/15
    
              [1433797200000, [30.28, 30.49, 30.15, 30.19]], //06/08/15
              [1433883600000, [30.27, 30.41, 30.17, 30.40]], //06/09/15
              [1433970000000, [30.28, 30.36, 29.81, 30.04]], //06/10/15
              [1434056400000, [30.06, 30.48, 29.96, 30.45]], //06/11/15
              [1434142800000, [30.30, 30.39, 30.09, 30.31]], //06/12/15
    
              [1434402000000, [30.18, 30.85, 30.11, 30.64]], //06/15/15
              [1434488400000, [30.44, 30.61, 30.26, 30.33]], //06/16/15
              [1434574800000, [30.34, 30.53, 30.30, 30.40]], //06/17/15
              [1434661200000, [30.48, 30.74, 30.45, 30.47]], //06/18/15
              [1434747600000, [30.38, 30.48, 30.27, 30.28]], //06/19/15
    
              [1435006800000, [30.23, 30.33, 29.91, 29.91]], //06/22/15
              [1435093200000, [30.80, 30.92, 30.17, 30.30]], //06/23/15
              [1435179600000, [30.34, 30.90, 29.60, 29.64]], //06/24/15
              [1435266000000, [29.98, 30.20, 29.97, 30.12]], //06/25/15
              [1435352400000, [30.15, 30.90, 29.81, 30.81]], //06/26/15
    
              [1435611600000, [29.98, 30.20, 29.97, 30.12]], //06/29/15
              [1435698000000, [30.15, 30.90, 29.81, 30.81]], //06/30/15
            ]
          }]
        };
    
        // adjust the refresh rate of the chart
        zingchart.DEV.RESIZESPEED = 50;
        zingchart.DEV.DEBOUNCESPEED = 50;
    
        zingchart.render({
          id: 'myChart',
          data: chartConfig,
          height: '100%',
          width: '100%'
        });
    
        // initiate jquery resizable container for demo purposes
        $('.container').resizable();
      </script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingSoft Demo</title>
      <script src='//code.jquery.com/jquery-2.1.4.min.js'></script>
      <script src='//code.jquery.com/ui/1.11.4/jquery-ui.min.js'></script>
      <link rel='stylesheet' href='//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css'>
    
      <script src="https://cdn.zingchart.com/zingchart.min.js"></script>
    </head>
    
    <body>
      <div class='container'>
        <div id='myChart'></div>
      </div>
    </body>
    
    </html>
    .container {
      width: 400px;
      height: 200px;
      min-width: 400px;
      border: 1px dashed #777;
    }
    
    #myChart {
      width: 100%;
      height: 100%;
    }
    let chartConfig = {
      type: 'stock',
      title: {
        text: 'Responsive Stock Chart at 100% width',
        adjustLayout: true,
        fontFamily: 'Georgia',
        fontSize: 20,
        mediaRules: [{
            maxWidth: 500,
            text: 'Responsive Stock Chart at 500 pixels',
            fontSize: 14
          },
          {
            maxWidth: 300,
            text: 'Responsive Stock Chart at 300 pixels',
            fontSize: 12,
            fontWeight: 'normal'
          }
        ]
      },
      plot: {
        aspect: 'candlestick',
        tooltip: {
          visible: false
        },
        preview: {
          type: 'area',
          lineColor: '#ED008E',
          lineWidth: 1,
          lineStyle: 'solid',
          backgroundColor: '#F0592B',
          alpha: 1,
          alphaArea: 0.3,
          mediaRules: [{
              maxWidth: 500,
              backgroundColor: '#ED008E',
            },
            {
              maxWidth: 300,
              type: 'line'
            }
          ]
        },
        trendUp: {
          backgroundColor: '#ED008E',
          lineColor: '#ED008E',
          borderColor: '#ED008E'
        },
        trendDown: {
          backgroundColor: '#F0592B',
          lineColor: '#F0592B',
          borderColor: '#F0592B'
        }
      },
      plotarea: {
        adjustLayout: true
      },
      preview: {
        adjustLayout: true,
        height: '15%',
        borderWidth: 1
      },
      scaleX: {
        minValue: 1420232400000,
        step: 'day',
        transform: {
          type: 'date',
          all: '%M %d'
        },
        item: {
          fontSize: 10
        },
        maxItems: 9,
        zooming: true,
        zoomToValues: [1420232400000, 1425070800000],
        mediaRules: [{
            maxWidth: 500,
            transform: {
              all: '%m/%d'
            }
          },
          {
            maxWidth: 300,
            item: {
              fontSize: 9
            }
          }
        ]
      },
      scaleY: {
        values: '28:34:1',
        format: '$%v',
        item: {
          fontSize: 10
        },
        guide: {
          lineStyle: 'dotted'
        },
        mediaRules: [{
            maxWidth: 500,
            values: '28:34:2'
          },
          {
            maxWidth: 300,
            item: {
              fontSize: 9
            }
          }
        ]
      },
      crosshairX: {
        plotLabel: {
          text: 'Open: $%open<br>High: $%high<br>Low: $%low<br>Close: $%close',
          decimals: 2,
          multiple: true,
          placement: 'node-top',
          textAlpha: 1,
          alpha: 0.7,
          borderRadius: '3px'
        },
        scaleLabel: {
          text: '%v',
          transform: {
            type: 'date',
            all: '%M %d, %Y'
          },
          borderRadius: '3px'
        },
        mediaRules: [{
            maxWidth: 500,
            scaleLabel: {
              transform: {
                all: '%m/%d/%y'
              }
            }
          },
          {
            maxWidth: 300,
            plotLabel: {
              fontSize: 9
            },
            scaleLabel: {
              fontSize: 9
            }
          }
        ]
      },
      series: [{
        values: [
          [1420232400000, [31.34, 31.46, 30.87, 31.06]], //01/02/15
    
          [1420491600000, [31.80, 32.25, 31.52, 32.05]], //01/05/15
          [1420578000000, [32.05, 32.57, 31.93, 32.30]], //01/06/15
          [1420664400000, [32.21, 32.39, 31.98, 32.08]], //01/07/15
          [1420750800000, [32.32, 32.38, 32.13, 32.37]], //01/08/15
          [1420837200000, [32.52, 32.53, 31.95, 32.03]], //01/09/15
    
          [1421096400000, [32.07, 32.14, 31.77, 31.98]], //01/12/15
          [1421182800000, [32.26, 32.33, 31.61, 31.86]], //01/13/15
          [1421269200000, [31.65, 31.85, 31.41, 31.78]], //01/14/15
          [1421355600000, [31.86, 31.97, 31.56, 31.58]], //01/15/15
          [1421442000000, [31.51, 31.65, 31.45, 31.59]], //01/16/15
    
          [1421787600000, [31.84, 31.87, 31.55, 31.85]], //01/20/15
          [1421874000000, [31.83, 32.08, 31.71, 32.04]], //01/21/15
          [1421960400000, [32.30, 32.36, 31.96, 32.28]], //01/22/15
          [1422046800000, [32.43, 32.88, 32.29, 32.48]], //01/23/15
    
          [1422306000000, [32.72, 32.74, 32.40, 32.60]], //01/26/15
          [1422392400000, [32.39, 32.46, 32.20, 32.38]], //01/27/15
          [1422478800000, [32.47, 32.49, 31.81, 31.84]], //01/28/15
          [1422565200000, [31.84, 32.20, 31.78, 32.08]], //01/29/15
          [1422651600000, [31.88, 32.11, 31.82, 31.89]], //01/30/15
    
          [1422910800000, [32.00, 32.22, 31.90, 32.21]], //02/02/15
          [1422997200000, [32.29, 32.52, 32.26, 32.47]], //02/03/15
          [1423083600000, [32.41, 32.43, 32.08, 32.16]], //02/04/15
          [1423170000000, [32.25, 32.50, 32.23, 32.50]], //02/05/15
          [1423256400000, [32.54, 32.75, 32.47, 32.52]], //02/06/15
    
          [1423515600000, [32.47, 32.75, 31.50, 31.64]], //02/09/15
          [1423602000000, [31.77, 32.05, 31.55, 31.96]], //02/10/15
          [1423688400000, [31.49, 31.82, 31.35, 31.77]], //02/11/15
          [1423774800000, [31.70, 31.99, 30.71, 30.89]], //02/12/15
          [1423861200000, [30.99, 31.57, 30.50, 31.55]], //02/13/15
    
          [1424206800000, [30.02, 30.30, 29.98, 30.27]], //02/17/15
          [1424293200000, [30.34, 30.90, 30.15, 30.80]], //02/18/15
          [1424379600000, [30.85, 30.91, 30.05, 30.15]], //02/19/15
          [1424466000000, [29.88, 30.21, 29.80, 30.21]], //02/20/15
    
          [1424725200000, [30.22, 30.30, 30.10, 30.17]], //02/23/15
          [1424811600000, [30.15, 30.45, 30.01, 30.39]], //02/24/15
          [1424898000000, [30.45, 31.06, 30.40, 30.91]], //02/25/15
          [1424984400000, [30.94, 31.01, 30.81, 30.89]], //02/26/15
          [1425070800000, [30.83, 31.27, 30.75, 30.99]], //02/27/15
    
          [1425330000000, [30.90, 31.12, 30.85, 31.11]], //03/02/15
          [1425416400000, [31.05, 31.08, 30.78, 30.86]], //03/03/15
          [1425502800000, [30.76, 30.77, 30.47, 30.66]], //03/04/15
          [1425589200000, [30.62, 30.82, 30.57, 30.82]], //03/05/15
          [1425675600000, [30.71, 30.78, 30.33, 30.42]], //03/06/15
    
          [1425934800000, [30.52, 30.70, 30.49, 30.64]], //03/09/15
          [1426021200000, [30.50, 30.64, 30.17, 30.17]], //03/10/15
          [1426107600000, [30.28, 30.49, 30.15, 30.19]], //03/11/15
          [1426194000000, [30.27, 30.41, 30.17, 30.40]], //03/12/15
          [1426280400000, [30.28, 30.36, 29.81, 30.04]], //03/13/15
    
          [1426539600000, [30.06, 30.48, 29.96, 30.45]], //03/16/15
          [1426626000000, [30.30, 30.39, 30.09, 30.31]], //03/17/15
          [1426712400000, [30.18, 30.85, 30.11, 30.64]], //03/18/15
          [1426798800000, [30.44, 30.61, 30.26, 30.33]], //03/19/15
          [1426885200000, [30.34, 30.53, 30.30, 30.40]], //03/20/15
    
          [1427144400000, [30.48, 30.74, 30.45, 30.47]], //03/23/15
          [1427230800000, [30.38, 30.48, 30.27, 30.28]], //03/24/15
          [1427317200000, [30.23, 30.33, 29.91, 29.91]], //03/25/15
          [1427403600000, [30.80, 30.92, 30.17, 30.30]], //03/26/15
          [1427490000000, [30.34, 30.90, 29.60, 29.64]], //03/27/15
    
          [1427749200000, [29.98, 30.20, 29.97, 30.12]], //03/30/15
          [1427835600000, [30.15, 30.90, 29.81, 30.81]], //03/31/15
          [1427922000000, [31.34, 31.46, 30.87, 31.06]], //04/01/15
          [1428008400000, [31.80, 32.25, 31.52, 32.05]], //04/02/15
    
          [1428354000000, [32.05, 32.57, 31.93, 32.30]], //04/06/15
          [1428440400000, [32.21, 32.39, 31.98, 32.08]], //04/07/15
          [1428526800000, [32.32, 32.38, 32.13, 32.37]], //04/08/15
          [1428613200000, [32.52, 32.53, 31.95, 32.03]], //04/09/15
          [1428699600000, [32.07, 32.14, 31.77, 31.98]], //04/10/15
    
          [1428958800000, [32.26, 32.33, 31.61, 31.86]], //04/13/15
          [1429045200000, [31.65, 31.85, 31.41, 31.78]], //04/14/15
          [1429131600000, [31.86, 31.97, 31.56, 31.58]], //04/15/15
          [1429218000000, [31.51, 31.65, 31.45, 31.59]], //04/16/15
          [1429304400000, [31.84, 31.87, 31.55, 31.85]], //04/17/15
    
          [1429563600000, [31.83, 32.08, 31.71, 32.04]], //04/20/15
          [1429650000000, [32.30, 32.36, 31.96, 32.28]], //04/21/15
          [1429736400000, [32.43, 32.88, 32.29, 32.48]], //04/22/15
          [1429822800000, [32.72, 32.74, 32.40, 32.60]], //04/23/15
          [1429909200000, [32.39, 32.46, 32.20, 32.38]], //04/24/15
    
          [1430168400000, [32.47, 32.49, 31.81, 31.84]], //04/27/15
          [1430254800000, [31.84, 32.20, 31.78, 32.08]], //04/28/15
          [1430341200000, [31.88, 32.11, 31.82, 31.89]], //04/29/15
          [1430427600000, [32.00, 32.22, 31.90, 32.21]], //04/30/15
          [1430514000000, [32.29, 32.52, 32.26, 32.47]], //05/01/15
    
          [1430773200000, [32.41, 32.43, 32.08, 32.16]], //05/04/15
          [1430859600000, [32.25, 32.50, 32.23, 32.50]], //05/05/15
          [1430946000000, [32.54, 32.75, 32.47, 32.52]], //05/06/15
          [1431032400000, [32.47, 32.75, 31.50, 31.64]], //05/07/15
          [1431118800000, [31.77, 32.05, 31.55, 31.96]], //05/08/15
    
          [1431378000000, [31.49, 31.82, 31.35, 31.77]], //05/11/15
          [1431464400000, [31.70, 31.99, 30.71, 30.89]], //05/12/15
          [1431550800000, [30.99, 31.57, 30.50, 31.55]], //05/13/15
          [1431637200000, [30.02, 30.30, 29.98, 30.27]], //05/14/15
          [1431723600000, [30.34, 30.90, 30.15, 30.80]], //05/15/15
    
          [1431982800000, [30.85, 30.91, 30.05, 30.15]], //05/18/15
          [1432069200000, [29.88, 30.21, 29.80, 30.21]], //05/19/15
          [1432155600000, [30.22, 30.30, 30.10, 30.17]], //05/20/15
          [1432242000000, [30.15, 30.45, 30.01, 30.39]], //05/21/15
          [1432328400000, [30.45, 31.06, 30.40, 30.91]], //05/22/15
    
          [1432674000000, [30.94, 31.01, 30.81, 30.89]], //05/26/15
          [1432760400000, [30.83, 31.27, 30.75, 30.99]], //05/27/15
          [1432846800000, [30.90, 31.12, 30.85, 31.11]], //05/28/15
          [1432933200000, [31.05, 31.08, 30.78, 30.86]], //05/29/15
    
          [1433192400000, [30.76, 30.77, 30.47, 30.66]], //06/01/15
          [1433278800000, [30.62, 30.82, 30.57, 30.82]], //06/02/15
          [1433365200000, [30.71, 30.78, 30.33, 30.42]], //06/03/15
          [1433451600000, [30.52, 30.70, 30.49, 30.64]], //06/04/15
          [1433538000000, [30.50, 30.64, 30.17, 30.17]], //06/05/15
    
          [1433797200000, [30.28, 30.49, 30.15, 30.19]], //06/08/15
          [1433883600000, [30.27, 30.41, 30.17, 30.40]], //06/09/15
          [1433970000000, [30.28, 30.36, 29.81, 30.04]], //06/10/15
          [1434056400000, [30.06, 30.48, 29.96, 30.45]], //06/11/15
          [1434142800000, [30.30, 30.39, 30.09, 30.31]], //06/12/15
    
          [1434402000000, [30.18, 30.85, 30.11, 30.64]], //06/15/15
          [1434488400000, [30.44, 30.61, 30.26, 30.33]], //06/16/15
          [1434574800000, [30.34, 30.53, 30.30, 30.40]], //06/17/15
          [1434661200000, [30.48, 30.74, 30.45, 30.47]], //06/18/15
          [1434747600000, [30.38, 30.48, 30.27, 30.28]], //06/19/15
    
          [1435006800000, [30.23, 30.33, 29.91, 29.91]], //06/22/15
          [1435093200000, [30.80, 30.92, 30.17, 30.30]], //06/23/15
          [1435179600000, [30.34, 30.90, 29.60, 29.64]], //06/24/15
          [1435266000000, [29.98, 30.20, 29.97, 30.12]], //06/25/15
          [1435352400000, [30.15, 30.90, 29.81, 30.81]], //06/26/15
    
          [1435611600000, [29.98, 30.20, 29.97, 30.12]], //06/29/15
          [1435698000000, [30.15, 30.90, 29.81, 30.81]], //06/30/15
        ]
      }]
    };
    
    // adjust the refresh rate of the chart
    zingchart.DEV.RESIZESPEED = 50;
    zingchart.DEV.DEBOUNCESPEED = 50;
    
    zingchart.render({
      id: 'myChart',
      data: chartConfig,
      height: '100%',
      width: '100%'
    });
    
    // initiate jquery resizable container for demo purposes
    $('.container').resizable();