Skip to content

Commit

Permalink
v1.2.0 Config Improvements (#80)
Browse files Browse the repository at this point in the history
* Replace YUI Compressor with Uglify

* Re-commit

* Fix #66 typo in sortIntervals() accessor

* Fix #77 make C3 animation prop editable

* Resolve #78 document C3.js axis.x.localtime property

* Upgrade [email protected] and [email protected], remove old deps

* Version bump, update CDN URLs, add scripts to package.json

* Fix syntax weirdness in READMEs
  • Loading branch information
Dustin Larimer authored Sep 15, 2017
1 parent 587b03e commit db3ba10
Show file tree
Hide file tree
Showing 13 changed files with 8,366 additions and 13,323 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ Include [keen-dataviz.js](dist/keen-dataviz.js) and [keen-dataviz.css](dist/keen
<head>
<meta charset="utf-8">
<!-- Use keen-analysis.js to fetch query results -->
<script src="//d26b395fwzu5fz.cloudfront.net/keen-analysis-1.2.2.js"></script>
<script src="//d26b395fwzu5fz.cloudfront.net/keen-analysis-1.3.0.js"></script>

<!-- Dataviz dependencies -->
<link href="//d26b395fwzu5fz.cloudfront.net/keen-dataviz-1.1.3.css" rel="stylesheet" />
<script src="//d26b395fwzu5fz.cloudfront.net/keen-dataviz-1.1.3.js"></script>
<link href="//d26b395fwzu5fz.cloudfront.net/keen-dataviz-1.2.0.css" rel="stylesheet" />
<script src="//d26b395fwzu5fz.cloudfront.net/keen-dataviz-1.2.0.js"></script>
</head>
<body>
<!-- DOM Element -->
<div id='my-chart-div'></div>
<div id="my-chart-div"></div>

<!-- Create and Render -->
<script>
Expand Down
21 changes: 17 additions & 4 deletions dist/keen-dataviz.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/*-- Chart --*/
.c3 svg {
font: 10px sans-serif; }
font: 10px sans-serif;
-webkit-tap-highlight-color: transparent; }
.c3 path, .c3 line {
fill: none;
stroke: #000; }
Expand All @@ -9,7 +10,11 @@
-moz-user-select: none;
-ms-user-select: none;
user-select: none; }
.c3-legend-item-tile, .c3-xgrid-focus, .c3-ygrid, .c3-event-rect, .c3-bars path {
.c3-legend-item-tile,
.c3-xgrid-focus,
.c3-ygrid,
.c3-event-rect,
.c3-bars path {
shape-rendering: crispEdges; }
.c3-chart-arc path {
stroke: #fff; }
Expand Down Expand Up @@ -42,6 +47,7 @@
.c3-bar {
stroke-width: 0; }
.c3-bar._expanded_ {
fill-opacity: 1;
fill-opacity: 0.75; }
/*-- Focus --*/
.c3-target.c3-focused {
Expand All @@ -53,10 +59,10 @@
/*-- Region --*/
.c3-region {
fill: steelblue;
fill-opacity: 0.1; }
fill-opacity: .1; }
/*-- Brush --*/
.c3-brush .extent {
fill-opacity: 0.1; }
fill-opacity: .1; }
/*-- Select - Drag --*/
/*-- Legend --*/
.c3-legend-item {
Expand All @@ -68,6 +74,9 @@
fill: white;
stroke: lightgray;
stroke-width: 1; }
/*-- Title --*/
.c3-title {
font: 14px sans-serif; }
/*-- Tooltip --*/
.c3-tooltip-container {
z-index: 10; }
Expand Down Expand Up @@ -119,6 +128,10 @@
.c3-chart-arc .c3-gauge-value {
fill: #000;
/* font-size: 28px !important;*/ }
.c3-chart-arc.c3-target g path {
opacity: 1; }
.c3-chart-arc.c3-target.c3-focused g path {
opacity: 1; }
/* WRAPPER */
.keen-dataviz {
box-sizing: border-box;
Expand Down
Loading

0 comments on commit db3ba10

Please sign in to comment.