PackagePackagetypeA library you install and call yourself.See every one →What this type is →by a community orgby a community orgoriginPublished by a community organisation, so it outlives any one maintainer.See every one →

ui5-cc-chart

A UI5 custom control that wraps Chart.js to render a line chart from label and value records, installed as a plain npm dependency with ui5-tooling-modules in ui5.yaml.

Drawing a chart in a UI5 view means reaching outside the framework's own controls, and this packages Chart.js as one: a Chart control with type, title and color, holding ChartRecord items of a label and a value, declared in an XMLView under the ui5-cc-chart namespace or constructed in JavaScript. It installs as an ordinary npm dependency, and the README's usage adds a second step: ui5-tooling-modules as a dev dependency, with its task and middleware entered in ui5.yaml. It covers one chart type, the line chart.

Facts

Latestv0.1.2ReleasedLast pushLicenceApache-2.0

Where it sits

Lives in
Provides
Custom controls and librariesUI5Custom controls and librariescapabilityExtending the set of controls an app is built from: a control of its own, a wrapper around a third-party widget, or an icon font registered with the framework, packaged so another app can reuse it. Distinct from [Web Components interop](capability:ui5-web-components), which brings in standard custom elements, and from [generators](capability:generators), which scaffold a control project rather than being one.
Requires
ui5-tooling-modulesui5-tooling-modulesartifactThe tooling extension that makes the packaged control loadable by the UI5 module loader; the README's usage adds its task and middleware to ui5.yaml.

Who is behind it

UI5 CommunityUI5 CommunityOrganisationMaintains this
In the atlas: maintains 69
@ui5-community
maintainerPeter MuessigPersonContributes to this
In the atlas: maintains 14, contributes to 80, wrote 1
@petermuessig
1 contributor

What it declares

Every artifact

Type
Package
Origin
By a community org

As a package

Where it runs
Inside its host
Distributed through
npm

Connections2

Install

npm add ui5-cc-chart

Derived from the package name. No recipe recorded; the README has the configuration.

README

quoted from ui5-community/ui5-cc-chart under Apache-2.0, read
ui5-community/ui5-cc-chart/README.mdOn GitHub

UI5 Custom Control: Chart.js

This project includes a custom control which can be consumed as a standard Node/NPM package.json dependency. It provides a wrapper for Chart.js for a LineChart.

Usage

Install the dependency to your UI5 project:

npm install ui5-cc-chart

Include the ui5-tooling-modules tooling extensions to your UI5 project:

npm install ui5-tooling-modules -D

Add the ui5-tooling-modules task and middleware to your ui5.yaml:

specVersion: "2.0"
[...]
builder:
  customTasks:
    - name: ui5-tooling-modules-task
      afterTask: replaceVersion
[...]
server:
  customMiddleware:
    - name: ui5-tooling-modules-middleware
      afterMiddleware: compression
[...]

Now you can use the control either in an XMLView:

<mvc:View controllerName="my.Controller" 
          xmlns:mvc="sap.ui.core.mvc" 
          xmlns:chart="ui5-cc-chart">
[...]
    <chart:Chart type="line" title="Some Chart" color="green">
        <chart:ChartRecord label="Day 1" value="100" />
        <chart:ChartRecord label="Day 2" value="50" />
    </chart:Chart>
[...]
</mvc:View>

or in your JavaScript code:

sap.ui.define([..., "ui5-cc-chart/Chart", "ui5-cc-chart/Chart"], function(..., Chart, ChartRecord) {

    [...]

    new Chart({
        type: "line",
        title: "Some Chart",
        color: "green",
        records: [
            new ChartRecord({label: "Day 1", value: 100}),
            new ChartRecord({label: "Day 2", value: 50})
        ]
    })

    [...]

});

How to obtain support

Please use the GitHub bug tracking system to post questions, bug reports or to create pull requests.

Contributing

Any type of contribution (code contributions, pull requests, issues) to this showcase will be equally appreciated.

Releasing

To release a new version of the package, you just need to run the following command:

# Release a new version of the package
npm version [major|minor|patch]

# Publish the package (push the change and the tag)
npm run version:publish

License

This work is dual-licensed under Apache 2.0 and the Derived Beer-ware License. The official license will be Apache 2.0 but finally you can choose between one of them if you use this work.

When you like this stuff, buy @mianbsp a beer or buy @pmuessig a coke when you see them.

Apache-2.0, read

History

Latest

v0.1.1

Features 1, Fixes 1

Notes
Bug Fixes
  • make line chart the default (bd41b41)
Features
  • finalize public project (6291ba6)
1downloads per week, npm
Weekly downloads for ui5-cc-chart26 complete calendar weeks from 2026-04-20 to 2026-10-18; the latest total is 1.20 Apr – 26 Apr: 227 Apr – 3 May: 54 May – 10 May: 1111 May – 17 May: 818 May – 24 May: 625 May – 31 May: 71 Jun – 7 Jun: 98 Jun – 14 Jun: 415 Jun – 21 Jun: 622 Jun – 28 Jun: 429 Jun – 5 Jul: 36 Jul – 12 Jul: 713 Jul – 19 Jul: 120 Jul – 26 Jul: 527 Jul – 2 Aug: 33 Aug – 9 Aug: 610 Aug – 16 Aug: 717 Aug – 23 Aug: 824 Aug – 30 Aug: 531 Aug – 6 Sept: 77 Sept – 13 Sept: 614 Sept – 20 Sept: 521 Sept – 27 Sept: 228 Sept – 4 Oct: 45 Oct – 11 Oct: 112 Oct – 18 Oct: 1
Custom controls and libraries
  1. custom-controlsThirteen custom UI5 controls for abap2UI5 appsfrom ABAP
  2. @abap2ui5/embed-controlUI5 custom control that runs an abap2UI5 app inside a host appfrom UI5
  3. ui5-cc-timerbuttonUI5 control library with a button that delays enabling or showingfrom UI5
  4. ui5-control-generatorCommand line generator of UI5 custom controls from htmlfrom UI5
  5. @marianfoo/ui5-cc-dayjsUI5 custom control formatting dates with Day.jsfrom UI5
  6. ui5-cc-pdfviewerUI5 custom control rendering a PDF from a base64 data URIfrom UI5
  7. openui5-passwordOpenUI5 password input with strength scoring and rulesfrom UI5
  8. openui5-tourOpenUI5 control library for guided app toursfrom UI5
  9. ui5-lib-visualizationUI5 control library wrapping C3.js charts as ui5.viz controlsfrom UI5
  10. UI5XUI5 library of eight composite controls under the ui5x namespacefrom UI5
  11. openui5-cameraUI5 control for live camera preview and PNG capturefrom UI5
  12. ui5-cc-mdUI5 custom control rendering Markdown to HTMLfrom UI5
  13. ui5-fontawesome-libUI5 library adding Font Awesome icon sets to sap-icon://from UI5
  14. openui5-paginatorA UI5 custom control that pages through large data in a table, for backends that serve pages over REST rather than OData.from UI5

Details

Sources4
Added by handdiscovered herechecked
npm registry, ui5-cc-chartversion, releases, installschecked
github.com/git+https://github.com/ui5-community/ui5-cc-chart.gittree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.

Compatibility and provenance
latestv0.1.2
first release
releases and cadence3, ~1329d median
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainui5, ui-and-frontend-bridge
Contributors1

From the repository’s contributor list, .

History in the atlas1
  1. First seen.
For your agent
Ref
artifact:ui5-community-ui5-cc-chart
JSON
/artifacts/ui5-community-ui5-cc-chart.json
MCP
Connecting an agent