-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added analytics functionality for all tabs, c3 config and styles, cmb…
…2 config and styles, jquery tabs config and styles
- Loading branch information
Tyler Kemme
committed
Mar 1, 2017
1 parent
d44e802
commit cd641e7
Showing
46 changed files
with
20,204 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"name": "c3", | ||
"main": [ | ||
"c3.css", | ||
"c3.js" | ||
], | ||
"homepage": "https://github.com/masayuki0812/c3", | ||
"authors": [ | ||
"Masayuki Tanaka <[email protected]>" | ||
], | ||
"description": "D3-based reusable chart library", | ||
"keywords": [ | ||
"chart", | ||
"d3" | ||
], | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"htdocs", | ||
"spec", | ||
"src", | ||
"package.json", | ||
"component.json", | ||
"Gruntfile.*" | ||
], | ||
"dependencies": { | ||
"d3": "~3.5.0" | ||
}, | ||
"version": "0.4.11", | ||
"_release": "0.4.11", | ||
"_resolution": { | ||
"type": "version", | ||
"tag": "0.4.11", | ||
"commit": "223404a79246c61d150d8a209dbdc81f6955083b" | ||
}, | ||
"_source": "https://github.com/masayuki0812/c3.git", | ||
"_target": "^0.4.11", | ||
"_originalSource": "c3", | ||
"_direct": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
## Filing an issue | ||
|
||
Before filing an issue, please [search the queue](https://github.com/masayuki0812/c3/issues) to make sure it hasn't already been reported. | ||
|
||
If a bug, please include the following — | ||
|
||
1. What version of C3? | ||
1. What browsers have you confirmed it in? | ||
1. Can you isolate the issue by providing a jsFiddle demonstrating it in a minimalist capacity? | ||
|
||
Please *do not* ask for support using the issue queue. For support, please ask [on chat](https://gitter.im/masayuki0812/c3) or [the mailing list](groups.google.com/forum/#!forum/c3js). | ||
|
||
##Building C3 from sources | ||
|
||
1. **Clone the repo from GitHub** | ||
|
||
git clone https://github.com/masayuki0812/c3.git | ||
cd c3 | ||
|
||
2. **Acquire build dependencies.** Make sure you have [Node.js](http://nodejs.org/) installed on your workstation. This is only needed to _build_ C3 from sources. C3 itself has no dependency on Node.js once it is built. Now run: | ||
|
||
npm install -g grunt-cli | ||
npm install | ||
|
||
The first `npm` command sets up the popular [Grunt](http://gruntjs.com/) build tool. You might need to run this command with `sudo` if you're on Linux or Mac OS X, or in an Administrator command prompt on Windows. The second `npm` command fetches the remaining build dependencies. | ||
|
||
3. **Run the build tool** | ||
|
||
grunt | ||
|
||
Now you'll find the built files in `c3.js`, `c3.min.js`, `c3.css` & `c3.min.css`. | ||
|
||
## Running the tests | ||
The `grunt` script will automatically run the specification suite and report its results. | ||
|
||
Or, if you want to run the specs in a browser (e.g., for debugging), simply open `spec/runner.html` in your browser. | ||
|
||
## Contributing your changes | ||
|
||
Add something about PRs here, indicate that PRs should not bump the version number & the build output files (`c3.js`, `c3.min.js`, `c3.css` & `c3.min.css`) should be excluded |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2013 Masayuki Tanaka | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
c3 [![Build Status](https://travis-ci.org/c3js/c3.svg?branch=master)](https://travis-ci.org/c3js/c3) [![Dependency Status](https://david-dm.org/c3js/c3.svg)](https://david-dm.org/c3js/c3) [![devDependency Status](https://david-dm.org/c3js/c3/dev-status.svg)](https://david-dm.org/c3js/c3#info=devDependencies) [![license](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](https://github.com/c3js/c3/blob/master/LICENSE) [![codecov.io](https://codecov.io/github/c3js/c3/coverage.svg?branch=master)](https://codecov.io/github/c3js/c3?branch=master) | ||
== | ||
|
||
c3 is a D3-based reusable chart library that enables deeper integration of charts into web applications. | ||
|
||
Follow the link for more information: [http://c3js.org](http://c3js.org/) | ||
|
||
## Tutorial and Examples | ||
|
||
+ [Getting Started](http://c3js.org/gettingstarted.html) | ||
+ [Examples](http://c3js.org/examples.html) | ||
|
||
Additional samples can be found in this repository: | ||
+ [https://github.com/c3js/c3/tree/master/htdocs/samples](https://github.com/c3js/c3/tree/master/htdocs/samples) | ||
|
||
You can run these samples as: | ||
``` | ||
$ cd c3/htdocs | ||
$ python -m SimpleHTTPServer 8080 | ||
``` | ||
|
||
## Google Group | ||
For general C3.js-related discussion, please visit our [Google Group at https://groups.google.com/forum/#!forum/c3js](https://groups.google.com/forum/#!forum/c3js). | ||
|
||
## Gitter | ||
[![Join the chat at https://gitter.im/c3js/c3](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/c3js/c3?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
|
||
## Using the issue queue | ||
The [issue queue](https://github.com/c3js/c3/issues) is to be used for reporting defects and problems with C3.js, in addition to feature requests and ideas. It is **not** a catch-all support forum. **For general support enquiries, please use the [Google Group](https://groups.google.com/forum/#!forum/c3js) at https://groups.google.com/forum/#!forum/c3js.** All questions involving the interplay between C3.js and any other library (such as AngularJS) should be posted there first! | ||
|
||
Before reporting an issue, please do the following: | ||
|
||
1. [Search for existing issues](https://github.com/c3js/c3/issues) to ensure you're not posting a duplicate. | ||
|
||
1. [Search the Google Group](https://groups.google.com/forum/#!forum/c3js) to ensure it hasn't been addressed there already. | ||
|
||
1. Create a JSFiddle or Plunkr highlighting the issue. Please don't include any unnecessary dependencies so we can isolate that the issue is in fact with C3. *Please be advised that custom CSS can modify C3.js output!* | ||
|
||
1. When posting the issue, please use a descriptive title and include the version of C3 (or, if cloning from Git, the commit hash — C3 is under active development and the master branch contains the latest dev commits!), along with any platform/browser/OS information that may be relevant. | ||
|
||
## Pull requests | ||
Pull requests are welcome, though please post an issue first to see whether such a change is desirable. | ||
If you choose to submit a pull request, please do not bump the version number unless asked to, and please include test cases for any new features. Squash all your commits as well, please. | ||
|
||
## Playground | ||
Please fork this fiddle: | ||
+ [http://jsfiddle.net/masayuki0812/7kYJu/](http://jsfiddle.net/masayuki0812/7kYJu/) | ||
|
||
## Dependency | ||
+ [D3.js](https://github.com/mbostock/d3) `~3.5.0` | ||
|
||
## License | ||
MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"name": "c3", | ||
"main": [ | ||
"c3.css", | ||
"c3.js" | ||
], | ||
"homepage": "https://github.com/masayuki0812/c3", | ||
"authors": [ | ||
"Masayuki Tanaka <[email protected]>" | ||
], | ||
"description": "D3-based reusable chart library", | ||
"keywords": [ | ||
"chart", | ||
"d3" | ||
], | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"htdocs", | ||
"spec", | ||
"src", | ||
"package.json", | ||
"component.json", | ||
"Gruntfile.*" | ||
], | ||
"dependencies": { | ||
"d3": "~3.5.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,167 @@ | ||
/*-- Chart --*/ | ||
.c3 svg { | ||
font: 10px sans-serif; | ||
-webkit-tap-highlight-color: transparent; } | ||
|
||
.c3 path, .c3 line { | ||
fill: none; | ||
stroke: #000; } | ||
|
||
.c3 text { | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
user-select: none; } | ||
|
||
.c3-legend-item-tile, | ||
.c3-xgrid-focus, | ||
.c3-ygrid, | ||
.c3-event-rect, | ||
.c3-bars path { | ||
shape-rendering: crispEdges; } | ||
|
||
.c3-chart-arc path { | ||
stroke: #fff; } | ||
|
||
.c3-chart-arc text { | ||
fill: #fff; | ||
font-size: 13px; } | ||
|
||
/*-- Axis --*/ | ||
/*-- Grid --*/ | ||
.c3-grid line { | ||
stroke: #aaa; } | ||
|
||
.c3-grid text { | ||
fill: #aaa; } | ||
|
||
.c3-xgrid, .c3-ygrid { | ||
stroke-dasharray: 3 3; } | ||
|
||
/*-- Text on Chart --*/ | ||
.c3-text.c3-empty { | ||
fill: #808080; | ||
font-size: 2em; } | ||
|
||
/*-- Line --*/ | ||
.c3-line { | ||
stroke-width: 1px; } | ||
|
||
/*-- Point --*/ | ||
.c3-circle._expanded_ { | ||
stroke-width: 1px; | ||
stroke: white; } | ||
|
||
.c3-selected-circle { | ||
fill: white; | ||
stroke-width: 2px; } | ||
|
||
/*-- Bar --*/ | ||
.c3-bar { | ||
stroke-width: 0; } | ||
|
||
.c3-bar._expanded_ { | ||
fill-opacity: 0.75; } | ||
|
||
/*-- Focus --*/ | ||
.c3-target.c3-focused { | ||
opacity: 1; } | ||
|
||
.c3-target.c3-focused path.c3-line, .c3-target.c3-focused path.c3-step { | ||
stroke-width: 2px; } | ||
|
||
.c3-target.c3-defocused { | ||
opacity: 0.3 !important; } | ||
|
||
/*-- Region --*/ | ||
.c3-region { | ||
fill: steelblue; | ||
fill-opacity: .1; } | ||
|
||
/*-- Brush --*/ | ||
.c3-brush .extent { | ||
fill-opacity: .1; } | ||
|
||
/*-- Select - Drag --*/ | ||
/*-- Legend --*/ | ||
.c3-legend-item { | ||
font-size: 12px; } | ||
|
||
.c3-legend-item-hidden { | ||
opacity: 0.15; } | ||
|
||
.c3-legend-background { | ||
opacity: 0.75; | ||
fill: white; | ||
stroke: lightgray; | ||
stroke-width: 1; } | ||
|
||
/*-- Title --*/ | ||
.c3-title { | ||
font: 14px sans-serif; } | ||
|
||
/*-- Tooltip --*/ | ||
.c3-tooltip-container { | ||
z-index: 10; } | ||
|
||
.c3-tooltip { | ||
border-collapse: collapse; | ||
border-spacing: 0; | ||
background-color: #fff; | ||
empty-cells: show; | ||
-webkit-box-shadow: 7px 7px 12px -9px #777777; | ||
-moz-box-shadow: 7px 7px 12px -9px #777777; | ||
box-shadow: 7px 7px 12px -9px #777777; | ||
opacity: 0.9; } | ||
|
||
.c3-tooltip tr { | ||
border: 1px solid #CCC; } | ||
|
||
.c3-tooltip th { | ||
background-color: #aaa; | ||
font-size: 14px; | ||
padding: 2px 5px; | ||
text-align: left; | ||
color: #FFF; } | ||
|
||
.c3-tooltip td { | ||
font-size: 13px; | ||
padding: 3px 6px; | ||
background-color: #fff; | ||
border-left: 1px dotted #999; } | ||
|
||
.c3-tooltip td > span { | ||
display: inline-block; | ||
width: 10px; | ||
height: 10px; | ||
margin-right: 6px; } | ||
|
||
.c3-tooltip td.value { | ||
text-align: right; } | ||
|
||
/*-- Area --*/ | ||
.c3-area { | ||
stroke-width: 0; | ||
opacity: 0.2; } | ||
|
||
/*-- Arc --*/ | ||
.c3-chart-arcs-title { | ||
dominant-baseline: middle; | ||
font-size: 1.3em; } | ||
|
||
.c3-chart-arcs .c3-chart-arcs-background { | ||
fill: #e0e0e0; | ||
stroke: none; } | ||
|
||
.c3-chart-arcs .c3-chart-arcs-gauge-unit { | ||
fill: #000; | ||
font-size: 16px; } | ||
|
||
.c3-chart-arcs .c3-chart-arcs-gauge-max { | ||
fill: #777; } | ||
|
||
.c3-chart-arcs .c3-chart-arcs-gauge-min { | ||
fill: #777; } | ||
|
||
.c3-chart-arc .c3-gauge-value { | ||
fill: #000; | ||
/* font-size: 28px !important;*/ } |
Oops, something went wrong.