{"id":20893392,"url":"https://github.com/arction/lcjs-example-0306-stackedbars","last_synced_at":"2025-03-12T19:14:28.000Z","repository":{"id":223869163,"uuid":"761749310","full_name":"Arction/lcjs-example-0306-stackedBars","owner":"Arction","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-05T11:37:24.000Z","size":8794,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-11T11:55:13.814Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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":"2024-02-22T12:22:20.000Z","updated_at":"2025-02-05T11:35:50.000Z","dependencies_parsed_at":"2024-02-22T14:28:14.480Z","dependency_job_id":"1f0f286c-5fdd-4e75-80f5-331e223acb43","html_url":"https://github.com/Arction/lcjs-example-0306-stackedBars","commit_stats":null,"previous_names":["arction/lcjs-example-0306-stackedbars"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arction%2Flcjs-example-0306-stackedBars","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arction%2Flcjs-example-0306-stackedBars/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arction%2Flcjs-example-0306-stackedBars/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arction%2Flcjs-example-0306-stackedBars/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arction","download_url":"https://codeload.github.com/Arction/lcjs-example-0306-stackedBars/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":[],"created_at":"2024-11-18T10:15:40.480Z","updated_at":"2025-03-12T19:14:27.985Z","avatar_url":"https://github.com/Arction.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JavaScript Stacked Bar Chart\n\n![JavaScript Stacked Bar Chart](stackedBars-darkGold.png)\n\nThis demo application belongs to the set of examples for LightningChart JS, data visualization library for JavaScript.\n\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.\n\nThe demo can be used as an example or a seed project. Local execution requires the following steps:\n\n-   Make sure that relevant version of [Node.js](https://nodejs.org/en/download/) is installed\n-   Open the project folder in a terminal:\n\n          npm install              # fetches dependencies\n          npm start                # builds an application and starts the development server\n\n-   The application is available at _http://localhost:8080_ in your browser, webpack-dev-server provides hot reload functionality.\n\n\n## Description\n\nThis example shows creation of a Stacked Bars Chart.\n\nThe stacked bar chart (aka stacked bar graph) extends the standard bar chart from looking at numeric values across one categorical variable to two. Each bar in a standard bar chart is divided into a number of sub-bars stacked end to end, each one corresponding to a level of the second categorical variable.\n\nHere's the creation of a Stacked Bar Chart with LightningChart JS.\n\n```javascript\n// Create Chart.\nconst barChart = lightningChart().BarChart()\n\n// Add categories and subCategory \u0026 values.\nbarChart.setDataStacked(\n    ['category1', 'category2', 'category2'],\n    [\n        { subCategory: 'subCategory 1', values: [1, 51, 43] },\n        { subCategory: 'subCategory 2', values: [66, 18, 1] },\n        { subCategory: 'subCategory 3', values: [1, 7, 20] },\n    ],\n)\n```\n\n\n## API Links\n\n* [Bar chart]\n* [Bar chart Value Axis]\n* [Bar chart Category Axis]\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.\n\nOfficial [API documentation][1] can be found on [LightningChart][2] website.\n\nIf the docs and other materials do not solve your problem as well as implementation help is needed, ask on [StackOverflow][3] (tagged lightningchart).\n\nIf you think you found a bug in the LightningChart JavaScript library, please contact sales@lightningchart.com.\n\nDirect developer email support can be purchased through a [Support Plan][4] or by contacting sales@lightningchart.com.\n\n[0]: https://github.com/Arction/\n[1]: https://lightningchart.com/lightningchart-js-api-documentation/\n[2]: https://lightningchart.com\n[3]: https://stackoverflow.com/questions/tagged/lightningchart\n[4]: https://lightningchart.com/support-services/\n\n© LightningChart Ltd 2009-2022. All rights reserved.\n\n\n[Bar chart]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/BarChart.html\n[Bar chart Value Axis]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/BarChartValueAxis.html\n[Bar chart Category Axis]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/BarChartCategoryAxis.html\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farction%2Flcjs-example-0306-stackedbars","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farction%2Flcjs-example-0306-stackedbars","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farction%2Flcjs-example-0306-stackedbars/lists"}