Skip to content

Latest commit

 

History

History
119 lines (84 loc) · 5.47 KB

README.md

File metadata and controls

119 lines (84 loc) · 5.47 KB

NVD3.js Bindings as Sencha ExtJS Package

Similar Projects and/or Alternatives

Live Example

  • click here to see the example ExtJS Application in action.

Built With

Basic Directory Structure

The relevant locations within the structure are:

Example Application: / app

The Package: / packages / local / nvd3-chart

Getting Started

a) change the local path to the desired location, for example:

cd /home/github

b) clone this repository with:

git clone git@github.com:syslogic/extjs-nvd3-charts.git

c) place the ExtJS 5.1.x Framework at the following location:

/ext

d) place the the ExtJS Crisp Theme at the following location:

/resources/themes/ext-theme-crisp

Common CLI Commands

To refresh the application bootstrap:

cd /
sencha app refresh

To build the PKG archive:

cd packages/local/nvd3-charts
sencha package build

Including the Package in your Application

This adds the package dependency (and goes to /app.json):

requires: ['nvd3-chart']

This adds the name-space NVD3.chart (and goes to /app/Application.js):

requires: ['NVD3.chart']

Package Classes and xTypes

Common NVD3 Events

  • elementMouseover
  • elementMouseout
  • tooltipShow
  • tooltipHide
  • elementClick
  • legendMouseover
  • stateChange

MIT License

Copyright (c) 2017-2018 Martin Zeitler, IT Solution Development, Bavaria.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.