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 = [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];   
  var LocalDataB = [
67, 189, 134, 156, 178, 190, 165, 143, 123, 145, 165, 112, 115, 112];   
  $("#chart").shieldChart({  
primaryHeader: {
    text: 'Shield UI Step Line Chart Example',
    align: 'center'
},
//Uncomment next statement to enable zoom
//-----------------------------
//    zoomMode:'x',
//-----------------------------  
    tooltipSettings: {
      axisMarkers: {
        enabled: true,
        mode: 'xy',
        width: 3,
        zIndex: 3,
        color: 'green'
      }
    },    
    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: "stepline",
      collectionAlias: "Series A",
      data: LocalData
    },{
      seriesType: "stepline",
      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