Samples Not Working (pt2?)
kinekt4 opened this issue · 1 comments
kinekt4 commented
Hello,
This is my first time with C3. I'm just checking out the samples and it's not working.
I believe either the paths are incorrect, or the source files are in the wrong place.
eg.
# ./htdocs/samples/api_axis_label.html
3: <link href="../css/c3.css" rel="stylesheet" type="text/css">
9: <script src="../js/c3.js"></script>
But the directory structure is like so:
.
├── htdocs
│ ├── css
│ │ ├── bootstrap.min.css
│ │ ├── index.css
│ │ └── style.css
│ ├── data
│ ├── favicon.png
│ ├── index.html
│ ├── js
│ │ ├── extensions -> ../../extensions/js
│ │ ├── require.js
│ │ └── samples
│ │ ├── plugin.js
│ │ ├── requirejs.js
│ │ └── zoom_reduction.js
│ └── samples
│ ├── api_axis_label.html
│ ├── api_axis_range.html
│ ├── api_category.html
The source files can either be found in the base directory or the /docs/
directory
Re: Samples Not Working (pt1): #923
==========
- C3 version: v0.7.20
- D3 version: v5.8.2
- Browser: Opera (69.0.3686.95)
- OS: Windows 10 (64 bit)
kinekt4 commented
The source files are there after:
npm install -g grunt-cli
npm install
npm run build
Not sure why that is required especially when the c3.js and c3.css files are already available in the base directory.
Anyway, closing.