.container %h1.title C3.js %small D3-based reusable chart library .chart #message %a.button.small( onclick="startDemo();") Start Demo #chart %hr.large %h2.text-center Why C3? .row.text-center.features .medium-4.large-4.columns.supporticons %h3 Comfortable %p C3 makes it easy to generate D3-based charts by wrapping the code required to construct the entire chart. We don't need to write D3 code any more. .medium-4.large-4.columns.supporticons %h3 Customizable %p C3 gives some classes to each element when generating, so you can define a custom style by the class and it's possible to extend the structure directly by D3. .medium-4.large-4.columns.supporticons %h3 Controllable %p C3 provides a variety of APIs and callbacks to access the state of the chart. By using them, you can update the chart even after it's rendered. %h3.text-center.sub C3 enables deeper integration of charts into your application. %br .text-center %a.button( href="/gettingstarted.html" ) Getting Started %hr %h3 Change Log %ul %li v0.7.20 - 2020-08-08 %ul %li Bug fixes. %li v0.7.18 - 2020-06-17 %ul %li Bug fixes. %li v0.7.17 - 2020-06-15 %ul %li Bug fixes. %li v0.7.16 - 2020-06-15 %ul %li Bug fixes. %li v0.7.15 - 2020-02-28 %ul %li Bug fixes. %li v0.7.14 - 2020-02-24 %ul %li Bug fixes. %li v0.7.12 - 2019-10-04 %ul %li Add rollup support. %li Improved subchart handling. %li v0.7.11 - 2019-10-04 %ul %li Bug fixes. %li v0.7.10 - 2019-10-02 %ul %li Bug fixes. %li v0.7.9 - 2019-09-23 %ul %li Experimental support for y/y2 log scale. %li Restore tooltip behavior when grouped. %li Add Region Labels. %li v0.7.8 - 2019-08-25 %ul %li Fix scatter appearance. %li Points in charts can be styled by css. %li A fix for Firefox. %li v0.7.7 - 2019-08-25 %ul %li Fix a bug. %li v0.7.6 - 2019-08-20 %ul %li A bug fix. %li v0.7.5 - 2019-08-19 %ul %li Add normalized stack chart. %li Bug fixes. %li v0.7.4 - 2019-08-09 %ul %li Add padAngle option. %li A bug fix. %li v0.7.3 - 2019-07-29 %ul %li Bug fixes. %li v0.7.2 - 2019-07-06 %ul %li Add stanford.scaleValues option. %li v0.7.1 - 2019-05-29 %ul %li Add an option for tooltip behavior. %li v0.7.0 - 2019-04-10 %ul %li Add stanford diagram. %li v0.6.14 - 2019-03-27 %ul %li Fixed a memory leak. %li Fixed .selected() API. %li v0.6.13 - 2019-03-04 %ul %li Reverted resizing change in 0.6.11. %li v0.6.12 - 2018-12-28 %ul %li Added index to tooltip’s title format callback. %li v0.6.11 - 2018-12-08 %ul %li Fix a bug of resizing. %li v0.6.10 - 2018-12-04 %ul %li Fix a bug of arc chart. %li v0.6.9 - 2018-11-22 %ul %li Fix a bug. %li v0.6.8 - 2018-10-01 %ul %li Add src/* npm package. %li v0.6.7 - 2018-08-08 %ul %li Add the zoom type 'drag'. %li v0.6.6 - 2018-07-24 %ul %li Fix bug of gauge chart. %li v0.6.5 - 2018-07-14 %ul %li Fix bug of hidden legend option. %li v0.6.4 - 2018-07-12 %ul %li Fix a bug of mouse events. %li v0.6.3 - 2018-07-06 %ul %li Fix a bug of gauge. %li v0.6.2 - 2018-06-08 %ul %li Add step-before and step-after for line.step.type option. %li v0.4.23 - 2018-05-18 %ul %li Add axis.x.tick.multilineMax option (0.4 branch). %li v0.6.1 - 2018-05-17 %ul %li Add axis.x.tick.multilineMax option. %li v0.6.0 - 2018-05-14 %ul %li Update D3 dependency to v5. %li v0.5.4 - 2018-04-23 %ul %li Bug fixes. %li v0.5.3 - 2018-04-12 %ul %li Bug fixes. %li v0.5.2 - 2018-03-31 %ul %li Bug fixes. %li v0.5.1 - 2018-03-25 %ul %li Bug fixes. %li v0.5.0 - 2018-03-24 %ul %li Update D3 dependency to version 4. %li v0.4.22 - 2018-03-21 %ul %li Add axis.x.inner option. %li v0.4.21 - 2018-02-15 %ul %li Multi arc gauge chart. %li v0.4.20 - 2018-02-11 %ul %li Fix gauge chart with fullCircle option. %li v0.4.19 - 2018-02-10 %ul %li Do not call resize functions when chart is hidden. %li Switched CI environment. %li Have license in minified bundle. %li Fixed a memory leak. %li v0.4.18 - 2017-09-14 %ul %li point.focus.expand.r takes a function. %li Pie and donuts really handle data.order correctly. %li v0.4.17 - 2017-08-19 %ul %li Added bar.space option. %li v0.4.16 - 2017-08-16 %ul %li Bug fix of bar chart. %li v0.4.15 - 2017-07-20 %ul %li Move some style handling to css. %li v0.4.14 - 2017-06-24 %ul %li Bug fix. %li v0.4.13 - 2017-06-11 %ul %li New option and bug fixes. %li v0.4.12 - 2017-05-28 %ul %li Performance improvement and bug fixes. %li v0.4.11 - 2016-05-01 %ul %li New features, performance improvement and bug fixes. %li v0.4.10 - 2015-03-17 %ul %li New features, performance improvement and bug fixes. %li v0.4.9 - 2015-01-18 %ul %li New features, performance improvement and bug fixes. %li v0.4.8 - 2014-12-14 %ul %li Bug fixes. %li v0.4.7 - 2014-12-02 %ul %li Bug fixes. %li v0.4.6 - 2014-12-01 %ul %li Bug fixes. %li v0.4.5 - 2014-11-30 %ul %li Bug fixes. %li Performance improvement. %li v0.4.4 - 2014-11-21 %ul %li New features (e.g. axis.y/y2.inner, legend.hide options) %li Bug fixes. %li Performance improvement. %li v0.4.3 - 2014-11-18 %ul %li Bug fixes. %li v0.4.2 - 2014-11-17 %ul %li Bug fixes. %li v0.4.1 - 2014-11-16 %ul %li Fixed class suffix. %li v0.4.0 - 2014-11-15 %ul %li A lot of bug fixes and new features %li Introduce unit test (it's not enough though) %li and more... %li v0.3.0 - 2014-08-22 %ul %li Introduced new architecture so that we can extend this library more easily. %li Modified some options such as data.xFormat and data.xLocaltime. %li Splitted source file into small ones. %li v0.2.5 - 2014-08-09 %ul %li Modified to use data.onclick, data.onmouseover and data.onmouseout on pie/donut/gauge instead of its callbacks %li Modified unload interface %li Bug fixes %li and more... %li v0.2.4 - 2014-06-16 %ul %li Added new options such as pie.sort, donut.sort, bar.zerobased, area.zerobased %li Added new API such as category, categories %li Bug fixes %li v0.2.3 - 2014-06-04 %ul %li Renamed callbacks (onend/onenter/onleave) %li Added extension for zoom with reduction (by @danelkhen Thank you!) %li Bug fixes %li v0.2.2 - 2014-06-03 %ul %li Supported ungrouped tooltip %li Added zoom.enable API %li Bug fixes %li v0.2.1 - 2014-06-02 %ul %li Bug fixes %li v0.2.0 - 2014-05-30 %ul %li Supported step line/area, stacked line/area, stacked line/area, gauge chart %li Supported JSON as input %li Added flow API %li etc %li v0.1.42 - 2014-05-18 %h3 Browser Support %p Because of the dependence on D3, C3 supports only modern browsers D3 supports. Please see the description in D3. %p Note: For IE9 and IE10, polyfill is required because c3 uses MutationObserver, which is not supported in those versions. However, it's not required if charts always will be binded to the DOM specified by bindto because MutationObserver is not called in that case. %h3 Dependency %ul %li D3.js ^4.12.0 %p Note: If you need to use D3 v3.x, please use C3 v0.4.22, which is compatible with D3 v3.x. %h3 License %p MIT = partial :footer = partial :script = javascript_include_tag 'index'