{"id":20893506,"url":"https://github.com/arction/lcjs-example-0009-severalaxisxy","last_synced_at":"2025-03-12T19:14:50.831Z","repository":{"id":98723595,"uuid":"333398464","full_name":"Arction/lcjs-example-0009-severalaxisxy","owner":"Arction","description":"A demo application showcasing using multiple axes in LightningChart JS.","archived":false,"fork":false,"pushed_at":"2025-02-05T11:35:11.000Z","size":12516,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-05T12:31:15.007Z","etag":null,"topics":["axis","chart","data-visualization","lcjs","lightningchart-js"],"latest_commit_sha":null,"homepage":"https://www.arction.com/lightningchart-js-interactive-examples/examples/lcjs-example-0009-severalAxisXY.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":"2021-01-27T11:28:48.000Z","updated_at":"2025-02-05T11:34:38.000Z","dependencies_parsed_at":"2024-05-07T09:26:14.384Z","dependency_job_id":"0e76ecee-aeeb-4d03-a21e-98234ea9f609","html_url":"https://github.com/Arction/lcjs-example-0009-severalaxisxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arction%2Flcjs-example-0009-severalaxisxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arction%2Flcjs-example-0009-severalaxisxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arction%2Flcjs-example-0009-severalaxisxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Arction%2Flcjs-example-0009-severalaxisxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Arction","download_url":"https://codeload.github.com/Arction/lcjs-example-0009-severalaxisxy/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":["axis","chart","data-visualization","lcjs","lightningchart-js"],"created_at":"2024-11-18T10:16:03.585Z","updated_at":"2025-03-12T19:14:50.824Z","avatar_url":"https://github.com/Arction.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Several AxesXY\n\n![Several AxesXY](severalAxesXY-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\n_Several Axes XY chart_\r\n\r\nThis example shows creation of a Chart with 2 XY Axes. This Chart can be used to compare or see several graphs\r\n\r\nHere's the creation of a 2 XY Axes Chart.\r\n\r\n```javascript\r\n// Create Chart.\r\nconst chart = lightningChart().ChartXY()\r\n// Get references to default axes X and Y\r\nconst axisX1 = chart.getDefaultAxisX()\r\nconst axisX1 = chart.getDefaultAxisY()\r\n// Create extra axes X and Y\r\nconst axisX2 = chart.addAxisX({\r\n    opposite: true,\r\n})\r\nconst axisX2 = chart.addAxisY({\r\n    opposite: true,\r\n})\r\n// Create series with explicit axes.\r\nconst splineSeries1 = chart.addSplineSeries({\r\n    xAxis: axisX1,\r\n    yAxis: axisY1,\r\n})\r\nconst splineSeries2 = chart.addSplineSeries({\r\n    xAxis: axisX2,\r\n    yAxis: axisY2,\r\n})\r\n// Set values of sub-categories on categories (relative Y size).\r\nsplineSeries1.add({ x: 0, y: 0.4 })\r\nsplineSeries2.add({ x: 2, y: 0.6 })\r\n```\r\n\n\n## API Links\n\n* [XY cartesian chart]\n* [Rectangle series]\n* [Axis]\n* [Solid FillStyle]\n* [Solid LineStyle]\n* [RGBA color factory]\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[Rectangle series]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/RectangleSeries.html\n[Axis]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/Axis.html\n[Solid FillStyle]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/SolidFill.html\n[Solid LineStyle]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/classes/SolidLine.html\n[RGBA color factory]: https://lightningchart.com/js-charts/api-documentation/v7.0.1/functions/ColorRGBA.html\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farction%2Flcjs-example-0009-severalaxisxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farction%2Flcjs-example-0009-severalaxisxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farction%2Flcjs-example-0009-severalaxisxy/lists"}