{"id":18615065,"url":"https://github.com/andrewjbateman/angular-highcharts-gauges","last_synced_at":"2026-05-08T00:45:18.677Z","repository":{"id":37003604,"uuid":"187369893","full_name":"AndrewJBateman/angular-highcharts-gauges","owner":"AndrewJBateman","description":":clipboard: Angular app using the highcharts API to display data.","archived":false,"fork":false,"pushed_at":"2024-01-09T18:24:58.000Z","size":2623,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T01:34:35.742Z","etag":null,"topics":["angular","angular16","css3","gauge","highcharts","highcharts-ng","typescript"],"latest_commit_sha":null,"homepage":"https://AndrewJBateman.github.io/angular-highcharts-gauges/","language":"TypeScript","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/AndrewJBateman.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":"2019-05-18T14:48:58.000Z","updated_at":"2023-08-31T08:07:03.000Z","dependencies_parsed_at":"2025-02-18T04:10:35.727Z","dependency_job_id":"56eded3e-62ff-43bd-a353-e077435988fd","html_url":"https://github.com/AndrewJBateman/angular-highcharts-gauges","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndrewJBateman/angular-highcharts-gauges","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-highcharts-gauges","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-highcharts-gauges/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-highcharts-gauges/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-highcharts-gauges/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndrewJBateman","download_url":"https://codeload.github.com/AndrewJBateman/angular-highcharts-gauges/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndrewJBateman%2Fangular-highcharts-gauges/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259353732,"owners_count":22844762,"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":["angular","angular16","css3","gauge","highcharts","highcharts-ng","typescript"],"created_at":"2024-11-07T03:28:00.601Z","updated_at":"2026-05-08T00:45:13.641Z","avatar_url":"https://github.com/AndrewJBateman.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :zap: Angular Highcharts Gauges\n\n* Angular app using the [Highcharts](https://www.highcharts.com/) API to visualise data.\n* Displays a gauge, configurable from the `app.component.ts` file using values from [Highcharts documentation](https://api.highcharts.com/highcharts/chart#).\n* **Note:** to open web links in a new window use: _ctrl+click on link_\n\n![GitHub repo size](https://img.shields.io/github/repo-size/AndrewJBateman/angular-highcharts-gauges?style=plastic)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/AndrewJBateman/angular-highcharts-gauges?style=plastic)\n![GitHub Repo stars](https://img.shields.io/github/stars/AndrewJBateman/angular-highcharts-gauges?style=plastic)\n![GitHub last commit](https://img.shields.io/github/last-commit/AndrewJBateman/angular-highcharts-gauges?style=plastic)\n\n## :page_facing_up: Table of contents\n\n* [:zap: Angular Highcharts Gauges](#zap-angular-highcharts-gauges)\n  * [:page\\_facing\\_up: Table of contents](#page_facing_up-table-of-contents)\n  * [:books: General info](#books-general-info)\n  * [:camera: Screenshots](#camera-screenshots)\n  * [:signal\\_strength: Technologies](#signal_strength-technologies)\n  * [:floppy\\_disk: Setup](#floppy_disk-setup)\n  * [:computer: Code Examples](#computer-code-examples)\n  * [:cool: Features](#cool-features)\n  * [:clipboard: Status \\\u0026 To-Do List](#clipboard-status--to-do-list)\n  * [:clap: Inspiration](#clap-inspiration)\n  * [:file\\_folder: License](#file_folder-license)\n  * [:envelope: Contact](#envelope-contact)\n\n## :books: General info\n\n* Latest versions of all dependencies used, including highcharts. No errors\n* Uses the Highcharts solid gauge module\n* Random number function used to create data for gauge\n\n## :camera: Screenshots\n\n![Example screenshot](./img/gauge.png)\n\n## :signal_strength: Technologies\n\n* [Angular framework v16](https://angular.io/)\n* [Highcharts v11](https://www.highcharts.com/)\n\n## :floppy_disk: Setup\n\n* `npm i` to install dependencies\n* `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n* `ng build` to create a build file\n\n## :computer: Code Examples\n\n* extract from `app.component.ts` - function to create a solid gauge\n\n```typescript\n  private createSolidGauge1(): void {\n    const chart = Highcharts.chart(\"solid-gauge\", {\n      chart: {\n        type: \"solidgauge\",\n      },\n      title: {\n        text: \"Random Number Solid Gauge\",\n      },\n      credits: {\n        enabled: true,\n      },\n      pane: {\n        startAngle: -90,\n        endAngle: 90,\n        center: [\"50%\", \"85%\"],\n        size: \"160%\",\n        background: {\n          innerRadius: \"60%\",\n          outerRadius: \"100%\",\n          shape: \"arc\",\n        },\n      },\n      yAxis: {\n        min: 0,\n        max: 600,\n        stops: [\n          [0.3, \"green\"],\n          [0.5, \"yellow\"],\n          [0.7, \"orange\"],\n          [0.9, \"red\"],\n        ],\n        minorTickInterval: null,\n        tickAmount: 2,\n        labels: {\n          y: 16,\n        },\n      },\n      plotOptions: {\n        solidgauge: {\n          dataLabels: {\n            y: -25,\n            borderWidth: 0,\n            useHTML: true,\n          },\n        },\n      },\n      tooltip: {\n        enabled: false,\n      },\n      series: [\n        {\n          name: null,\n          data: [this.getRandomNumber(0, 600)],\n          dataLabels: {\n            format:\n              '\u003cdiv style=\"text-align: center\"\u003e\u003cspan style=\"font-size: 3rem\"\u003e{y}\u003c/span\u003e\u003c/div\u003e',\n          },\n        },\n      ],\n    } as any);\n\n    setInterval(() =\u003e {\n      chart.series[0].points[0].update(this.getRandomNumber(0, 600));\n    }, 1000);\n  }\n```\n\n## :cool: Features\n\n* [Highcharts gauges](https://www.highcharts.com/) have other types of gauges and lots of options that can be configured.\n\n## :clipboard: Status \u0026 To-Do List\n\n* Status: Working\n* To-Do: Nothing\n\n## :clap: Inspiration\n\n* [Highcharts Solid Gauge Documentation](https://api.highcharts.com/highcharts/plotOptions.solidgauge?_ga=2.254467530.33117973.1645276249-1074080791.1645276249)\n\n## :file_folder: License\n\n* This project is licensed under the terms of the MIT license.\n\n## :envelope: Contact\n\n* Repo created by [ABateman](https://github.com/AndrewJBateman), email: `gomezbateman@yahoo.com`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-highcharts-gauges","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewjbateman%2Fangular-highcharts-gauges","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewjbateman%2Fangular-highcharts-gauges/lists"}