Browse Source

fix: fix wrong versions of d3 in samples (#2321)

pull/2331/head
Yoshiya Hinosawa 7 years ago committed by GitHub
parent
commit
88a7528749
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      extensions/chart-bubble/index.html
  2. 2
      htdocs/js/samples/requirejs.js
  3. 2
      htdocs/samples/api_category.html
  4. 2
      htdocs/samples/axes_x_localtime.html
  5. 2
      htdocs/samples/chart_step_category.html
  6. 3
      htdocs/samples/plugin.html
  7. 4
      htdocs/samples/zoom_reduction.html

2
extensions/chart-bubble/index.html

@ -5,7 +5,7 @@
<body> <body>
<div id="chart"></div> <div id="chart"></div>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> <script src="http://d3js.org/d3.v4.min.js" charset="utf-8"></script>
<script src="c3.min.js"></script> <script src="c3.min.js"></script>
<script src="bubble.js"></script> <script src="bubble.js"></script>
<script> <script>

2
htdocs/js/samples/requirejs.js

@ -1,7 +1,7 @@
require.config({ require.config({
baseUrl: '/js', baseUrl: '/js',
paths: { paths: {
d3: "http://d3js.org/d3.v3.min" d3: "http://d3js.org/d3.v4.min"
} }
}); });

2
htdocs/samples/api_category.html

@ -6,7 +6,7 @@
<div id="chart"></div> <div id="chart"></div>
<div id="message"></div> <div id="message"></div>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> <script src="http://d3js.org/d3.v4.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script> <script src="/js/c3.js"></script>
<script> <script>

2
htdocs/samples/axes_x_localtime.html

@ -5,7 +5,7 @@
<body> <body>
<div id="chart"></div> <div id="chart"></div>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> <script src="http://d3js.org/d3.v4.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script> <script src="/js/c3.js"></script>
<script> <script>

2
htdocs/samples/chart_step_category.html

@ -5,7 +5,7 @@
<body> <body>
<div id="chart"></div> <div id="chart"></div>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> <script src="http://d3js.org/d3.v4.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script> <script src="/js/c3.js"></script>
<script> <script>
var chart = c3.generate({ var chart = c3.generate({

3
htdocs/samples/plugin.html

@ -5,8 +5,7 @@
<body> <body>
<div id="chart"></div> <div id="chart"></div>
<!-- <script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>--> <script src="http://d3js.org/d3.v4.min.js" charset="utf-8"></script>
<script src="/js/d3.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script> <script src="/js/c3.js"></script>
<script src="/js/samples/plugin.js"></script> <script src="/js/samples/plugin.js"></script>
<script> <script>

4
htdocs/samples/zoom_reduction.html

@ -1,4 +1,4 @@
<!DOCTYPE html> <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
<head> <head>
<title>c3ext</title> <title>c3ext</title>
@ -7,7 +7,7 @@
<link href="/css/c3.css" rel="stylesheet" /> <link href="/css/c3.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> <script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<script src="https://rawgithub.com/brandonaaron/jquery-mousewheel/master/jquery.mousewheel.min.js"></script> <script src="https://rawgithub.com/brandonaaron/jquery-mousewheel/master/jquery.mousewheel.min.js"></script>
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> <script src="http://d3js.org/d3.v4.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script> <script src="/js/c3.js"></script>
<script src="/js/extensions/c3ext.js"></script> <script src="/js/extensions/c3ext.js"></script>
<script src="/js/samples/zoom_reduction.js"></script> <script src="/js/samples/zoom_reduction.js"></script>

Loading…
Cancel
Save