-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Axis): Add label / icon mapping
Signed-off-by: Gordon Smith <GordonJSmith@gmail.com>
- Loading branch information
1 parent
61f184f
commit 259c06a
Showing
11 changed files
with
313 additions
and
286 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 |
---|---|---|
@@ -1,28 +1,16 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "shell", | ||
"label": "watch", | ||
"command": "./node_modules/.bin/tsc", | ||
"windows": { | ||
"command": ".\\node_modules\\.bin\\tsc.cmd" | ||
}, | ||
"args": [ | ||
"--build", | ||
"--verbose", | ||
"--watch" | ||
], | ||
"isBackground": true, | ||
"problemMatcher": [ | ||
"$tsc-watch" | ||
], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
} | ||
] | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "npm", | ||
"script": "compile-umd-watch", | ||
"problemMatcher": [ | ||
"$tsc-watch" | ||
], | ||
"group": "build", | ||
"label": "npm: compile-umd-watch", | ||
"detail": "npm run compile-umd -- -w", | ||
"isBackground": true | ||
} | ||
] | ||
} |
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
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { Bar } from "@hpcc-js/chart"; | ||
|
||
new Bar() | ||
.target("target") | ||
.columns(["A", "B", "C"]) | ||
.data([ | ||
["lorem ipsum", 2, -3], | ||
["dolor sit amet", 5, -6], | ||
["consectetur adipisicing elit", 8, 9], | ||
]) | ||
.showValue(true) | ||
.showInnerText(true) | ||
.xAxisFontSize(28) | ||
.xAxisFontFamily("FontAwesome") | ||
.xAxisLabelMapping({ | ||
"lorem ipsum": "", | ||
"dolor sit amet": "", | ||
"consectetur adipisicing elit": "" | ||
}) | ||
.render(); |
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,13 @@ | ||
import { Bar } from "@hpcc-js/chart"; | ||
|
||
new Bar() | ||
.target("target") | ||
.columns(["A", "B", "C"]) | ||
.data([ | ||
["lorem ipsum", 2, -3], | ||
["dolor sit amet", 5, -6], | ||
["consectetur adipisicing elit", 8, 9], | ||
]) | ||
.showValue(true) | ||
.showInnerText(true) | ||
.render(); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.