Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 /><!DOCTYPE html>
<html>
<head>
<meta name="description" content="Combinational Charts" />
<meta charset=utf-8 />
<title>JS Bin</title>
   <link rel="stylesheet" type="text/css" href="//www.shieldui.com/shared/components/latest/chart/css/shield-chart.min.css" />
    <script type="text/javascript" src="//www.shieldui.com/shared/components/latest/chart/js/jquery-1.9.1.min.js"></script>
    <script type="text/javascript" src="//www.shieldui.com/shared/components/latest/chart/js/shield-chart.all.min.js"></script>
  
</head>
<body>
  <div id="chart"></div>  
</body>
</html>
<title>JS Bin</title>
</head>
<body>
  
</body>
</html>
 
$(function() {
  var LocalData = [20.9, 31.5, 98.4, 101.2, 104.0, 26.0, 105.6, 48.5, 206.4, 114.1, 145.6, 164.4, 175, 103, 115, 107];   
  var LocalDataB = [29.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 195.6, 154.4, 145, 133, 145, 127];   
  $("#chart").shieldChart({  
primaryHeader: {
    text: 'Shield UI Step Area Chart Example',
    align: 'center'
},
//Uncomment next statement to enable zoom
//-----------------------------
    zoomMode:'x',
//-----------------------------  
    tooltipSettings: {
      axisMarkers: {
        enabled: true,
        mode: 'xy',
        width: 3,
        zIndex: 3,
        color: 'red'
      }
    },    
    seriesSettings: {
      rangearea: {
        addToLegend: true
      }
    }, 
//Uncomment next Block to format and position legend on top
//-----------------------------  
    chartLegend: {
      //align: "center",
      //borderRadius: 2,
      //borderWidth: 2,
      //verticalAlign: "top",
      //borderColor: "green"
    },     
//-----------------------------    
    
    dataSeries: [{
      seriesType: "steparea",
      collectionAlias: "Series A",
      data: LocalData
    },{
      seriesType: "steparea",
      collectionAlias: "Series B",
      data: LocalDataB
    }
                
  ]    
  });
  
  });
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
bailey_mark77pro
0viewers