{"id":14973808,"url":"https://github.com/justice47/f2-vue","last_synced_at":"2026-03-10T07:04:50.271Z","repository":{"id":113278625,"uuid":"217006494","full_name":"justice47/f2-vue","owner":"justice47","description":"🍀 Vue component for elegant, interactive and flexible mobile chart library","archived":false,"fork":false,"pushed_at":"2019-10-28T15:22:21.000Z","size":1624,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T04:57:18.709Z","etag":null,"topics":["chart","charts","data-visualization","visualisation","visualization","vue","vue2","vuejs"],"latest_commit_sha":null,"homepage":"","language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justice47.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}},"created_at":"2019-10-23T08:26:32.000Z","updated_at":"2021-10-08T14:10:38.000Z","dependencies_parsed_at":"2023-04-18T01:35:51.215Z","dependency_job_id":null,"html_url":"https://github.com/justice47/f2-vue","commit_stats":{"total_commits":25,"total_committers":3,"mean_commits":8.333333333333334,"dds":0.12,"last_synced_commit":"d0a5268a7f5f1161634353f4fd0d674620b3ae0e"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/justice47/f2-vue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justice47%2Ff2-vue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justice47%2Ff2-vue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justice47%2Ff2-vue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justice47%2Ff2-vue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justice47","download_url":"https://codeload.github.com/justice47/f2-vue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justice47%2Ff2-vue/sbom","scorecard":{"id":543761,"data":{"date":"2025-08-11","repo":{"name":"github.com/justice47/f2-vue","commit":"d0a5268a7f5f1161634353f4fd0d674620b3ae0e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/10 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}}]},"last_synced_at":"2025-08-20T08:53:35.954Z","repository_id":113278625,"created_at":"2025-08-20T08:53:35.954Z","updated_at":"2025-08-20T08:53:35.954Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30326893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["chart","charts","data-visualization","visualisation","visualization","vue","vue2","vuejs"],"created_at":"2024-09-24T13:49:26.739Z","updated_at":"2026-03-10T07:04:50.132Z","avatar_url":"https://github.com/justice47.png","language":"Vue","funding_links":[],"categories":["Components \u0026 Libraries","UI Components [🔝](#readme)"],"sub_categories":["UI Components"],"readme":"# f2-vue\n\nVue component for elegant, interactive and flexible mobile chart library\n\nOriginal library - [antvis/f2](https://github.com/antvis/f2 \"antvis/f2\")\n\n## Roadmap\n\n✅ Basic functionality  \n✅ Chart instance settings  \n✅ Geometry  \n✅ Scale  \n✅ Coord  \n✅ Axis  \n✅ Legend  \n✅ Guide  \n✅ Scrollbar  \n✅ Rerender on data change  \n\n⚠️ Util methods  \n⚠️ Context  \n⚠️ All the methods besides first render  \n⚠️ Make installable as a plugin  \n\n## Installation\n\n```bash\n$ npm install f2-vue\n```\n\n## Import\n\n```javascript\nimport f2chart from \"f2-vue\";\n```\n\n```javascript\nexport default {\n  components: {\n    f2chart\n  }\n},\n```\n\n```html\n\u003cf2chart /\u003e\n```\n\n## Docs\n\nYou can find full API for F2 chart here: [API for F2](https://antv.gitbook.io/f2/api/ \"API for F2\")  \nPay attention to the [Roadmap](#Roadmap \"Roadmap\") section of this page - there is actual list of working features.  \n\n### Basic example\n\n```html\n\u003cf2chart\n  :data=\"data\"\n  :geometry=\"geometry\"\n  ref=\"chart\"\n/\u003e\n```\n\n```javascript\nexport default {\n  return {\n    data: [\n      { year: \"1951\", sales: 38 },\n      { year: \"1952\", sales: 52 },\n      { year: \"1956\", sales: 61 }\n    ],\n    geometry: [\n      {\n        type: \"interval\",\n        position: [\"year\", \"sales\"],\n        color: 'year'\n      }\n    ],\n  }\n}\n```\n\n![Charts](https://user-images.githubusercontent.com/29502063/67677996-8b5c3f80-f996-11e9-838c-e5bffa0abb13.PNG)\n\n### Example with some props\n\n```html\n\u003cf2chart\n  :data=\"data\"\n  :geometry=\"geometry\"\n  :width=\"500\"\n  :height=\"200\"\n  :scale=\"scale\"\n  :coord=\"coord\"\n  :tooltip=\"tooltip\"\n  :legend=\"false\"\n  :guide=\"guide\"\n  :scrollBar=\"scrollBar\"\n  ref=\"chart\"\n/\u003e\n```\n\n```javascript\nexport default {\n  return {\n    data: [\n      { year: \"1951\", sales: 38 },\n      { year: \"1952\", sales: 52 },\n      { year: \"1956\", sales: 61 },\n      { year: \"1957\", sales: 145 },\n      { year: \"1958\", sales: 48 },\n      { year: \"1959\", sales: 38 },\n      { year: \"1960\", sales: 38 },\n      { year: \"1962\", sales: 47 }\n    ],\n    geometry: [\n      {\n        type: \"interval\",\n        position: [\"year\", \"sales\"],\n        color: 'year',\n        animation: false\n      },\n      {\n        type: \"line\",\n        position: [\"year\", \"sales\"],\n      }\n    ],\n    scale: [\n      {\n        field: \"sales\",\n        config: {\n        min: 0,\n        max: 300\n        }\n      }\n    ],\n    coord: {\n      type: \"rect\",\n      config: {\n        transposed: false\n      }\n    },\n    axis: [\n      {\n        field: \"\",\n        config: {}\n      }\n    ],\n    legend: false,\n    tooltip: {\n      alwaysShow: true,\n    },\n    guide: [\n      {\n        type: 'line',\n        config: {\n        start: ['min', 175],\n        end: ['max', 175],\n        style: {\n            lineWidth: 2,\n            stroke: 'red'\n          }\n        }\n      }\n    ],\n    scrollBar: {\n      mode: 'x',\n      xStyle: {\n        offsetY: -5\n      }\n    }\n  }\n}\n```\n\n![Charts3](https://user-images.githubusercontent.com/29502063/67678557-efcbce80-f997-11e9-926d-7bcf60952999.PNG)\n\n## Issues and contributing\n\nFeel free to submit an issue or the PR\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustice47%2Ff2-vue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustice47%2Ff2-vue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustice47%2Ff2-vue/lists"}