Skip to content

Commit

Permalink
1.1.4
Browse files Browse the repository at this point in the history
Fixed:
- Annotation overflow for ordinal scale.
- Legend Export when Annotation enabled.
  • Loading branch information
alexanderby committed May 15, 2017
1 parent 5fef8b0 commit 33419dd
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 22 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ Taucharts [![Build Status](https://travis-ci.org/TargetProcess/tauCharts.png?bra
[![Slack Status](http://slack.taucharts.com/badge.svg)](http://slack.taucharts.com/)
======

![NPM downloads](https://nodei.co/npm-dl/taucharts.png?months=6)


Taucharts is a [data-focused JavaScript charting library](http://blog.taucharts.com/taucharts-data-focused-charting-library/) based on D3 and designed with passion.

##### Official website: [www.taucharts.com](http://www.taucharts.com)
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "taucharts",
"version": "1.1.3",
"version": "1.1.4",
"homepage": "https://github.com/TargetProcess/tauCharts",
"description": "D3 based data-focused charting library",
"keywords": [
Expand Down
7 changes: 6 additions & 1 deletion build/development/plugins/tauCharts.export.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ return /******/ (function(modules) { // webpackBootstrap

var getGuideLabel = function getGuideLabel(guide, key, defaultLabel) {

defaultLabel = defaultLabel == null ? '' : String(defaultLabel);
var kGuide = (guide || {})[key] || {};
var kLabel = utils.isObject(kGuide.label) ? kGuide.label.text : kGuide.label;

Expand Down Expand Up @@ -567,7 +568,7 @@ return /******/ (function(modules) { // webpackBootstrap
},

onUnitDraw: function onUnitDraw(chart, unit) {
if (tauCharts.api.isChartElement(unit)) {
if (tauCharts.api.isChartElement(unit) && unit.config.namespace === 'chart') {
this._unit = unit;
}
},
Expand Down Expand Up @@ -6154,6 +6155,10 @@ return /******/ (function(modules) { // webpackBootstrap
process.removeListener = noop;
process.removeAllListeners = noop;
process.emit = noop;
process.prependListener = noop;
process.prependOnceListener = noop;

process.listeners = function (name) { return [] }

process.binding = function (name) {
throw new Error('process.binding is not supported');
Expand Down
14 changes: 7 additions & 7 deletions build/development/tauCharts.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! taucharts - v1.1.3 - 2017-05-04
/*! taucharts - v1.1.4 - 2017-05-15
* https://github.com/TargetProcess/tauCharts
* Copyright (c) 2017 Taucraft Limited; Licensed Apache License 2.0 */
(function webpackUniversalModuleDefinition(root, factory) {
Expand Down Expand Up @@ -386,7 +386,7 @@ return /******/ (function(modules) { // webpackBootstrap
}]));

/* global VERSION:false */
var version = ("1.1.3");
var version = ("1.1.4");
exports.GPL = _tau.GPL;
exports.Plot = _tau2.Plot;
exports.Chart = _tau3.Chart;
Expand Down Expand Up @@ -12068,7 +12068,7 @@ return /******/ (function(modules) { // webpackBootstrap
return isHorizontal ? _grammarRegistry.GrammarRegistry.get('flip')(prevModel) : _grammarRegistry.GrammarRegistry.get('identity')(prevModel);
}, config.stack && _grammarRegistry.GrammarRegistry.get('stack'), enableColorPositioning && _grammarRegistry.GrammarRegistry.get('positioningByColor')].filter(function (x) {
return x;
}).concat(config.transformModel || []);
});

config.adjustRules = [config.stack && _grammarRegistry.GrammarRegistry.get('adjustYScale'), function (prevModel, args) {
var isEmptySize = prevModel.scaleSize.isEmptyScale();
Expand Down Expand Up @@ -13588,7 +13588,7 @@ return /******/ (function(modules) { // webpackBootstrap
var config = _elementPath.BasePath.init(xConfig);
var enableStack = config.stack;

config.transformRules = [config.flip && _grammarRegistry.GrammarRegistry.get('flip'), !enableStack && _grammarRegistry.GrammarRegistry.get('groupOrderByAvg'), enableStack && _elementPath.BasePath.grammarRuleFillGaps, enableStack && _grammarRegistry.GrammarRegistry.get('stack')].concat(config.transformModel || []);
config.transformRules = [config.flip && _grammarRegistry.GrammarRegistry.get('flip'), !enableStack && _grammarRegistry.GrammarRegistry.get('groupOrderByAvg'), enableStack && _elementPath.BasePath.grammarRuleFillGaps, enableStack && _grammarRegistry.GrammarRegistry.get('stack')];

config.adjustRules = [function (prevModel, args) {
var isEmptySize = prevModel.scaleSize.isEmptyScale();
Expand Down Expand Up @@ -14380,7 +14380,7 @@ return /******/ (function(modules) { // webpackBootstrap

var config = _elementPath.BasePath.init(xConfig);

config.transformRules = [config.flip && _grammarRegistry.GrammarRegistry.get('flip')].concat(config.transformModel || []);
config.transformRules = [config.flip && _grammarRegistry.GrammarRegistry.get('flip')];

config.adjustRules = [function (prevModel, args) {
var isEmptySize = prevModel.scaleSize.isEmptyScale();
Expand Down Expand Up @@ -14507,7 +14507,7 @@ return /******/ (function(modules) { // webpackBootstrap
interpolate: 'linear'
});

config.transformRules = [config.flip && _grammarRegistry.GrammarRegistry.get('flip'), !enableStack && _grammarRegistry.GrammarRegistry.get('groupOrderByAvg'), enableStack && _elementPath.BasePath.grammarRuleFillGaps, enableStack && _grammarRegistry.GrammarRegistry.get('stack')].concat(config.transformModel || []);
config.transformRules = [config.flip && _grammarRegistry.GrammarRegistry.get('flip'), !enableStack && _grammarRegistry.GrammarRegistry.get('groupOrderByAvg'), enableStack && _elementPath.BasePath.grammarRuleFillGaps, enableStack && _grammarRegistry.GrammarRegistry.get('stack')];

var avoidScalesOverflow = config.guide.avoidScalesOverflow;
var isEmptySize = function isEmptySize(model) {
Expand Down Expand Up @@ -14881,7 +14881,7 @@ return /******/ (function(modules) { // webpackBootstrap

config.transformRules = [config.flip && _grammarRegistry.GrammarRegistry.get('flip'), config.stack && _grammarRegistry.GrammarRegistry.get('stack'), enableColorPositioning && _grammarRegistry.GrammarRegistry.get('positioningByColor')].filter(function (x) {
return x;
}).concat(config.transformModel || []);
});

config.adjustRules = [enableDistributeEvenly && function (prevModel, args) {
var sizeCfg = _utils.utils.defaults(config.guide.size || {}, {
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.

18 changes: 9 additions & 9 deletions build/production/tauCharts.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "taucharts",
"version": "1.1.3",
"version": "1.1.4",
"homepage": "https://github.com/TargetProcess/tauCharts",
"description": "D3 based data-focused charting library",
"author": {
Expand Down

0 comments on commit 33419dd

Please sign in to comment.