Browse Source

[WIP] Store artifacts on circleci (#2424)

* chore: store artifacts on circleci

* chore: update http:// to https://

* chore: update references to relative

* chore: status-back from circleci

* chore: update node version

* Revert "chore: status-back from circleci"

This reverts commit bd29ee18c1.
pull/2417/head
Yoshiya Hinosawa 7 years ago committed by GitHub
parent
commit
aa49e6d538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .circleci/config.yml
  2. 12
      .gitignore
  3. 1
      htdocs/css/c3.css
  4. 1
      htdocs/js/c3.js
  5. 1
      htdocs/js/c3.min.js
  6. 6
      htdocs/samples/api_axis_label.html
  7. 6
      htdocs/samples/api_axis_range.html
  8. 6
      htdocs/samples/api_category.html
  9. 6
      htdocs/samples/api_data_colors.html
  10. 6
      htdocs/samples/api_flow.html
  11. 6
      htdocs/samples/api_flow_timeseries.html
  12. 6
      htdocs/samples/api_legend.html
  13. 6
      htdocs/samples/api_tooltip_show.html
  14. 6
      htdocs/samples/api_transform.html
  15. 6
      htdocs/samples/api_xgrid_lines.html
  16. 6
      htdocs/samples/api_ygrid_lines.html
  17. 6
      htdocs/samples/api_zoom.html
  18. 6
      htdocs/samples/area_zerobased.html
  19. 6
      htdocs/samples/axes_padding.html
  20. 6
      htdocs/samples/axes_range.html
  21. 6
      htdocs/samples/axes_x_localtime.html
  22. 6
      htdocs/samples/axes_x_range_timeseries.html
  23. 6
      htdocs/samples/axes_x_selection.html
  24. 6
      htdocs/samples/axes_x_tick_culling.html
  25. 6
      htdocs/samples/axes_x_tick_fit.html
  26. 6
      htdocs/samples/axes_x_tick_rotate.html
  27. 6
      htdocs/samples/axes_x_tick_values.html
  28. 6
      htdocs/samples/axes_y2.html
  29. 6
      htdocs/samples/axes_y_default.html
  30. 6
      htdocs/samples/bar_zerobased.html
  31. 6
      htdocs/samples/bindto.html
  32. 6
      htdocs/samples/categorized.html
  33. 6
      htdocs/samples/chart_area.html
  34. 6
      htdocs/samples/chart_area_spline.html
  35. 6
      htdocs/samples/chart_area_spline_stacked.html
  36. 6
      htdocs/samples/chart_area_stacked.html
  37. 6
      htdocs/samples/chart_area_step.html
  38. 6
      htdocs/samples/chart_area_step_stacked.html
  39. 6
      htdocs/samples/chart_bar.html
  40. 6
      htdocs/samples/chart_bar_max_width.html
  41. 6
      htdocs/samples/chart_bar_space.html
  42. 6
      htdocs/samples/chart_bar_stacked.html
  43. 6
      htdocs/samples/chart_combination.html
  44. 6
      htdocs/samples/chart_donut.html
  45. 6
      htdocs/samples/chart_gauge.html
  46. 6
      htdocs/samples/chart_multi_arc_gauge.html
  47. 6
      htdocs/samples/chart_pie.html
  48. 6
      htdocs/samples/chart_pie_sort.html
  49. 6
      htdocs/samples/chart_scatter.html
  50. 6
      htdocs/samples/chart_spline.html
  51. 6
      htdocs/samples/chart_step.html
  52. 6
      htdocs/samples/chart_step_category.html
  53. 6
      htdocs/samples/custom_x_categorized.html
  54. 6
      htdocs/samples/custom_x_scale.html
  55. 6
      htdocs/samples/custom_xs_scale.html
  56. 6
      htdocs/samples/data_columned.html
  57. 6
      htdocs/samples/data_hide.html
  58. 6
      htdocs/samples/data_json.html
  59. 6
      htdocs/samples/data_label.html
  60. 6
      htdocs/samples/data_label_format.html
  61. 6
      htdocs/samples/data_load.html
  62. 6
      htdocs/samples/data_load_timeseries.html
  63. 6
      htdocs/samples/data_region.html
  64. 6
      htdocs/samples/data_region_timeseries.html
  65. 6
      htdocs/samples/data_rowed.html
  66. 6
      htdocs/samples/data_url.html
  67. 6
      htdocs/samples/different_category_datasets.html
  68. 6
      htdocs/samples/domain_y.html
  69. 8
      htdocs/samples/element.html
  70. 6
      htdocs/samples/emptydata.html
  71. 6
      htdocs/samples/grid_focus.html
  72. 6
      htdocs/samples/grid_x_lines.html
  73. 6
      htdocs/samples/grid_x_lines_timeseries.html
  74. 6
      htdocs/samples/grids.html
  75. 6
      htdocs/samples/grids_timeseries.html
  76. 6
      htdocs/samples/interaction_enabled.html
  77. 6
      htdocs/samples/legend.html
  78. 6
      htdocs/samples/padding.html
  79. 6
      htdocs/samples/padding_update.html
  80. 8
      htdocs/samples/plugin.html
  81. 6
      htdocs/samples/point_r.html
  82. 6
      htdocs/samples/point_show.html
  83. 6
      htdocs/samples/regions.html
  84. 6
      htdocs/samples/regions_timeseries.html
  85. 4
      htdocs/samples/requirejs.html
  86. 6
      htdocs/samples/selection.html
  87. 6
      htdocs/samples/simple.html
  88. 6
      htdocs/samples/subchart.html
  89. 6
      htdocs/samples/subchart_onbrush.html
  90. 6
      htdocs/samples/timeseries.html
  91. 6
      htdocs/samples/timeseries_date.html
  92. 6
      htdocs/samples/timeseries_descendent.html
  93. 6
      htdocs/samples/timeseries_raw.html
  94. 6
      htdocs/samples/tooltip_grouped.html
  95. 6
      htdocs/samples/tooltip_show.html
  96. 6
      htdocs/samples/zoom.html
  97. 6
      htdocs/samples/zoom_category.html
  98. 6
      htdocs/samples/zoom_onzoom.html
  99. 16
      htdocs/samples/zoom_reduction.html
  100. 11
      package.json
  101. Some files were not shown because too many files have changed in this diff Show More

9
.circleci/config.yml

@ -2,7 +2,7 @@ version: 2
jobs:
test:
docker:
- image: circleci/node:6-browsers
- image: circleci/node:8-browsers
steps:
- checkout
- run: |
@ -10,14 +10,17 @@ jobs:
echo "npm v$(npm --version)"
echo "$(google-chrome --version)"
- restore_cache:
key: npm-1-{{ checksum "package.json" }}
key: npm-1.1-{{ checksum "package.json" }}
- run: npm install
- save_cache:
key: npm-1-{{ checksum "package.json" }}
key: npm-1.1-{{ checksum "package.json" }}
paths:
- ./node_modules
- run: npm test
- run: npm run codecov
- store_artifacts:
path: htdocs
destination: htdocs
publish-docs:
docker:
- image: circleci/ruby:2.4-node

12
.gitignore vendored

@ -4,8 +4,18 @@ bower_components
d3.js
d3.min.js
components
build
# build
/htdocs/js/c3.js
/htdocs/js/c3.min.js
/htdocs/css/c3.css
/htdocs/css/c3.min.css
/build
# sass
.sass-cache
# jetbrains
.idea/
# coverage report

1
htdocs/css/c3.css

@ -1 +0,0 @@
../../c3.css

1
htdocs/js/c3.js

@ -1 +0,0 @@
../../c3.js

1
htdocs/js/c3.min.js vendored

@ -1 +0,0 @@
../../c3.min.js

6
htdocs/samples/api_axis_label.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/api_axis_range.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/api_category.html

@ -1,13 +1,13 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<div id="message"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

6
htdocs/samples/api_data_colors.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

6
htdocs/samples/api_flow.html

@ -1,6 +1,6 @@
<html>
<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;
@ -11,8 +11,8 @@
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var padding = {}, types = {}, chart, generate = function () { return c3.generate({

6
htdocs/samples/api_flow_timeseries.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var padding = {}, types = {};

6
htdocs/samples/api_legend.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var columns = [];

6
htdocs/samples/api_tooltip_show.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/api_transform.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

6
htdocs/samples/api_xgrid_lines.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var axis_rotated = false, axis_x_type = "";

6
htdocs/samples/api_ygrid_lines.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
bindto: '#chart',

6
htdocs/samples/api_zoom.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

6
htdocs/samples/area_zerobased.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/axes_padding.html

@ -1,13 +1,13 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/axes_range.html

@ -1,13 +1,13 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/axes_x_localtime.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var data, axis_x_localtime;

6
htdocs/samples/axes_x_range_timeseries.html

@ -1,13 +1,13 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/axes_x_selection.html

@ -1,14 +1,14 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<div id="chart3"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/axes_x_tick_culling.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/axes_x_tick_fit.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/axes_x_tick_rotate.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/axes_x_tick_values.html

@ -1,13 +1,13 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/axes_y2.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/axes_y_default.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/bar_zerobased.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/bindto.html

@ -1,14 +1,14 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart1" style="height:300px;"></div>
<div class="chart2" style="height:150px;"></div>
<div class="chart3" style="height:150px;"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({
bindto: '#chart1',

6
htdocs/samples/categorized.html

@ -1,13 +1,13 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/chart_area.html

@ -1,6 +1,6 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<h3>Zerobased</h3>
@ -14,8 +14,8 @@
<h3>+/- vaulues</h3>
<div id="chart5"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/chart_area_spline.html

@ -1,14 +1,14 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<div id="chart3"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/chart_area_spline_stacked.html

@ -1,14 +1,14 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<div id="chart3"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/chart_area_stacked.html

@ -1,14 +1,14 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<div id="chart3"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/chart_area_step.html

@ -1,14 +1,14 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<div id="chart3"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/chart_area_step_stacked.html

@ -1,14 +1,14 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<div id="chart3"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/chart_bar.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/chart_bar_max_width.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/chart_bar_space.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var generate = function () { return c3.generate({

6
htdocs/samples/chart_bar_stacked.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var axis_x_type = 'category',

6
htdocs/samples/chart_combination.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/chart_donut.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/chart_gauge.html

@ -1,6 +1,6 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
@ -8,8 +8,8 @@
<div id="chart2"></div>
<div id="chart3"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/chart_multi_arc_gauge.html

@ -1,11 +1,11 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/chart_pie.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/chart_pie_sort.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var sort = true;

6
htdocs/samples/chart_scatter.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/chart_spline.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/chart_step.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/chart_step_category.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/custom_x_categorized.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
bindto: '#chart',

6
htdocs/samples/custom_x_scale.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
bindto: '#chart',

6
htdocs/samples/custom_xs_scale.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
bindto: '#chart',

6
htdocs/samples/data_columned.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/data_hide.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/data_json.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

6
htdocs/samples/data_label.html

@ -1,6 +1,6 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart1"></div>
@ -15,8 +15,8 @@
<div id="chart10"></div>
<div id="chart11"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/data_label_format.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/data_load.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

6
htdocs/samples/data_load_timeseries.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/data_region.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
bindto: '#chart',

6
htdocs/samples/data_region_timeseries.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
bindto: '#chart',

6
htdocs/samples/data_rowed.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/data_url.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

6
htdocs/samples/different_category_datasets.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/domain_y.html

@ -1,6 +1,6 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<button id="btn1">Bar</button>
@ -10,8 +10,8 @@
<div id="chart2"></div>
<div id="chart3"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var normalData = {

8
htdocs/samples/element.html

@ -1,14 +1,14 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="..//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/emptydata.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

6
htdocs/samples/grid_focus.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/grid_x_lines.html

@ -1,13 +1,13 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

6
htdocs/samples/grid_x_lines_timeseries.html

@ -1,13 +1,13 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/grids.html

@ -1,6 +1,6 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
@ -10,8 +10,8 @@
<div id="chart5"></div>
<div id="chart6"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var smallData = [['sample', 30, 200, 100, 400, 150, 250]],

6
htdocs/samples/grids_timeseries.html

@ -1,14 +1,14 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<div id="chart3"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var smallData = [

6
htdocs/samples/interaction_enabled.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

6
htdocs/samples/legend.html

@ -1,6 +1,6 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
@ -10,8 +10,8 @@
<div id="chart5"></div>
<div id="chart6"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var columns = [];

6
htdocs/samples/padding.html

@ -1,6 +1,6 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
<style type="text/css">
<!--
.c3 svg {
@ -21,8 +21,8 @@
<div id="chart9"></div>
<div id="chart10"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var option = {

6
htdocs/samples/padding_update.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var axis_rotated = true;

8
htdocs/samples/plugin.html

@ -1,13 +1,13 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="/js/samples/plugin.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script src="../js/samples/plugin.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/point_r.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
bindto: '#chart',

6
htdocs/samples/point_show.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
bindto: '#chart',

6
htdocs/samples/regions.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/regions_timeseries.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

4
htdocs/samples/requirejs.html

@ -1,7 +1,7 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<script data-main="/js/samples/requirejs.js" src="/js/require.js"></script>
<link rel="stylesheet" type="text/css" href="../css/c3.css">
<script data-main="../js/samples/requirejs.js" src="../js/require.js"></script>
</head>
<body>
<div id="chart"></div>

6
htdocs/samples/selection.html

@ -1,6 +1,6 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
grouped => true, multiple => true
@ -27,8 +27,8 @@
grouped => false, multiple => false, tooltip.grouped = false
<div id="chart4-1"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/simple.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
data: {

6
htdocs/samples/subchart.html

@ -1,14 +1,14 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<div id="chart3"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/subchart_onbrush.html

@ -1,13 +1,13 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/timeseries.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
bindto: '#chart',

6
htdocs/samples/timeseries_date.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
bindto: '#chart',

6
htdocs/samples/timeseries_descendent.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var dates = ['date',

6
htdocs/samples/timeseries_raw.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var rows = [["x","Views","GMV"]];

6
htdocs/samples/tooltip_grouped.html

@ -1,12 +1,12 @@
<html>
<head>
<link href="/css/c3.css" rel="stylesheet" type="text/css">
<link href="../css/c3.css" rel="stylesheet" type="text/css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

6
htdocs/samples/tooltip_show.html

@ -1,12 +1,12 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({
bindto: '#chart',

6
htdocs/samples/zoom.html

@ -1,14 +1,14 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<button onclick="load()">Load</button>
<div id="chart2"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

6
htdocs/samples/zoom_category.html

@ -1,13 +1,13 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart"></div>
<button onclick="load()">Load</button>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart = c3.generate({

6
htdocs/samples/zoom_onzoom.html

@ -1,13 +1,13 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/css/c3.css">
<link rel="stylesheet" type="text/css" href="../css/c3.css">
</head>
<body>
<div id="chart1"></div>
<div id="chart2"></div>
<script src="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script>
var chart1 = c3.generate({

16
htdocs/samples/zoom_reduction.html

@ -1,16 +1,16 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<html>
<head>
<title>c3ext</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/images/logo_128.ico" />
<link href="/css/c3.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<link rel="shortcut icon" href="../images/logo_128.ico" />
<link href="../css/c3.css" rel="stylesheet" />
<script src="https://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="http://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="/js/c3.js"></script>
<script src="/js/extensions/c3ext.js"></script>
<script src="/js/samples/zoom_reduction.js"></script>
<script src="https://d3js.org/d3.v5.min.js" charset="utf-8"></script>
<script src="../js/c3.js"></script>
<script src="../js/extensions/c3ext.js"></script>
<script src="../js/samples/zoom_reduction.js"></script>
</head>
<body onload="main()">
<div class="container-fluid">

11
package.json

@ -10,10 +10,10 @@
"build": "npm run build:js && npm run build:css",
"build:js": "npm run build:js:rollup && npm run build:js:uglify",
"build:js:rollup": "rollup -c",
"build:js:uglify": "uglifyjs c3.js --compress --mangle --comments -o c3.min.js",
"build:js:uglify": "uglifyjs htdocs/js/c3.js --compress --mangle --comments -o htdocs/js/c3.min.js",
"build:css": "npm run build:css:sass && npm run build:css:min",
"build:css:sass": "node-sass src/scss/main.scss > c3.css",
"build:css:min": "cleancss -o c3.min.css c3.css",
"build:css:sass": "node-sass src/scss/main.scss > htdocs/css/c3.css",
"build:css:min": "cleancss -o htdocs/css/c3.min.css htdocs/css/c3.css",
"build:docs": "bundle exec middleman build",
"publish-docs": "npm run build:docs && gh-pages -d build -m \"chore: update gh-pages [skip ci]\"",
"watch": "nodemon -e js,scss --watch src -x 'npm run build:js:rollup && npm run build:css:sass'",
@ -22,8 +22,9 @@
"watch:docs": "bundle exec middleman",
"test:only": "karma start karma.conf.js",
"test": "npm run build && npm run lint && karma start karma.conf.js",
"dist": "npm run build && npm run copy-to-docs",
"copy-to-docs": "cp c3.min.js docs/js/ && cp c3.css docs/css/",
"dist": "npm run build && npm run copy-to-root && npm run copy-to-docs",
"copy-to-docs": "cp htdocs/js/c3.* docs/js/ && cp htdocs/css/c3.* docs/css/",
"copy-to-root": "cp htdocs/{css,js}/c3.* ./",
"codecov": "codecov"
},
"repository": {

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save