{"id":16231627,"url":"https://github.com/hustcc/g2-50-questions","last_synced_at":"2025-04-08T06:44:53.953Z","repository":{"id":47006510,"uuid":"399384985","full_name":"hustcc/G2-50-Questions","owner":"hustcc","description":"❓ 500 Questions about G2.","archived":false,"fork":false,"pushed_at":"2021-10-20T03:42:37.000Z","size":32,"stargazers_count":16,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-14T04:28:02.431Z","etag":null,"topics":["antv","g2","interview-questions","visualization"],"latest_commit_sha":null,"homepage":"https://github.com/hustcc/G2-50-Questions","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hustcc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-08-24T08:07:39.000Z","updated_at":"2024-05-03T04:05:29.000Z","dependencies_parsed_at":"2022-09-02T22:24:03.040Z","dependency_job_id":null,"html_url":"https://github.com/hustcc/G2-50-Questions","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/hustcc%2FG2-50-Questions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2FG2-50-Questions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2FG2-50-Questions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2FG2-50-Questions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hustcc","download_url":"https://codeload.github.com/hustcc/G2-50-Questions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247792924,"owners_count":20996896,"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":["antv","g2","interview-questions","visualization"],"created_at":"2024-10-10T13:06:20.797Z","updated_at":"2025-04-08T06:44:53.932Z","avatar_url":"https://github.com/hustcc.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003cb\u003eG2-50-Questions\u003c/b\u003e\u003c/h1\u003e\n\n使用 G2 最常见的 50 个问题和疑惑，通过 50 个问题以问答的形式，让大家更快的解决自己的问题，以及更快的提升可视化水平。\n\n[![Lint Markdown By lint-md](https://github.com/hustcc/G2-50-Questions/actions/workflows/syntax.yml/badge.svg)](https://github.com/hustcc/G2-50-Questions/actions/workflows/syntax.yml) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=shields)](https://github.com/hustcc/G2-50-Questions/pulls)\n\n微信扫一扫关注我们的公众号，解锁更多内容。\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://gw.alipayobjects.com/zos/antfincdn/ZKlx96dsfs/qrcode_for_gh_f52d8b6aa591_258.jpg\" width=\"192\" height=\"192\" /\u003e\n\u003c/p\u003e\n\n\n## 目录\n\n全部内容来自于维护和迭代 [AntV/G2](https://github.com/antvis/g2) 过程中，遇到答疑比较多的问题。\n\n\u003c!-- generate toc with scripts --\u003e\n\n01. [如何绘制一个常见的折柱饼图.md](./G2/如何绘制一个常见的折柱饼图.md)\n02. [如何显示 x 轴的标题.md](./G2/如何显示%20x%20轴的标题.md)\n03. [怎么设置 x, y 轴标题显示的别名.md](./G2/怎么设置%20x,%20y%20轴标题显示的别名.md)\n04. [怎么设置 y 轴显示的最大最小值范围.md](./G2/怎么设置%20y%20轴显示的最大最小值范围.md)\n05. [怎么格式化 y 轴的标签.md](./G2/怎么格式化%20y%20轴的标签.md)\n06. [怎么给柱形图的 x 轴进行排序.md](./G2/怎么给柱形图的%20x%20轴进行排序.md)\n07. [怎么设置暗色主题样式.md](./G2/怎么设置暗色主题样式.md)\n08. [如何自定义业务主题样式.md](./G2/如何自定义业务主题样式.md)\n09. [怎么让图表 legend 默认不选中.md](./G2/怎么让图表%20legend%20默认不选中.md)\n10. [怎么在 React 中使用 G2.md](./G2/怎么在%20React%20中使用%20G2.md)\n11. [怎么给图表加一个标题.md](./G2/怎么给图表加一个标题.md)\n12. [如何让折线图平滑绘制.md](./G2/如何让折线图平滑绘制.md)\n13. [怎么让图表渲染后默认显示 tooltip.md](./G2/怎么让图表渲染后默认显示%20tooltip.md)\n14. [如何将图表保存为图片格式.md](./G2/如何将图表保存为图片格式.md)\n15. [如何调整柱状图间的间距.md](./G2/如何调整柱状图间的间距.md)\n16. [如何让双 y 轴刻度线和轴标题对齐.md](./G2/如何让双%20y%20轴刻度线和轴标题对齐.md)\n17. [如何解决图形区域太靠左或太靠右.md](./G2/如何解决图形区域太靠左或太靠右.md)\n18. [如何自定义 legend 的 icon(marker).md](./G2/如何自定义%20legend%20的%20icon(marker).md)\n19. [如何解决 G2 造成的内存泄露.md](./G2/如何解决%20G2%20造成的内存泄露.md) \n\n\n\u003e to be continue...\n\n\n\n## 写作规范\n\n - 当前只有 G2 技术栈的问答，后续可能扩展到 AntV，所以相关文档放到相关目录中\n - 使用 markdown 写作，中文文档规范参考 [lint-md](https://github.com/lint-md/lint-md#%E6%A3%80%E6%9F%A5%E7%B1%BB%E5%9E%8B)\n - 文档标题和文件名保持一致，使用一级标题\n - 新标题前两个换行\n - 统一使用 Github 的图床\n - 最后都需要一个 `总结一下` 的内容，去举一反三问题\n\n\n## License\n\n[MIT](https://github.com/hustcc).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhustcc%2Fg2-50-questions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhustcc%2Fg2-50-questions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhustcc%2Fg2-50-questions/lists"}