https://github.com/scalajs-io/angular-nvd3
angular-nvd3 bindings for Scala.js
https://github.com/scalajs-io/angular-nvd3
Last synced: 9 months ago
JSON representation
angular-nvd3 bindings for Scala.js
- Host: GitHub
- URL: https://github.com/scalajs-io/angular-nvd3
- Owner: scalajs-io
- License: apache-2.0
- Created: 2017-03-11T21:55:39.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-17T23:06:45.000Z (over 6 years ago)
- Last Synced: 2025-01-17T22:42:55.903Z (11 months ago)
- Language: Scala
- Size: 13.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Angular nvd3 API for Scala.js
================================
[angular-nvd3](https://www.npmjs.com/package/angular-nvd3) - An angular-nvd3 binging for Scala.js.
### Description
This thing is designed to make it easier to work with nvd3.js re-usable charting library. This directive allows you
to easily customize your charts via JSON API.
The key feature is that the original hierarchical structure of nvd3 models is completely preserved in directive JSON
structure. This means that while you creating a complex chart that containing multiple elementary chart models
(such as line, bar, axis, ...), you can in turn customize the properties of each internal elementary models as well
as the global charting properties the way you want. This can be done as usual, but it becomes quite easily to customize
while applying JSON approach to.
### Build Dependencies
* [SBT v1.2.x](http://www.scala-sbt.org/download.html)
### Build/publish the SDK locally
```bash
$ sbt clean publish-local
```
### Running the tests
Before running the tests the first time, you must ensure the npm packages are installed:
```bash
$ npm install
```
Then you can run the tests:
```bash
$ sbt test
```
### Artifacts and Resolvers
To add the `angular-nvd3` binding to your project, add the following to your build.sbt:
```sbt
libraryDependencies += "io.scalajs.npm" %%% "angular-nvd3" % "0.5.0"
```
Optionally, you may add the Sonatype Repository resolver:
```sbt
resolvers += Resolver.sonatypeRepo("releases")
```