{"id":18062103,"url":"https://github.com/giterlizzi/perl-chart-echarts","last_synced_at":"2025-04-05T13:21:08.748Z","repository":{"id":260183057,"uuid":"880538248","full_name":"giterlizzi/perl-Chart-ECharts","owner":"giterlizzi","description":"Apache ECharts from Perl","archived":false,"fork":false,"pushed_at":"2024-12-13T21:19:07.000Z","size":35,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T07:35:19.884Z","etag":null,"topics":["apache-echarts","chart","echarts","perl","perl5"],"latest_commit_sha":null,"homepage":"https://metacpan.org/pod/Chart::ECharts","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"artistic-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/giterlizzi.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-29T22:42:20.000Z","updated_at":"2024-12-13T21:19:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"a61566de-5dd6-45a9-9e2d-deb3da11f942","html_url":"https://github.com/giterlizzi/perl-Chart-ECharts","commit_stats":null,"previous_names":["giterlizzi/perl-chart-echarts"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giterlizzi%2Fperl-Chart-ECharts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giterlizzi%2Fperl-Chart-ECharts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giterlizzi%2Fperl-Chart-ECharts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/giterlizzi%2Fperl-Chart-ECharts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/giterlizzi","download_url":"https://codeload.github.com/giterlizzi/perl-Chart-ECharts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339889,"owners_count":20923155,"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":["apache-echarts","chart","echarts","perl","perl5"],"created_at":"2024-10-31T05:05:39.744Z","updated_at":"2025-04-05T13:21:08.730Z","avatar_url":"https://github.com/giterlizzi.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Release](https://img.shields.io/github/release/giterlizzi/perl-Chart-ECharts.svg)](https://github.com/giterlizzi/perl-Chart-ECharts/releases) [![Actions Status](https://github.com/giterlizzi/perl-Chart-ECharts/workflows/linux/badge.svg)](https://github.com/giterlizzi/perl-Chart-ECharts/actions) [![License](https://img.shields.io/github/license/giterlizzi/perl-Chart-ECharts.svg)](https://github.com/giterlizzi/perl-Chart-ECharts) [![Starts](https://img.shields.io/github/stars/giterlizzi/perl-Chart-ECharts.svg)](https://github.com/giterlizzi/perl-Chart-ECharts) [![Forks](https://img.shields.io/github/forks/giterlizzi/perl-Chart-ECharts.svg)](https://github.com/giterlizzi/perl-Chart-ECharts) [![Issues](https://img.shields.io/github/issues/giterlizzi/perl-Chart-ECharts.svg)](https://github.com/giterlizzi/perl-Chart-ECharts/issues) [![Coverage Status](https://coveralls.io/repos/github/giterlizzi/perl-Chart-ECharts/badge.svg)](https://coveralls.io/github/giterlizzi/perl-Chart-ECharts)\n\n# Chart::ECharts - Apache ECharts for Perl\n\n## Synopsis\n\n```.pl\nuse Chart::ECharts;\n\nmy $chart = Chart::ECharts-\u003enew( responsive =\u003e 1 );\n\n$chart-\u003eadd_xAxis(\n    type =\u003e 'category',\n    data =\u003e ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']\n);\n\n$chart-\u003eadd_yAxis(type =\u003e 'value');\n\n$chart-\u003eadd_series(\n    name =\u003e 'series_name',\n    type =\u003e 'bar',\n    data =\u003e [120, 200, 150, 80, 70, 110, 130]\n);\n\n# Render in HTML\n$chart-\u003erender_html;\n\n# Render chart image (require Node.js)\n$chart-\u003erender_image(\n    output =\u003e '/my-path/cool-chart.png',\n    width  =\u003e 800,\n    height =\u003e 600\n);\n```\n### Rendered HTML\n\n```.html\n\u003cdiv id=\"id_41781780b562926c2c4f3f5ef99f43b381d16726\" class=\"chart-container\" style=\"min-width:auto;min-height:300px;\"\u003e\u003c/div\u003e\n\u003cscript\u003e\n  let chart_41781780b562926c2c4f3f5ef99f43b381d16726 = echarts.init(document.getElementById('id_41781780b562926c2c4f3f5ef99f43b381d16726'), 'white', {\"locale\":\"en\",\"renderer\":\"canvas\"});\n  let option_41781780b562926c2c4f3f5ef99f43b381d16726 = {\"series\":[{\"data\":[120,200,150,80,70,110,130],\"name\":\"series_name\",\"type\":\"bar\"}],\"xAxis\":[{\"data\":[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\",\"Sun\"],\"type\":\"category\"}],\"yAxis\":[{\"type\":\"value\"}]};\n  option_41781780b562926c2c4f3f5ef99f43b381d16726 \u0026\u0026 chart_41781780b562926c2c4f3f5ef99f43b381d16726.setOption(option_41781780b562926c2c4f3f5ef99f43b381d16726);\n\u003c/script\u003e\n```\n\n### Rendered image\n\n![Bar chart](https://raw.githubusercontent.com/giterlizzi/perl-Chart-ECharts/main/charts/bar.png)\n\n\n## Install\n\nUsing Makefile.PL:\n\nTo install `Chart::ECharts` distribution, run the following commands.\n\n    perl Makefile.PL\n    make\n    make test\n    make install\n\nUsing App::cpanminus:\n\n    cpanm Chart::ECharts\n\n\n## Documentation\n\n - https://metacpan.org/release/Chart-ECharts\n\n\n## Copyright\n\n - Copyright 2024 © Giuseppe Di Terlizzi\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiterlizzi%2Fperl-chart-echarts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgiterlizzi%2Fperl-chart-echarts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgiterlizzi%2Fperl-chart-echarts/lists"}