{"id":25253270,"url":"https://github.com/davewm/ngx-graphs","last_synced_at":"2025-10-27T00:30:56.349Z","repository":{"id":75933108,"uuid":"112218070","full_name":"DaveWM/ngx-graphs","owner":"DaveWM","description":"Graphing components for angular 4+","archived":false,"fork":false,"pushed_at":"2017-12-04T16:40:46.000Z","size":2029,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T18:36:46.596Z","etag":null,"topics":["angular","angular4","chart"],"latest_commit_sha":null,"homepage":"https://davewm.github.io/ngx-graphs/","language":"TypeScript","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/DaveWM.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-11-27T16:07:30.000Z","updated_at":"2018-09-07T19:15:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e021907-540a-4df9-95b2-066243a3d520","html_url":"https://github.com/DaveWM/ngx-graphs","commit_stats":{"total_commits":26,"total_committers":1,"mean_commits":26.0,"dds":0.0,"last_synced_commit":"82bfbc14b3ea5b2c58b37429fadc6d089eeddbae"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveWM%2Fngx-graphs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveWM%2Fngx-graphs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveWM%2Fngx-graphs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaveWM%2Fngx-graphs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaveWM","download_url":"https://codeload.github.com/DaveWM/ngx-graphs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238416234,"owners_count":19468456,"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":["angular","angular4","chart"],"created_at":"2025-02-12T04:58:53.401Z","updated_at":"2025-10-27T00:30:50.949Z","avatar_url":"https://github.com/DaveWM.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg height=\"256px\" width=\"256px\" style=\"text-align: center;\" src=\"https://cdn.rawgit.com/DaveWM/ngx-graphs/master/demo/src/assets/logo.svg\"\u003e\n\u003c/p\u003e\n\n# ngx-graphs\n\n[![npm version](https://badge.fury.io/js/ngx-graphs.svg)](https://badge.fury.io/js/ngx-graphs)\n[![Build Status](https://travis-ci.org/DaveWM/ngx-graphs.svg?branch=master)](https://travis-ci.org/DaveWM/ngx-graphs)\n[![Coverage Status](https://coveralls.io/repos/github/DaveWM/ngx-graphs/badge.svg?branch=master)](https://coveralls.io/github/DaveWM/ngx-graphs?branch=master)\n[![dependency Status](https://david-dm.org/DaveWM/ngx-graphs/status.svg)](https://david-dm.org/DaveWM/ngx-graphs)\n[![devDependency Status](https://david-dm.org/DaveWM/ngx-graphs/dev-status.svg?branch=master)](https://david-dm.org/DaveWM/ngx-graphs#info=devDependencies)\n\n## Overview\n\nThe aim of `ngx-charts` is to provide highly composable charting components. For example, to build a step area chart with an X and Y axis, you would use 2 `graph-axis` components and one `step-area-chart` component. Breaking down charts into small, composable components has many benefits. To name a few: \n\n* It gives you as much control as possible over layout\n* You can swap out bits of the chart for your own implementation - if you don't like the provided `chart-legend`, just make your own.\n* You can use each component individually, perhaps even not for their intended purpose 🤔\n\n`ngx-charts` isn't opinionated about what you use for the overall layout, but [css grid](https://css-tricks.com/snippets/css/complete-guide-grid/) is the recommended option. You could also use absolute positioning, or a Javascript layout engine.\n\n_Note:_ `ngx-charts` relies heavily on flexbox internally, it will not work in browsers that do not support flexbox.\n\n## Installation\nInstall above dependencies via *npm*. \n\nNow install `ngx-graphs` via:\n```shell\nnpm install --save ngx-graphs\n```\n\n---\n##### SystemJS\n\u003e**Note**:If you are using `SystemJS`, you should adjust your configuration to point to the UMD bundle.\nIn your systemjs config file, `map` needs to tell the System loader where to look for `ngx-graphs`:\n```js\nmap: {\n  'ngx-graphs': 'node_modules/ngx-graphs/bundles/ngx-graphs.umd.js',\n}\n```\n---\n\n## Example Usage\n\nThe source for the examples on the documentation site is [here](https://github.com/DaveWM/ngx-graphs/tree/master/demo/src/app) - [composition-demo](https://github.com/DaveWM/ngx-graphs/tree/master/demo/src/app/composition-demo) is an example of how to use CSS grid for layout. \n\n## Documentation\n\nThe documentation is available at https://DaveWM.github.io/ngx-graphs/doc\n\n## Demo\n\nView all the directives in action at https://DaveWM.github.io/ngx-graphs\n\n## Dependencies\n* [Angular](https://angular.io) (*requires* Angular 4 or higher, tested with 5.0.3)\n\nOnce installed you need to import the main module:\n```js\nimport { NgxGraphsModule } from 'ngx-graphs';\n```\nThe only remaining part is to list the imported module in your application module. The exact method will be slightly\ndifferent for the root (top-level) module for which you should end up with the code similar to (notice ` NgxGraphsModule .forRoot()`):\n```js\nimport { NgxGraphsModule } from 'ngx-graphs';\n\n@NgModule({\n  declarations: [AppComponent, ...],\n  imports: [LibModule.forRoot(), ...],  \n  bootstrap: [AppComponent]\n})\nexport class AppModule {\n}\n```\n\nOther modules in your application can simply import ` NgxGraphsModule `:\n\n```js\nimport { NgxGraphsModule } from 'ngx-graphs';\n\n@NgModule({\n  declarations: [OtherComponent, ...],\n  imports: [NgxGraphsModule, ...], \n})\nexport class OtherModule {\n}\n```\n\n## License\n\nCopyright (c) 2017 David Martin. Licensed under the MIT License (MIT)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavewm%2Fngx-graphs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavewm%2Fngx-graphs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavewm%2Fngx-graphs/lists"}