|
|
|
@ -42,7 +42,7 @@
|
|
|
|
|
<span class="tag"><<span class="title">link</span> <span class="attribute">href</span>=<span class="value">"/path/to/c3.css"</span> <span class="attribute">rel</span>=<span class="value">"stylesheet"</span>></span> |
|
|
|
|
|
|
|
|
|
<span class="comment"><!-- Load d3.js and c3.js --></span> |
|
|
|
|
<span class="tag"><<span class="title">script</span> <span class="attribute">src</span>=<span class="value">"/path/to/d3.v4.min.js"</span> <span class="attribute">charset</span>=<span class="value">"utf-8"</span>></span><span class="tag"></<span class="title">script</span>></span> |
|
|
|
|
<span class="tag"><<span class="title">script</span> <span class="attribute">src</span>=<span class="value">"/path/to/d3.v5.min.js"</span> <span class="attribute">charset</span>=<span class="value">"utf-8"</span>></span><span class="tag"></<span class="title">script</span>></span> |
|
|
|
|
<span class="tag"><<span class="title">script</span> <span class="attribute">src</span>=<span class="value">"/path/to/c3.min.js"</span>></span><span class="tag"></<span class="title">script</span>></span> |
|
|
|
|
|
|
|
|
|
%p C3 depends on D3, so please load D3 too. |
|
|
|
@ -86,7 +86,7 @@
|
|
|
|
|
require.config({ |
|
|
|
|
baseUrl: '/js', |
|
|
|
|
paths: { |
|
|
|
|
d3: "http://d3js.org/d3.v4.min" |
|
|
|
|
d3: "http://d3js.org/d3.v5.min" |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|