Skip to content

Commit

Permalink
added cd title property to component
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwondercorn committed Sep 3, 2018
1 parent 66906dd commit 97b81b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ See http://c3js.org/examples.html for examples of how to use C3.
area=area
size=size
padding=padding
title=title
color=color
transition=transition
}}
Expand Down
3 changes: 1 addition & 2 deletions addon/components/c3-chart.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Component from "@ember/component";
import { getProperties } from "@ember/object";
import { debounce, later } from "@ember/runloop";
import { isPresent } from '@ember/utils';
import c3 from "c3";

export default Component.extend({
Expand Down Expand Up @@ -41,7 +40,7 @@ export default Component.extend({
"data", "line", "bar", "pie", "donut", "gauge",
"grid", "legend", "tooltip", "subchart", "zoom",
"point", "axis", "regions", "area", "size",
"padding", "color", "transition"
"padding", "color", "transition", "title"
];

// get base c3 properties
Expand Down

0 comments on commit 97b81b1

Please sign in to comment.