{"id":16611753,"url":"https://github.com/andreasarvidsson/openwebproject-graph-react","last_synced_at":"2025-09-03T00:45:21.712Z","repository":{"id":57317281,"uuid":"284226014","full_name":"AndreasArvidsson/OpenWebProject-Graph-react","owner":"AndreasArvidsson","description":"React component for owp.graph","archived":false,"fork":false,"pushed_at":"2020-08-01T09:14:14.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-17T15:31:43.103Z","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/AndreasArvidsson.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}},"created_at":"2020-08-01T09:08:46.000Z","updated_at":"2020-08-01T09:14:16.000Z","dependencies_parsed_at":"2022-08-25T20:40:46.682Z","dependency_job_id":null,"html_url":"https://github.com/AndreasArvidsson/OpenWebProject-Graph-react","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasArvidsson%2FOpenWebProject-Graph-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasArvidsson%2FOpenWebProject-Graph-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasArvidsson%2FOpenWebProject-Graph-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreasArvidsson%2FOpenWebProject-Graph-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreasArvidsson","download_url":"https://codeload.github.com/AndreasArvidsson/OpenWebProject-Graph-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242916732,"owners_count":20206408,"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-10-12T01:39:20.138Z","updated_at":"2025-03-10T19:43:35.851Z","avatar_url":"https://github.com/AndreasArvidsson.png","language":"JavaScript","readme":"# OpenWebProject Graph\nReact component for [owp.graph](https://github.com/AndreasArvidsson/OpenWebProject-Graph)\n\n## Installation\n`npm install owp.graph-react --save`\n\n## Usage\n\n```jsx\nimport Graph from \"owp.graph-react\";\n\nconst options = {\n    title: {\n        label: \"Standard line plot with two data sets\"\n    },\n    axes: {\n        x: {\n            \"label\": \"Frequency (Hz)\"\n        },\n        y: {\n            \"label\": \"Amplitude (dB)\"\n        }\n    },\n    graph: {\n        names: [\"x\", \"Left\", \"Right\"],\n        dataX: [\n            [100, 200, 400]\n        ],\n        dataY: [\n            [1, 2, 3],\n            [1.5, 2.5, 3.5]\n        ]\n    }\n};\n\nconst style = {\n    width: 600,\n    height: 300\n};\n\nreturn \u003cGraph options={options} style={style}\u003e\n```\n\n### Ref usage\n```jsx\n\u003cGraph options={} ref={ref} /\u003e\n\nref.get() =\u003e owp.graph instance\nref.container =\u003e div\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasarvidsson%2Fopenwebproject-graph-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreasarvidsson%2Fopenwebproject-graph-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreasarvidsson%2Fopenwebproject-graph-react/lists"}