{"id":15669952,"url":"https://github.com/missingdays/c3-old-fork","last_synced_at":"2025-03-30T05:11:47.851Z","repository":{"id":89247023,"uuid":"45991105","full_name":"missingdays/c3-old-fork","owner":"missingdays","description":null,"archived":false,"fork":false,"pushed_at":"2016-01-28T10:17:13.000Z","size":4973,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"0.4.9d","last_synced_at":"2025-02-05T07:15:19.600Z","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/missingdays.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":"2015-11-11T15:46:55.000Z","updated_at":"2016-07-05T09:11:33.000Z","dependencies_parsed_at":"2023-04-22T12:04:45.263Z","dependency_job_id":null,"html_url":"https://github.com/missingdays/c3-old-fork","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missingdays%2Fc3-old-fork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missingdays%2Fc3-old-fork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missingdays%2Fc3-old-fork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/missingdays%2Fc3-old-fork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/missingdays","download_url":"https://codeload.github.com/missingdays/c3-old-fork/tar.gz/refs/heads/0.4.9d","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246277373,"owners_count":20751549,"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-03T14:41:46.682Z","updated_at":"2025-03-30T05:11:47.825Z","avatar_url":"https://github.com/missingdays.png","language":"JavaScript","readme":"c3 [![Build Status](https://travis-ci.org/masayuki0812/c3.svg?branch=master)](https://travis-ci.org/masayuki0812/c3) [![Dependency Status](https://david-dm.org/masayuki0812/c3.svg)](https://david-dm.org/masayuki0812/c3) [![devDependency Status](https://david-dm.org/masayuki0812/c3/dev-status.svg)](https://david-dm.org/masayuki0812/c3#info=devDependencies) [![license](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](https://github.com/masayuki0812/c3/blob/master/LICENSE)\n==\n\n\nc3 is a D3-based reusable chart library that enables deeper integration of charts into web applications.\n\nFollow the link for more information: [http://c3js.org](http://c3js.org/)\n\n## Why fork?\nC3 development got kinda stack in time. As Etersoft uses c3 for its projects we decided to fork it and improve it by outselves. All releases from origin will be merged as soon as they are out.\n\n## How is this differ?\n\nOur current improvements\n\n#### Working with data\n\n**chart.loadColumns([[id, values...], [...]])**\n\nLoads given columns. Alias to chart.load({columns: [[id, values...], ...]});\n\n**chart.appendToColumn(column)**\n\nAppend given values to sequence\n\nUsage:\n```js\n    // Say data was [0, 50]\n    chart.appendToColumn(['data', 100, 200]);\n    // Now data is [0, 50, 100, 200]\n```\n\n**chart.popFromColumn(id, amount)**\n\nPops given amount from sequence\n\nUsage:\n```js\n    // Say data was [0, 100, 200, 300]\n    chart.popFromColumn('data', 2);\n    // Now data is [0, 100]\n```\n\n**chart.setValue(id, index, value)**\n\nSets value for given sequence and index. If no value is presented in index, new value is appended to sequence.\n```js\n    // Say data was [0, 100, 200, 300]\n    chart.setValue('data', 2, 400);\n    // Now data is [0, 100, 400, 300]\n\n    // Set non-existing value\n    chart.setValue('data', 10, 20);\n    // Now data is [0, 100, 400, 300, 20]\n```\n\n**chart.getValue(id, index)**\n\nGets value for given sequence and index.\n```js\n    // Say data was [0, 100, 200]\n    chart.getValue('data', 1) === 100\n\n    // Non-existing sequence or index\n    chart.getValue('no such thing', 10) === undefined\n    chart.getValue('data', 100) === undefined\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmissingdays%2Fc3-old-fork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmissingdays%2Fc3-old-fork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmissingdays%2Fc3-old-fork/lists"}