{"id":23239443,"url":"https://github.com/r32/echarts-hx","last_synced_at":"2026-02-23T22:12:57.240Z","repository":{"id":78669576,"uuid":"67026333","full_name":"R32/echarts-hx","owner":"R32","description":"Externs of echarts v3.x for Haxe","archived":false,"fork":false,"pushed_at":"2016-09-04T11:09:49.000Z","size":82,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-12T03:17:20.016Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Haxe","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/R32.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-31T10:05:11.000Z","updated_at":"2022-03-29T06:13:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"45eb1d93-77a0-498c-8135-e66685bd92bf","html_url":"https://github.com/R32/echarts-hx","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/R32%2Fecharts-hx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R32%2Fecharts-hx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R32%2Fecharts-hx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/R32%2Fecharts-hx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/R32","download_url":"https://codeload.github.com/R32/echarts-hx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406110,"owners_count":20933806,"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-12-19T04:28:18.031Z","updated_at":"2026-02-23T22:12:57.207Z","avatar_url":"https://github.com/R32.png","language":"Haxe","funding_links":[],"categories":[],"sub_categories":[],"readme":"Externs of [echarts v3.x](https://github.com/ecomfe/echarts) for Haxe\r\n-----\r\n\r\n**WIP（未完成）**\r\n\r\n## Usage\r\n\r\nQuickStart :\r\n\r\n* Requirements : **haxe** 3.2+ \u003chttp://build.haxe.org\u003e\r\n\r\n```haxe\r\nimport js.Browser.document;\r\n\r\nclass Main{\r\n\tstatic function main() {\r\n\t\tvar ec = js.Echarts.init( document.getElementById(\"ec\") );\r\n\r\n\t\tec.setOption( {\r\n\t\t\ttitle: {\r\n\t\t\t\ttext: \"Echarts 入门示例\",\r\n\t\t\t},\r\n\r\n\t\t\ttooltip: {},\r\n\r\n\t\t\tlegend: {\r\n\t\t\t\tdata: [\"销量\"]\r\n\t\t\t},\r\n\r\n\t\t\txAxis: {\r\n\t\t\t\tdata: [\"衬衫\",\"羊毛衫\",\"雪纺衫\",\"裤子\",\"高跟鞋\",\"袜子\"]\r\n\t\t\t},\r\n\r\n\t\t\tyAxis: {},\r\n\r\n\t\t\tseries: {\r\n\t\t\t\tname: \"销量\",\r\n\t\t\t\ttype: \"bar\",\r\n\t\t\t\tdata: [5, 20, 36, 10, 10, 20]\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n}\r\n```\r\n\r\nGenerated To Javascript :\r\n\r\n```js\r\n// Generated by Haxe 3.3.0 (git build development @ cf38ee4)\r\n(function () { \"use strict\";\r\nvar ETest = function() { };\r\nETest.main = function() {\r\n\techarts.init(window.document.getElementById(\"ec\")).setOption({ title : { text : \"Echarts 入门示例\"}, tooltip : { }, legend : { data : [\"销量\"]}, xAxis : { data : [\"衬衫\",\"羊毛衫\",\"雪纺衫\",\"裤子\",\"高跟鞋\",\"袜子\"]}, yAxis : { }, series : { name : \"销量\", type : \"bar\", data : [5,20,36,10,10,20]}});\r\n};\r\nETest.main();\r\n})();\r\n```\r\n\r\n------\r\n\r\nIntelliSense（智能语法提示与自动完成）:\r\n\r\n  ![IntelliSense png](www/Intellisense.png)\r\n\r\n------\r\n\r\nfor `haxe.extern.EitherType` :\r\n\r\n```haxe\r\nec.on(ActionEvent.DATARANGESELECTED, function(param) {\r\n\tvar range: Array\u003cInt\u003e = cast param.selected;\r\n\t// or\r\n\ttrace((param.selected: Array\u003cInt\u003e).length);\r\n\t//trace((param.selected: Dynamic).some);\r\n});\r\n```\r\n\r\n## Status\r\n\r\n\u003chttp://echarts.baidu.com/api.html#echarts\u003e\r\n\r\n* [x] echarts : `js.Echarts`\r\n\r\n* [x] action : `js.echarts.Action`\r\n\r\n* [x] events : `js.echarts.Event, MouseEvent, ActionEvent, OptionsEvent`\r\n\r\n* [ ] options : `js.echarts.SetOptions`\r\n\r\n  - [x] MISC ATTRIBUTES :\r\n\r\n  `package js.echarts.options` :\r\n\r\n  - [x] title :\r\n  - [x] legend :\r\n  - [x] grid :\r\n  - [x] xAxis :\r\n  - [x] yAxis :\r\n  - [x] polar :\r\n  - [x] radiusAxis :\r\n  - [x] angleAxis :\r\n  - [x] radar :\r\n  - [x] dataZoom :\r\n  - [x] visualMap :\r\n  - [x] tooltip :\r\n  - [x] toolbox :\r\n  - [x] brush :\r\n  - [x] geo :\r\n  - [x] parallel :\r\n  - [x] parallelAxis :\r\n  - [x] singleAxis :\r\n  - [x] timeline :\r\n  - [ ] series :\r\n\r\nOptional:\r\n\r\n* [ ] echarts.graphic\r\n  - [x] LinearGradient\r\n  - [x] RadialGradient\r\n  - [ ] ......\r\n\r\n* [x] echarts.color : `js.echarts.Color`\r\n\r\n### Difference\r\n\r\n* `action.tooltip.showTip` is separated into an `SHOWTIPXY` and `SHOWTIP`, However, they are actually the same value\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr32%2Fecharts-hx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fr32%2Fecharts-hx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fr32%2Fecharts-hx/lists"}