-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from jamesleesaunders/namespace
Re-arranged Namespace
- Loading branch information
Showing
54 changed files
with
1,269 additions
and
1,245 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,2 @@ | ||
build/*.zip | ||
test/ |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
language: node_js | ||
node_js: | ||
- "stable" | ||
|
||
script: make | ||
script: | ||
- npm test | ||
- make |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
## D3 Easy Reusable Graphs, Charts and Components | ||
# d3-ez | ||
## Contributing Guidelines | ||
|
||
**D3.EZ** is a library of reusable graphs and charts which use [D3](http://www.d3js.org/). | ||
|
||
The d3.ez.js and d3.ez.min.js files are built from source files in the src directory. | ||
Do not edit d3.ez.js directly. Instead, edit the source files, and then run make to build the generated files. | ||
**d3-ez** is a library of reusable graphs and charts which use [D3](http://www.d3js.org/). | ||
|
||
The d3-ez.js and d3-ez.min.js files are built from source files in the src directory. | ||
Do not edit d3-ez.js directly. Instead, edit the source files, and then run 'make' to generate the build files. |
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
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
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 |
---|---|---|
@@ -1,9 +1,10 @@ | ||
/* | ||
- D3.EZ | ||
- Author: James Saunders | ||
- Copyright: Copyright (C) 2017 James Saunders | ||
- License: GPL-3.0 | ||
*/ | ||
/** | ||
* d3-ez | ||
* | ||
* @author James Saunders [[email protected]] | ||
* @copyright Copyright (C) 2017 James Saunders | ||
* @license GPLv3 | ||
*/ | ||
|
||
/* === Global Styles === */ | ||
.d3ez { | ||
|
@@ -41,100 +42,104 @@ | |
|
||
|
||
/* === Bar Chart (Discrete & Grouped) Styles === */ | ||
.discreteBarChart rect.bar, .groupedBarChart rect.bar { | ||
.chartDiscreteBar rect.bar, .chartGroupedBar rect.bar { | ||
stroke: #333333; | ||
stroke-width: 1px; | ||
} | ||
.discreteBarChart rect.bar:hover { | ||
.chartDiscreteBar rect.bar:hover { | ||
opacity: 0.7; | ||
} | ||
.groupedBarChart g.barGroup:hover { | ||
.chartDiscreteBar g.barGroup:hover { | ||
opacity: 0.7; | ||
} | ||
|
||
|
||
/* === Radial Bar Chart Styles === */ | ||
.radialBarChart path { | ||
.chartRadialBar path { | ||
fill: none; | ||
} | ||
.radialBarChart path.segment { | ||
.chartRadialBar path.segment { | ||
fill: steelblue; | ||
stroke-width: 1px; | ||
stroke: #333333; | ||
} | ||
.radialBarChart path.segment:hover { | ||
.chartRadialBar path.segment:hover { | ||
opacity: 0.7; | ||
} | ||
.radialBarChart circle.outerCircle { | ||
.chartRadialBar circle.outerCircle { | ||
stroke: #aaa; | ||
stroke-dasharray: 4, 4; | ||
} | ||
.radialBarChart .tickCircles circle { | ||
.chartRadialBar .tickCircles circle { | ||
stroke: #ddd; | ||
stroke-dasharray: 2, 2; | ||
} | ||
.radialBarChart .spokes line { | ||
.chartRadialBar .spokes line { | ||
stroke: #666; | ||
stroke-width: 0.2; | ||
} | ||
.radialBarChart .labels text { | ||
.chartRadialBar .labels text { | ||
fill: #333; | ||
font-size: 10px; | ||
font-weight: bold; | ||
} | ||
|
||
|
||
/* === Circular Heat Chart Styles === */ | ||
.circularHeatChart path.segment { | ||
.chartCircularHeat path.segment { | ||
stroke: #B6B6B6; | ||
stroke-width: 0.5px; | ||
} | ||
.circularHeatChart .labels { | ||
.chartCircularHeat .labels { | ||
fill: #000000; | ||
letter-spacing: -1px; | ||
} | ||
.circularHeatChart .segmentLabels text { | ||
.chartCircularHeat .segmentLabels text { | ||
font-size: 1.0em; | ||
} | ||
.circularHeatChart .radialLabels text { | ||
.chartCircularHeat .radialLabels text { | ||
font-size: 1.1em; | ||
font-weight: bold; | ||
} | ||
|
||
|
||
/* === Tabular Heat Chart Styles === */ | ||
.tabularHeatChart rect.card { | ||
.chartTabularHeat rect.card { | ||
stroke: #b6b6b6; | ||
stroke-width: 0.5px; | ||
} | ||
.tabularHeatChart rect.card:hover { | ||
.chartTabularHeat rect.card:hover { | ||
opacity: 0.7; | ||
stroke: #b6b6b6; | ||
cursor: pointer; | ||
} | ||
|
||
|
||
/* === Donut Chart Styles === */ | ||
.donutChart polyline.line { | ||
.chartDonut polyline.line { | ||
opacity: .3; | ||
stroke: black; | ||
stroke-width: 2px; | ||
fill: none; | ||
} | ||
.donutChart path.slice { | ||
.chartDonut path.slice { | ||
stroke: #333333; | ||
stroke-width: 1px; | ||
} | ||
.donutChart path.slice:hover { | ||
.chartDonut path.slice:hover { | ||
opacity: 0.7; | ||
} | ||
|
||
|
||
/* === Punch Card Styles === */ | ||
.punchCard text.punchValue { | ||
.chartPunchCard text.punchValue { | ||
font-size: 20px; | ||
font-weight: bold; | ||
} | ||
.chartPunchCard text.label { | ||
font-size: 12px; | ||
font-weight: bold; | ||
} | ||
|
||
|
||
/* === Multi Series Line Chart Styles === */ | ||
|
@@ -146,7 +151,7 @@ | |
transform: scale(1.5); | ||
} | ||
} | ||
.multiSeriesLineChart circle:hover { | ||
.chartMultiSeriesLine circle:hover { | ||
animation-duration: 0.2s; | ||
animation-name: circleTransition; | ||
transform-origin: center center; | ||
|
Oops, something went wrong.