gramex-quadrant

1.0.0 • Public • Published

Reusable-Quadrant chart

A Reusable chart with 4 data points for main cluster along with its sub clusters.

This chart shows 4 data points available within provided data.

chart takes parent width and height.

This takes element id, data which can be formatted into format using "quadrant_data_format". This function takes cluster data,4 selected parameters list, overall data(by which quadrant percentage to be defined, mapping of parameters.)

Mapping of parameters: For each parameter it is expected to provide kpi_name-> to be displayed on chart, data_name-> key to be taken from data, type-> format to be displayed on dashboard(takes number,revenue, decimals, percentage only)

    EG: ID: {
            kpi_name: "Customers",
            data_name: "ID",
            type: 'number'
        }

Tooltip can be added provided with template in html.

Refer index.html for more clarity

Authors and acknowledgment

Ushasree Ginne ushasree.ginne@gramener.com

License

For open source projects.

Project status

Initial draft is published. enhancements will be continued.

Package Sidebar

Install

npm i gramex-quadrant

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

40.1 kB

Total Files

8

Last publish

Collaborators

  • ushasree28g