1.1.8 • Published 3 years ago

image-chart v1.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Contributors Forks Stargazers Issues MIT License LinkedIn

About Project

npm.io

This is different kind of graph representation of UI kit. It's fully worked on react Js. In here you can simply plot graph with binary values. Now package are 3 different kind of image is using, many images are adding soon. You can simply change back, text color attributes.

Features

Available Image Types building map map2 Others are available soon

  • Highly customizable
  • Very easy to implement
  • Resolution independent
  • Uses css for smooth animations on riced time
  • Works in all modern browsers, Chrome, FireFox, Safari
  • Simply compare ratio
  • No need other front-end css stuff
  • Dark, light modes available and text back colors are editable
  • You can use any color theme combination
  • Now map and building template are available (other templates are under developed)

Framework support

  • React JS (no dependencies)

Built With

Get started

Installation

This is a Node.js module available through the npm registry.

Before installing, download and install Node.js. Node.js 0.10 or higher is required.

Installation is done using the npm install command:

Using npm:

$ npm i image-chart

Using yarn:

$ yarn add image-chart

Usage

sample - 01

import {ImageChart} from "image-chart";

function App() {
  return (
    <ImageChart name="chart" title="Occupants count"  total={1500} value={500} />
  );
}

export default App;

sample - 02 (Dark Mode)

import {ImageChart} from "image-chart";

function App() {
  return (
      <ImageChart  name="chart" title="Occupants count " dark={true} total={1500} value={500} />
  );
}

export default App;

sample - 03 (change image type)

import {ImageChart} from "image-chart";

function App() {
  return (
    <ImageChart   name="chart" title="Occupants count " type="map" cardTextColor="#fff" total={1500} value={500} />
  );
}

export default App;

sample - 04 (use other props you can read more in option part)

import {ImageChart} from "image-chart";

function App() {
  return (
    <ImageChart cardBackColor="#f8c7ff" lineColor="#fa2eec" highLightColor="#fa2eec" cardTextColor="#fff"  name="chart" type="map"  title="Occupancy"  total={1200} value={420} />
  );
}

export default App;

Options

You can pass these options to the initialize function to set a custom look and feel for the plugin.

Browser Support

Native support

  • Chrome
  • Safari
  • FireFox

License

MIT

Developed by Karunaaharan Bavaram

Copyright

Copyright (c) 2022 Karunaaharan Bavaram, contributors. Released under the MIT, GPL licenses

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.89

3 years ago

1.0.88

3 years ago

1.0.87

3 years ago

1.0.86

3 years ago

1.0.85

3 years ago

1.0.84

3 years ago

1.0.83

3 years ago

1.0.82

3 years ago

1.0.81

3 years ago

1.0.8

3 years ago

1.0.79

3 years ago

1.0.78

3 years ago

1.0.77

3 years ago

1.0.76

3 years ago

1.0.75

3 years ago

1.0.74

3 years ago

1.0.73

3 years ago

1.0.72

3 years ago

1.0.71

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago