Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 625 Bytes

File metadata and controls

26 lines (20 loc) · 625 Bytes

chartlib

Represent market data as charts on eve-hub.com. Made with typescript and canvas.

alt text

Feel free to use it, clone it, modify it, call it with:

initialisation(data: Data[], lang: string)

data is an array of object with those field:

interface Data {
    date: string;
    average: number;
    highest: number;
    lowest: number;
    volume: number;
    order_count: number;
}

lang is a string to set the language, here is a list of the valid one: "de", "en-us", "fr", "ja", "ru", "zh".