{"id":18555614,"url":"https://github.com/n2ref/coreui-chart","last_synced_at":"2026-02-13T12:44:12.884Z","repository":{"id":178293064,"uuid":"651183374","full_name":"n2ref/coreui-chart","owner":"n2ref","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-11T20:26:08.000Z","size":5722,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T17:50:45.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://n2ref.github.io/coreui-chart","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/n2ref.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-08T17:24:41.000Z","updated_at":"2025-02-11T20:26:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"9be8cf98-68aa-49f3-a9cc-7b847eb98332","html_url":"https://github.com/n2ref/coreui-chart","commit_stats":null,"previous_names":["shabuninil/coreui-chart","n2ref/coreui-chart"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2ref%2Fcoreui-chart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2ref%2Fcoreui-chart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2ref%2Fcoreui-chart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n2ref%2Fcoreui-chart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n2ref","download_url":"https://codeload.github.com/n2ref/coreui-chart/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346626,"owners_count":22055809,"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-11-06T21:27:19.792Z","updated_at":"2026-02-13T12:44:07.847Z","avatar_url":"https://github.com/n2ref.png","language":"JavaScript","readme":"# CoreUI chart\n\n**[DEMO](https://shabuninil.github.io/coreui-chart)**\n\n\n### Install with NPM\n\n`npm install coreui-chart`\n\n### Example usage\n\n![Preview](https://raw.githubusercontent.com/shabuninil/coreui-chart/master/preview.png)\n\n```html\n\u003cdiv id=\"chart-line\"\u003e\u003c/div\u003e\n\n\u003cscript\u003e\n    let lineOptions = {\n        labels: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],\n        datasets: [\n            {\n                type: \"line\",\n                name: \"Dubai\",\n                data: [20.2, 21.6, 24.4, 27.9, 31.8, 34.6, 35.8, 35.8, 33.7, 30.7, 26.2, 22.5],\n                style: {\n                    color: '#98c18a',\n                    width: 1,        // 0 - 10\n                    dash: 0,         // 0 - 10\n                    markerSize: 3,   // 0 - 10\n                    fill: 60,        // 0 - 100\n                    theme: 'smooth', // straight, smooth, stepline\n                    gradient: true,\n                    labels: false\n                }\n            },\n            {\n                type: \"line\",\n                name: \"London\",\n                data: [5.1, 5.5, 6.6, 8.7, 11.5, 14.4, 16.6, 16, 13.7, 11.2, 8.2, 6.2],\n                style: {\n                    width: 0,\n                    labels: true,\n                    labelColor: '#ffb56a',\n                    theme: 'straight'\n                }\n            },\n            {\n                type: \"line\",\n                name: \"Murmansk\",\n                data: [-11.2, -8, -4.2, 0.3, 5.6, 10.1, 14.7, 12.2, 7.6, 1.6, -2.9, -7.2],\n                style: {\n                    width: 3,\n                    dash: 5,\n                    markerSize: 3,\n                    fill: 0,\n                    theme: 'stepline'\n                }\n            },\n        ],\n\n        options: {\n            width: '100%',\n            height: 400,\n\n            title: {\n                text: \"Temperature\",\n                align: 'left',          // left, right, center\n                fontSize  : '14px',\n                fontWeight: 'bold',\n                fontFamily: '\"Segoe UI\",Roboto,\"Helvetica Neue\"',\n                color     : '#333',\n\n                description: {\n                    text: '2010 year',\n                    align: 'left',      // left, right, center\n                    fontSize:  '12px',\n                    fontWeight:  'normal',\n                    fontFamily:  undefined,\n                    color:  '#666'\n                }\n            },\n\n            style: {\n                width: 1,             // 0 - 10\n                dash: 0,              // 0 - 100\n                stacked: false,       // false, true, '100%'\n                markerSize: 1,        // 0 - 10\n                markerType: 'circle', // circle, square\n                fill: 40,             // 0 - 100\n                gradient: false,\n                theme: 'straight'     // straight, smooth, stepline\n            }\n        }\n    };\n\n    let chartLine = CoreUI.chart.create(lineOptions);\n    chartLine.render('chart-line');\n\u003c/script\u003e\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn2ref%2Fcoreui-chart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn2ref%2Fcoreui-chart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn2ref%2Fcoreui-chart/lists"}