Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
New:
- Lowercase package name for CommonJS and AMD.
- `Underscore` dependency removal.
- Async rendering of facet cells (see example: https://api.taucharts.com/advanced/performance.html)
- Async spec calculation. Progress bar and warning for heavy charts.
- Optimize nearest element search.
- Highlight element and show tooltip when cursor is close to it.
- Stick tooltip and show action buttons on click, dim other elements.
- Raise highlighted element and group over others.
- Optimized repaints when sorting DOM nodes.
- Sparkline mode (hide ticks and grid lines (except zero) in small charts and facets).
- Improved chart labeling algorithm (hide label when it intersects points).
- Allow to show line and area points (`guide.showAnchors = 'always'`).
- UTC time scale, period scale and format (use `settings.utcTime = true`).
- Improved color legend (focus on click, toggle on icon click or CTRL+click; reset button).
- Horizontal size and gradient legend layout.
- Line and area transition during filtering.
- Improved variable size line appearance (circles connected with tangents like a brush).
- Show integer ticks for integer values.
- Smooth line, that doesn't exceed data points (`guide.interpolate = 'smooth-keep-extremum'`).
- Smooth interpolation for math data (`guide.interpolate = 'smooth'`).
- Hide equal labels at line.
- Improved key search performance for cached data.
- Detect Floating Axes background color.
- Configurable Export background.
- Reserve space for bar labels.
- Display existing values in Size Legend.
- Optionally apply Filter on mouse up (default) or immediately.
- Minimal radius for highlighted line points.
- Highlight zero tick when there are positive and negative values.
- Improved default number format.
- Highlight overlapped points by moving cursor around.
- Raise smaller bars over bigger for linear scale.
- Split size legend ticks by square root, reduced ticks count.
- Show X-cursor line for highlighted line point.
- Hide axis ticks for large density.
- Removed unnecessary polyfills (Map, WeakMap), added polyfills for IE (Array.from etc).
- Disable animation when too much elements.
- Smooth area (`guide.interpolate = 'smooth-keep-extremum|smooth|linear|step'`).

Fixed:
- Avoid base axis overflow.
- HTML characters in tooltip values.
- Cut labels when insufficient space on bar charts.
- Legend plugin breaks color brewer (#251)
- Layer plugin affected size scale.
- Scatterplot and line with size overflow chart.
- Bars overlap each other.
- Disabled scales rounding.
- Fixed displaying labels behind bars.
- Extending scale domain too much.
- Side ticks labels overflow.
- Linear scale domain with equal values.
- Axis labels are not rotated.
- Y-axis width calculation.
- Bars become black during filtering.
- Horizontal bars labels overlap.
- Hide tooltip on resize.
- Tooltip and legend highlight conflict.
- Custom color legend groups stay colored when disabled.
- Wrong colored bar position at order scale.
- Hide trendline labels.
  • Loading branch information
alexanderby committed Apr 6, 2017
1 parent 9afb992 commit 58657d5
Show file tree
Hide file tree
Showing 10 changed files with 67 additions and 41 deletions.
62 changes: 44 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,16 @@ Below are some popular usage scenarios. For more examples, see our experimental
#### Scatter plot
```javascript
var chart = new tauCharts.Chart({
"type" : "scatterplot",
"x" : "eccentricity",
"y" : "period",
"color": "name",
"size" : "mass",
"data" : [{"eccentricity": 0, "period": 4.95, "name": "exoplanet", "mass": 38.0952}, ...]
'type' : 'scatterplot',
'x' : 'Cycle Time',
'y' : 'SUM(Bugs Count)',
'color': 'Team',
'size' : 'Sum(User Stories Count)',
'data' : [{'Cycle Time': 186, 'SUM(Bugs Count)': 34, 'Team': 'HDP'...}, ...],
'plugins': [
tauCharts.api.plugins.get('legend'),
tauCharts.api.plugins.get('tooltip')
]
});
```
[![Scatterplot](examples/screenshots/Taucharts_Scatterplot.png)](http://api.taucharts.com/basic/scatterplot.html)
Expand All @@ -72,11 +76,13 @@ ___
#### Line chart
```javascript
var chart = new tauCharts.Chart({
"type" : "line",
"y" : "SUM(Total Medals)",
"x" : "Age",
"color": "Sport",
"data" : [{ "Sport": "Swimming", "Age": 23, "SUM(Total Medals)": 72 }, ...]
'type' : 'line',
'y' : 'Y Scale',
'x' : 'X Scale',
'color': 'Team',
'size' : 'Effort',
'label': 'Effort',
'data' : [{'Team': 'Alpha', 'Effort': 40, 'Y Scale': 23, 'X Scale': 72 }, ...]
});
```
[![Line Chart](examples/screenshots/Taucharts_Line.png)](http://api.taucharts.com/basic/line.html)
Expand All @@ -91,8 +97,8 @@ var chart = new tauCharts.Chart({
type : 'bar',
x : 'team',
y : 'effort',
color:'priority',
data : [{"team": "d", "cycleTime": 1, "effort": 1, "count": 1, "priority": "low"}, ...]
color: 'priority',
data : [{'team': 'd', 'effort': 1, 'count': 1, 'priority': 'low'}, ...]
});
```
[![Bar Chart](examples/screenshots/Taucharts_Bar.png)](http://api.taucharts.com/basic/bar.html)
Expand All @@ -107,7 +113,8 @@ var chart = new tauCharts.Chart({
type : 'horizontal-bar',
x : 'count',
y : 'team',
data : [{"team": "alpha", "count": 8}, ...]
color: 'priority',
data : [{'team': 'alpha', 'effort': 8, 'priority': 'major'}, ...]
});
```
[![Horizontal Bar Chart](examples/screenshots/Taucharts_Horizontal-bar.png)](http://api.taucharts.com/basic/horizontal-bar.html)
Expand All @@ -120,10 +127,10 @@ ___
```javascript
var chart = new tauCharts.Chart({
type : 'stacked-bar',
x : 'process',
y : 'count',
color: 'stage',
data : [{process: 'sales', stage: 'visit', count: 100}, ...]
x : 'age',
y : ['count', 'sport'],
color: 'country',
data : [{country: 'Canada', sport: 'Biathlon', medals: 20, age: 22}, ...]
});
```
[![Stacked Bar Chart](examples/screenshots/Taucharts_Stacked-bar.png)](http://api.taucharts.com/basic/stacked-bar.html)
Expand All @@ -148,6 +155,25 @@ See [horizontal stacked bar chart documentation](http://api.taucharts.com/basic/

___

#### Stacked area chart
```javascript
var chart = new tauCharts.Chart({
type : 'stacked-area',
y : 'effort',
x : 'date',
color: 'team',
guide: {
interpolate: 'smooth'
},
data : [{date: '2015-07-15', effort: 400, team: 'Alpha'}, ...]
});
```
[![Horizontal Stacked Bar Chart](examples/screenshots/Taucharts_Stacked-area.png)](http://api.taucharts.com/basic/stacked-area.html)

See [stacked area chart documentation](http://api.taucharts.com/basic/stacked-area.html)

___

#### Facet chart
```javascript
var chart1 = new tauCharts.Chart({
Expand Down
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "taucharts",
"version": "0.10.0-beta.25",
"version": "1.0.0",
"homepage": "https://github.com/TargetProcess/tauCharts",
"description": "D3 based data-focused charting library",
"keywords": [
Expand All @@ -19,7 +19,7 @@
"!license.txt"
],
"dependencies": {
"d3": "~3.5.5"
"d3": "~3.5.17"
},
"devDependencies": {
"modernizer": "2.8.2",
Expand Down
4 changes: 2 additions & 2 deletions build/development/tauCharts.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! taucharts - v0.10.0-beta.25 - 2017-03-30
/*! taucharts - v1.0.0 - 2017-04-06
* https://github.com/TargetProcess/tauCharts
* Copyright (c) 2017 Taucraft Limited; Licensed Apache License 2.0 */
(function webpackUniversalModuleDefinition(root, factory) {
Expand Down Expand Up @@ -383,7 +383,7 @@ return /******/ (function(modules) { // webpackBootstrap
}]));

/* global VERSION:false */
var version = ("0.10.0-beta.25");
var version = ("1.0.0");
exports.GPL = _tau.GPL;
exports.Plot = _tau2.Plot;
exports.Chart = _tau3.Chart;
Expand Down
2 changes: 1 addition & 1 deletion build/production/tauCharts.dark.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/production/tauCharts.default.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/production/tauCharts.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions build/production/tauCharts.min.js

Large diffs are not rendered by default.

Binary file added examples/screenshots/Taucharts_Stacked-area.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 12 additions & 12 deletions examples/specs/area-interpolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ dev.spec({
interpolate: 'smooth'
},
data: [
{team: 'Alpha', date: '2015-07-15', effort: 400},
{team: 'Alpha', date: '2015-07-16', effort: 200},
{team: 'Alpha', date: '2015-07-17', effort: 300},
{team: 'Alpha', date: '2015-07-18', effort: 500},
{team: 'Beta', date: '2015-07-15', effort: 100},
{team: 'Beta', date: '2015-07-16', effort: 200},
{team: 'Beta', date: '2015-07-17', effort: 300},
{team: 'Beta', date: '2015-07-18', effort: 100},
{team: 'Gamma', date: '2015-07-15', effort: 300},
{team: 'Gamma', date: '2015-07-16', effort: 100},
{team: 'Gamma', date: '2015-07-17', effort: 100},
{team: 'Gamma', date: '2015-07-18', effort: 200}
{team: 'Alpha', date: '2015-07-15', effort: 400, phase: 'dev'},
{team: 'Alpha', date: '2015-07-16', effort: 200, phase: 'dev'},
{team: 'Alpha', date: '2015-07-17', effort: 300, phase: 'release'},
{team: 'Alpha', date: '2015-07-18', effort: 500, phase: 'release'},
{team: 'Beta', date: '2015-07-15', effort: 100, phase: 'dev'},
{team: 'Beta', date: '2015-07-16', effort: 200, phase: 'dev'},
{team: 'Beta', date: '2015-07-17', effort: 300, phase: 'release'},
{team: 'Beta', date: '2015-07-18', effort: 100, phase: 'release'},
{team: 'Gamma', date: '2015-07-15', effort: 300, phase: 'dev'},
{team: 'Gamma', date: '2015-07-16', effort: 100, phase: 'dev'},
{team: 'Gamma', date: '2015-07-17', effort: 100, phase: 'release'},
{team: 'Gamma', date: '2015-07-18', effort: 200, phase: 'release'}
]
});
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "taucharts",
"version": "0.10.0-beta.25",
"version": "1.0.0",
"homepage": "https://github.com/TargetProcess/tauCharts",
"description": "D3 based data-focused charting library",
"author": {
Expand All @@ -19,7 +19,7 @@
}
],
"dependencies": {
"d3": "^3.5.5",
"d3": "^3.5.17",
"topojson": "1.6.24"
},
"repository": {
Expand Down

0 comments on commit 58657d5

Please sign in to comment.