{"id":43010803,"url":"https://github.com/leftshiftone/chartscript","last_synced_at":"2026-01-31T05:10:22.512Z","repository":{"id":49868054,"uuid":"242261827","full_name":"leftshiftone/chartscript","owner":"leftshiftone","description":"ChartScript is an open source software library for script based chart generation.","archived":false,"fork":false,"pushed_at":"2021-06-09T14:58:24.000Z","size":222,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2023-07-05T16:43:02.139Z","etag":null,"topics":["chart-library","charts","jfreechart"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/leftshiftone.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}},"created_at":"2020-02-22T01:41:27.000Z","updated_at":"2022-06-30T16:23:09.000Z","dependencies_parsed_at":"2022-08-19T04:40:58.973Z","dependency_job_id":null,"html_url":"https://github.com/leftshiftone/chartscript","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/leftshiftone/chartscript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftshiftone%2Fchartscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftshiftone%2Fchartscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftshiftone%2Fchartscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftshiftone%2Fchartscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leftshiftone","download_url":"https://codeload.github.com/leftshiftone/chartscript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leftshiftone%2Fchartscript/sbom","scorecard":{"id":583040,"data":{"date":"2025-08-11","repo":{"name":"github.com/leftshiftone/chartscript","commit":"91a305f7fe53ed6c8884bc034d67912b5576eab5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/27 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":9,"reason":"binaries present in source code","details":["Warn: binary detected: gradle/wrapper/gradle-wrapper.jar:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: 'allow deletion' enabled on branch 'master'","Warn: 'force pushes' enabled on branch 'master'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'master'","Warn: could not determine whether codeowners review is allowed","Warn: no status checks found to merge onto branch 'master'","Warn: PRs are not required to make changes on branch 'master'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T19:41:26.568Z","repository_id":49868054,"created_at":"2025-08-20T19:41:26.568Z","updated_at":"2025-08-20T19:41:26.568Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28929866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T04:05:25.756Z","status":"ssl_error","status_checked_at":"2026-01-31T04:02:35.005Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["chart-library","charts","jfreechart"],"created_at":"2026-01-31T05:10:21.835Z","updated_at":"2026-01-31T05:10:22.505Z","avatar_url":"https://github.com/leftshiftone.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![CircleCI branch](https://img.shields.io/circleci/project/github/leftshiftone/chartscript/master.svg?style=flat-square)](https://circleci.com/gh/leftshiftone/chartscript)\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/leftshiftone/chartscript.svg?style=flat-square)](https://github.com/leftshiftone/chartscript/tags)\n[![Maven Central](https://img.shields.io/maven-central/v/one.leftshift.chartscript/chartscript?style=flat-square)](https://mvnrepository.com/artifact/one.leftshift.chartscript/chartscript)\n\n# ChartScript\n\nChartScript is an open source software library for script based chart generation. \nEach chart can be fully customized by the chartscript DSL. \n\n## PieChart\n\nA pie chart definition can be started by the function **piechart**.\n\n```kotlin\npiechart{\n   value(\"Java\", 17)\n   value(\"C/C++\", 10)\n   value(\"Python\", 7)\n   value(\"C#\", 5)\n   value(\"Javascript\", 3)\n}\n```\n\nThe **piechart** function accepts a **style callback** in order to modify style settings.\n\n```kotlin\npiechart({backgroundPaint(\"blue\")}){\n   value(\"Java\", 17)\n   value(\"C/C++\", 10)\n   value(\"Python\", 7)\n   value(\"C#\", 5)\n   value(\"Javascript\", 3)\n}\n```\n\nThe **style callback** accepts the following properties:\n\n| signature                                   | Description                                                                                                  |\n| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |\n| **title**(title:String)                     | Sets the title of the chart                                                                                  |\n| **backgroundPaint**(paint:String)           | Sets the background paint via a css compliant color string                                                   |\n| **labelBackgroundPaint**(paint:String)      | Sets the background paint of the labels via a css compliant color string                                     |\n| **labelOutlinePaint**(paint:String)         | Sets the paint of the label outline via a css compliant color string                                         |\n| **labelShadowPaint**(paint:String)          | Sets the paint of the label shadow via a css compliant color string                                          |\n| **shadowPaint**(paint:String)               | Sets the paint of the chart shadow via a css compliant color string                                          |\n| **isOutlineVisible**(visible:Boolean)       | Indicates if the chart outline is visible                                                                    |\n| **borderPaint**(paint:String)               | Sets the paint of the chart border via a css compliant color string                                          |\n| **labelPaint**(paint:String)                | Sets the paint of the labels via a css compliant color string                                                |\n| **labelLinkStroke**(width:Number)           | Sets the stroke of the label link                                                                            |\n| **labelOutlineStroke**(width:Number)        | Sets the stroke of the label outline                                                                         |\n| **outlineStroke**(width:Number)             | Sets the stroke of the chart outline                                                                         |\n| **borderStroke**(width:Number)              | Sets the stroke of the chart border                                                                          |\n| **antiAlias**(b:Boolean)                    | Indicates if anti alias is enabled                                                                           |\n| **isBorderVisible**(b:Boolean)              | Indicates if the border is visible                                                                           |\n| **simpleLabels**(b:Boolean)                 | Indicates if labels are in the segments                                                                      |\n| **labelFont**(font:String, size:Number)     | Sets the font for the labels                                                                                 |\n| **legendPosition**(position:String)         | Sets the position of the legend. Possible values are \"bottom\", \"left\", \"right\" and \"top\"                     |\n| **legendShape**(shape:String)               | Sets the shape of the legend items. Possible values are \"box\" and \"circle\"                                   |\n| **legendFont**(font:String, size: Number)   | Sets the font of the legend items.                                                                           |\n| **labelFormat**(format:String)              | Sets the format of the labels. Possible string placeholders are {0} (value), {1} (amount) and {2} (percent)  |\n\nEach **value** of a piechart accepts a **value style callback** in order to modify value specific style settings.\n\n```kotlin\npiechart {\n   value(\"Java\", 17) {background(\"blue\")}\n   value(\"C/C++\", 10)\n   value(\"Python\", 7)\n   value(\"C#\", 5)\n   value(\"Javascript\", 3)\n}\n```\n\nThe **value style callback** accepts the following properties:\n\n| signature                          | Description                                                                                                  |\n| -----------------------------------| ------------------------------------------------------------------------------------------------------------ |\n| **background**(paint:String)       | Sets the background of the value slice via a css compliant color string                                      |\n| **explodePercent**(percent:Number) | Sets the amount of space between the value slice and all other value slices                                  |\n\n## BarChart\n\nA bar chart definition can be started by the function **barchart**.\n\n```kotlin\nbarchart(\"labelX\", \"labelY\"){\n   value(10, 15, 20)\n   value(5, 17, 12)\n   value(14, 19, 27)\n}\n```\n\nThe **barchart** function accepts a **style callback** in order to modify style settings.\n\n```kotlin\nbarchart(\"labelX\", \"labelY\", {vertical(false)}){\n   value(10, 15, 20)\n   value(5, 17, 12)\n   value(14, 19, 27)\n}\n```\n\nThe **style callback** accepts the following properties:\n\n| signature                                   | Description                                                                                                  |\n| ------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |\n| **title**(title:String)                     | Sets the title of the chart                                                                                  |\n| **backgroundPaint**(paint:String)           | Sets the background paint via a css compliant color string                                                   |\n| **isOutlineVisible**(visible:Boolean)       | Indicates if the chart outline is visible                                                                    |\n| **borderPaint**(paint:String)               | Sets the paint of the chart border via a css compliant color string                                          |\n| **outlineStroke**(width:Number)             | Sets the stroke of the chart outline                                                                         |\n| **borderStroke**(width:Number)              | Sets the stroke of the chart border                                                                          |\n| **antiAlias**(b:Boolean)                    | Indicates if anti alias is enabled                                                                           |\n| **isBorderVisible**(b:Boolean)              | Indicates if the border is visible                                                                           |\n| **legendPosition**(position:String)         | Sets the position of the legend. Possible values are \"bottom\", \"left\", \"right\" and \"top\"                     |\n| **legendFont**(font:String, size: Number)   | Sets the font of the legend items.                                                                           |\n| **vertical**(b:Boolean)                     | Indicates if the plot orientation is vertical or horizontal                                                  |\n| **seriesPaint**(series:Int, paint:String)   | Sets the paint of a series via a css compliant color string                                                  |\n\n## Development\n\n### Release\nReleases are triggered locally. Just a tag will be pushed and CI pipelines take care of the rest.\n\n#### Major\nRun `./gradlew final -x sendReleaseEmail -Prelease.scope=major` locally.\n\n#### Minor\nRun `./gradlew final -x sendReleaseEmail -Prelease.scope=minor` locally.\n\n#### Patch\nRun `./gradlew final -x sendReleaseEmail -Prelease.scope=patch` locally.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleftshiftone%2Fchartscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleftshiftone%2Fchartscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleftshiftone%2Fchartscript/lists"}