Skip to content

Commit 07662c5

Browse files
committed
reset release 1.1.3 [run deploy]
1 parent 92c306e commit 07662c5

File tree

5 files changed

+31
-16
lines changed

5 files changed

+31
-16
lines changed

.travis.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,12 @@ deploy:
5252
overwrite: true
5353
on:
5454
branch: clientBuild
55-
condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*
56-
57-
#- provider: npm
58-
# skip_cleanup: true
59-
# email: "[email protected]"
60-
# api_key: $NPM_TOKEN__
61-
# keep_history: true
62-
# on:
63-
# branch : clientBuild
64-
# condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*
55+
condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*
56+
- provider: npm
57+
skip_cleanup: true
58+
59+
api_key: $NODE_TOKEN
60+
keep_history: true
61+
on:
62+
branch : clientBuild
63+
condition: $TRAVIS_COMMIT_MESSAGE == *"[run deploy]"*

lib/viewer/chartConfig.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ WOQLChartConfig.prototype.layout=function(layout){
104104
}
105105

106106

107-
//default is { top: 10, right: 30, left: 0, bottom: 0 }
107+
//default is { top: 10, right: 30, left: 0, bottom: 80 }
108108
WOQLChartConfig.prototype.margin=function(marginObj){
109109
if(marginObj){
110110
this._margin=marginObj;
@@ -250,13 +250,23 @@ WOQLChartRule.prototype.dot=function(isVisible){
250250
}
251251

252252
WOQLChartRule.prototype.labelRotate=function(angle){
253-
if(angle){
253+
if(angle!==undefined){
254254
this.rule.labelRotate = angle;
255255
return this
256256
}
257257
return this.rule.labelRotate;
258258
}
259259

260+
//Specify the padding of x-axis. DEFAULT: { left: 0, right: 0 }
261+
WOQLChartRule.prototype.padding=function(paddingObj){
262+
if(paddingObj){
263+
this.rule.padding=paddingObj;
264+
return this
265+
}
266+
267+
return this.rule.padding;
268+
}
269+
260270
/*
261271
* The type of xAxis or yAxis 'number' | 'category' default is 'category'.
262272
* The type of line chart 'basis'|'basisClosed'|'basisOpen'|'linear'|'linearClosed'|'natural'|'monotoneX'|'monotoneY'|'monotone' | 'step' | 'stepBefore' | 'stepAfter' |

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@terminusdb/terminus-client",
3-
"version": "1.1.9",
3+
"version": "1.1.2",
44
"description": "TerminusDB client library",
55
"main": "index.js",
66
"directories": {

public_pages.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,14 @@ pushd "$HOME" || exit
1212
git clone --branch=$PUBLICATION_BRANCH "https://${GITHUB_TOKEN}@github.com/$TRAVIS_REPO_SLUG" tmp_pages 2>&1 > /dev/null
1313
cd tmp_pages || exit
1414

15-
#rm -rf 1.1.14
16-
#rm -rf 1.1.13
15+
rm -rf 1.1.10
16+
rm -rf 1.1.9
17+
rm -rf 1.1.8
18+
rm -rf 1.1.7
19+
rm -rf 1.1.6
20+
rm -rf 1.1.5
21+
rm -rf 1.1.4
22+
1723
# Update pages
1824
cp -r $REPO_PATH/public_pages/. .
1925
# Commit and push latest version

0 commit comments

Comments
 (0)