1.0.15 • Published 5 years ago

datalight-charts v1.0.15

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Library for rendering graphs via Highcharts based on the data loaded from DataLight

Install

npm install --save datalight-charts

Usage

import { Chart } from 'datalight-charts';

  <Chart
    config={chartConfig}
    highcharts={highcharts}
    constructorType="stockChart"
    period="1month"
    metric="coinmarketcap.coin.price_usd"
    type="LineChart"
    coins={["ETH", "XRP", "EOS", "LTC", "BCH"]}
  />

Props

NamePropTypeDescriptionDefault
highchartsObjectHighcharts` instance | undefined
constructorTypeStringString for constructor method: chart / stockChart for Highstock charts / mapChart for Highmaps chartschart
containerPropsObjectThe props object passed to the chart containerundefined
configObjectHighcharts` configuration for chart see | undefined
metricStringMetric of measurementcoinmarketcap.coin.price_usd
coinsArray of stringMeasurement currency setBTC
periodone of 1day, 7day, 1month, 3month, 1year, allTime period of measurements from the current day3month
1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago