MCPcopy Index your code
hub / github.com/adopted-ember-addons/ember-cli-chart

github.com/adopted-ember-addons/ember-cli-chart @v3.7.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.7.2 ↗ · + Follow
13 symbols 26 edges 16 files 0 documented · 0% 1 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Ember Chart

Build Status Ember Observer Score

This Ember CLI addon is a simple wrapper for ChartJS (v2.9).

Compatibility

  • Ember.js v3.12 or above
  • Ember CLI v2.13 or above
  • Node.js v10 or above

Installation

$ ember install ember-cli-chart

Usage

In your handlebars template just do:

{{ember-chart
  type=CHARTTYPE
  data=CHARTDATA
  options=CHARTOPTIONS
  width=CHARTWIDTH
  height=CHARTHEIGHT
  plugins=CHARTPLUGINS
  customLegendElement=CUSTOMLEGENDELEMENT
}}
  • CHARTTYPE: String; one of the following -- line, bar, radar, polarArea, pie or doughnut.
  • CHARTDATA: Array; refer to the ChartJS documentation
  • CHARTOPTIONS: Object; refer to the ChartJS documentation. This is optional.
  • CHARTWIDTH: Number; pixel width of the canvas element. Only applies if the chart is NOT responsive.
  • CHARTHEIGHT: Number; pixel height of the canvas element. Only applies if the chart is NOT responsive.
  • CHARTPLUGINS: Array; refer to ChartJS documentaion. This is optional.
  • CUSTOMLEGENDELEMENT: HTMLElement; A custom element to put a custom legend in, when using legendCallback. This is optional.

Example

{{ember-chart type='pie' data=model.chartData width=200 height=200}}

More Resources

Core symbols most depended-on inside this repo

processTree
called by 0
index.js
included
called by 0
index.js
_ensureThisImport
called by 0
index.js
init
called by 0
addon/components/ember-chart.js
didInsertElement
called by 0
addon/components/ember-chart.js
willDestroyElement
called by 0
addon/components/ember-chart.js
didUpdateAttrs
called by 0
addon/components/ember-chart.js
updateChart
called by 0
addon/components/ember-chart.js

Shape

Function 9
Class 4

Languages

TypeScript100%

Modules by API surface

addon/components/ember-chart.js5 symbols
index.js3 symbols
tests/dummy/app/router.js2 symbols
tests/dummy/app/app.js2 symbols
tests/integration/components/ember-chart-test.js1 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

For agents

$ claude mcp add ember-cli-chart \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page