Skip to content

Conversation

@benmccann
Copy link
Contributor

No description provided.

Plugins are the most efficient way to customize or change the default behavior of a chart. They have been introduced at [version 2.1.0](https://github.com/chartjs/Chart.js/releases/tag/2.1.0) (global plugins only) and extended at [version 2.5.0](https://github.com/chartjs/Chart.js/releases/tag/2.5.0) (per chart plugins and options).

## Popular Plugins
## Popular Chart Type Plugins
Copy link
Member

@simonbrunel simonbrunel Apr 25, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since charts are not plugins, we could move this new section in the charts.md file before the Dataset Controller Interface section?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the PR to put it in between where we list all the built-in charts and the popular plugins. It'd make sense to link to this section from charts.md, but I'm not quite sure how to do that without digging in a bit more

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think comparison.md is a good place for this information, notes/extensions.md seems a better candidate. Actually, we should also move the "Popular Plugins" into that file, then I would organize extensions.md as:

# Popular Extensions
...
## Charts
...
## Plugins
...
## Integrations
### Angular
...
### React
...

Agree about links from charts.md and plugins.md

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion. I like this solution a lot. Updated accordingly

@benmccann benmccann force-pushed the financial branch 3 times, most recently from c508c9c to 3c1537e Compare April 25, 2017 15:23
Copy link
Member

@simonbrunel simonbrunel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few more minor feedback :)

@@ -1,26 +1,45 @@
# Popular Extensions

Many extensions can be found on the [Chart.js GitHub organization](https://github.com/chartjs) or on the [npm registry](https://www.npmjs.com/search?q=chartjs-plugin-).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The npm link should be changed for https://www.npmjs.com/search?q=chartjs- (plugins- removed), and we should add back this link at the end of the ##Plugins section:

In addition, many plugins can be found on the [npm registry](https://www.npmjs.com/search?q=chartjs-plugin-).

We can do the same for charts:

In addition, many charts can be found on the [npm registry](https://www.npmjs.com/search?q=chartjs-chart-).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take a look and see if I understood correctly

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost :) I would not repeat ... on the [Chart.js GitHub organization](https://github.com/chartjs) or ... in the charts and plugins sections.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done


## Charts

- <a href="https://github.com/chartjs/chartjs-chart-financial" target="_blank">Financial</a> - Adds financial chart types such as a candlestick.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency with other entries, the name should be chartjs-chart-financial instead of Financial


## Integrations

There are many extensions which are available for use with popular frameworks. Some particularly notable ones are listed here.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove that line

@benmccann benmccann changed the title Add financial chart type to plugin docs Reorganize extension docs Apr 25, 2017
@simonbrunel simonbrunel added this to the Version 2.6 milestone Apr 25, 2017
Copy link
Member

@simonbrunel simonbrunel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@etimberg etimberg merged commit 34292cb into chartjs:master Apr 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants