{"id":20893433,"url":"https://github.com/arction/lcjs-example-0502-dashboardtrading","last_synced_at":"2025-03-12T19:14:32.944Z","repository":{"id":98723663,"uuid":"200631850","full_name":"Arction/lcjs-example-0502-dashboardTrading","owner":"Arction","description":"A demo application showcasing using LightningChart JS to create a trading dashboard.","archived":false,"fork":false,"pushed_at":"2025-02-05T11:37:40.000Z","size":12552,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-05T12:31:52.792Z","etag":null,"topics":["demo","example","javascript","lcjs","lightningchart-js","ohlc-chart","performance","trading","webgl","xy-chart"],"latest_commit_sha":null,"homepage":"https://www.arction.com/lightningchart-js-interactive-examples/examples/lcjs-example-0502-dashboardTrading.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Arction.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-05T10:12:33.000Z","updated_at":"2025-02-05T11:36:01.000Z","dependencies_parsed_at":"2025-02-05T12:28:39.814Z","dependency_job_id":"0fdeb596-b827-4e49-a635-fe76cd7e74ee","html_url":"https://github.com/Arction/lcjs-example-0502-dashboardTrading","commit_stats":null,"previous_names":[],"tags_count":3,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arction%2Flcjs-example-0502-dashboardTrading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arction%2Flcjs-example-0502-dashboardTrading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arction%2Flcjs-example-0502-dashboardTrading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arction%2Flcjs-example-0502-dashboardTrading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arction","download_url":"https://codeload.github.com/Arction/lcjs-example-0502-dashboardTrading/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243277498,"owners_count":20265352,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demo","example","javascript","lcjs","lightningchart-js","ohlc-chart","performance","trading","webgl","xy-chart"],"created_at":"2024-11-18T10:15:47.868Z","updated_at":"2025-03-12T19:14:32.929Z","avatar_url":"https://github.com/Arction.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JavaScript Trading Dashboard\n\n![JavaScript Trading Dashboard](dashboardTrading-darkGold.png)\n\nThis demo application belongs to the set of examples for LightningChart JS, data visualization library for JavaScript.\r\n\r\nLightningChart JS is entirely GPU accelerated and performance optimized charting library for presenting massive amounts of data. It offers an easy way of creating sophisticated and interactive charts and adding them to your website or web application.\r\n\r\nThe demo can be used as an example or a seed project. Local execution requires the following steps:\r\n\r\n-   Make sure that relevant version of [Node.js](https://nodejs.org/en/download/) is installed\r\n-   Open the project folder in a terminal:\r\n\r\n          npm install              # fetches dependencies\r\n          npm start                # builds an application and starts the development server\r\n\r\n-   The application is available at _http://localhost:8080_ in your browser, webpack-dev-server provides hot reload functionality.\r\n\n\n## Description\n\nThis example shows the creation of a simple trading dashboard with multiple individual charts on a single pane.\r\n\r\n**Please note that using LightningChart JS for Trading use cases requires a special license agreement.**\r\nFor more information, please [contact us](https://lightningchart.com/contact/).\r\n\r\nThe chart contains:\r\n\r\n-   Japanese candlesticks ( **_OHLC series_** ) to represent the market price data\r\n-   Mountains area ( **_AreaRange series_** ) to represent the difference between high \u0026 low values\r\n-   Mountains area ( **_Area series_** ) to represent the volume\r\n\r\n## Legend\r\n\r\nLegend in this example is a UI object embedded to the chart using predefined simple builders for horizontal or vertical layout.\r\n\r\n-   Horizontal legend\r\n\r\n    ```javascript\r\n    // Create a horizontal legend embedded to the chart.\r\n    const legend = chart.addLegendBox(LegendBoxBuilders.HorizontalLegendBox)\r\n    ```\r\n\r\n-   Vertical legend\r\n\r\n    ```javascript\r\n    // Create a vertical legend embedded to the chart.\r\n    const legend = chart.addLegendBox(LegendBoxBuilders.VerticalLegendBox)\r\n    ```\r\n\r\nThe whole chart with contained series, the whole dashboard with contained charts and series, or the series individually can be easily attached to the legend box.\r\n\r\n-   Adding a chart\r\n\r\n    ```javascript\r\n    // Attach the chart and its series to legend.\r\n    // Creates a group with charts.\r\n    const entries = legend.add(chart)\r\n    ```\r\n\r\n-   Adding a dashboard\r\n\r\n    ```javascript\r\n    // Attach the dashboard with charts with series to legend.\r\n    // Creates groups of charts with series.\r\n    const entries = legend.add(dashboard)\r\n    ```\r\n\r\n-   Adding a series\r\n\r\n    ```javascript\r\n    // Attach the individual series as a group to legend.\r\n    // Creates a group from a single series.\r\n    const entries = legend.add(series)\r\n    ```\r\n\n\n## API Links\n\n* [XY cartesian chart]\n* [Axis]\n* [Axis tick strategies]\n* [Horizontal legend box]\n* [Vertical legend box]\n* [UI position origins]\n* [Solid FillStyle]\n* [RGBA color factory]\n* [Solid LineStyle]\n\n\n## Support\n\nIf you notice an error in the example code, please open an issue on [GitHub][0] repository of the entire example.\r\n\r\nOfficial [API documentation][1] can be found on [LightningChart][2] website.\r\n\r\nIf the docs and other materials do not solve your problem as well as implementation help is needed, ask on [StackOverflow][3] (tagged lightningchart).\r\n\r\nIf you think you found a bug in the LightningChart JavaScript library, please contact sales@lightningchart.com.\r\n\r\nDirect developer email support can be purchased through a [Support Plan][4] or by contacting sales@lightningchart.com.\r\n\r\n[0]: https://github.com/Arction/\r\n[1]: https://lightningchart.com/lightningchart-js-api-documentation/\r\n[2]: https://lightningchart.com\r\n[3]: https://stackoverflow.com/questions/tagged/lightningchart\r\n[4]: https://lightningchart.com/support-services/\r\n\n© LightningChart Ltd 2009-2022. All rights reserved.\r\n\n\n[XY cartesian chart]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/ChartXY.html\n[Axis]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/Axis.html\n[Axis tick strategies]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/variables/AxisTickStrategies.html\n[Horizontal legend box]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/variables/LegendBoxBuilders.html\n[Vertical legend box]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/variables/LegendBoxBuilders.html\n[UI position origins]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/variables/UIOrigins.html\n[Solid FillStyle]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/SolidFill.html\n[RGBA color factory]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/functions/ColorRGBA.html\n[Solid LineStyle]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/SolidLine.html\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farction%2Flcjs-example-0502-dashboardtrading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farction%2Flcjs-example-0502-dashboardtrading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farction%2Flcjs-example-0502-dashboardtrading/lists"}