Browse Source

Update sample

pull/282/head
Masayuki Tanaka 11 years ago
parent
commit
10b3d852f5
  1. 12
      htdocs/samples/api_flow.html

12
htdocs/samples/api_flow.html

@ -1,6 +1,12 @@
<html> <html>
<head> <head>
<link rel="stylesheet" type="text/css" href="/css/c3.css"> <link rel="stylesheet" type="text/css" href="/css/c3.css">
<style>
.c3-region-1 {
fill: #dd3333;
fill-opacity: 0.8
}
</style>
</head> </head>
<body> <body>
<div id="chart"></div> <div id="chart"></div>
@ -47,7 +53,11 @@
y: { y: {
show: true show: true
} }
} },
regions: [
{start:2, end:4, class:'region1'},
{start:100, end:200, axis:'y'},
],
}); });
setTimeout(function () { setTimeout(function () {

Loading…
Cancel
Save