jettro / c3-angular-directive

Contains angularjs directives that use c3js to create good looking graphs
http://jettro.github.io/c3-angular-directive/
MIT License
203 stars 98 forks source link

Setting Categories #88

Closed stevezau closed 8 years ago

stevezau commented 8 years ago

Hi,

I can find in your api doc where we can set categories for x axis..

As shown in the c3 doc here http://c3js.org/samples/categorized.html

Did i miss something?

jettro commented 8 years ago

You can find an example on this page:

http://jettro.github.io/c3-angular-directive/examples/index.html#/bar

nandorpersanyi commented 8 years ago

Hi Jettro, Really love your directives. But now I'm also struggling with this question. How can you add category names to a dynamic c3chart directive? Cause the examples above usually only refer to the not-dynamic charts (with column-values, while Im trying to use the chart-data)

jettro commented 8 years ago

Going to create an example to verify if this is possible