<commit_before># Easychart
**A visual editor for the world's best web charting tool: [Highcharts] (http://www.highcharts.com/)**

## Features
* Support for Highcharts 4.2.3
* Built on top of the [Highcharts Configuration Options] (http://api.highcharts.com/highcharts/option/dump.json)
* More chart-types available: 
  * area
  * arearange
  * areaspline
  * areasplinerange
  * bar
  * boxplot
  * bubble
  * column
  * columnrange
  * errorbar
  * funnel
  * gauge
  * line
  * pie
  * scatter
  * spline
  * waterfall
* Brand spanking new UI, customizable through JSON-object. Absolutely awesome!
* In-page help through tooltips for every option in the configuration form
* Copy-paste data from libreoffice/numbers/excel/csv-file and manage in easy-to-use table
* Huge performance improvements
* Inheritance bug solved

![v2 0-preview](https://cloud.githubusercontent.com/assets/3327763/9276906/12817b34-42a7-11e5-8826-c96b6049cb58.png)

## WHAT IS EASYCHART?

Easychart is a graphical user interface, built on top of the stunning Highcharts-javascript library.
 
It was born (somewhere in 2013) out of the need to make it possible for website-editors to embed and configure Highcharts in our websites in a more intuitive way than writing javascript code in the backend. So it has evolved from a sneaky textarea to a simple yet customizable user-interface where one can create a "Highcharts Options Object" (and thus a Highchart-chart) by pasting csv-data and clicking around. 

## Integration 
Easychart is written as a jquery-plugin, very easy to integrate in your specific project or content management system. In fact, the Easychart-plugin isn't really made for standalone-use, it is made to shine in the backend of content management systems.
 
We've already built an [**Easychart-module for Drupal**] (https://www.drupal.org/project/easychart) which blends seamlessly with our Easychart-plugin. This module makes it possible to manage your charts in a convenient Drupal-manner. Even more, a chart only needs to be made once and can be reused in other nodes, views, panels... Not enough? It even has *WYSIWYG-integration* so it's possible to add charts through your texteditor.
 
*The Easychart-plugin and -Drupal-module are free.*
 
**Attention**
[Highcharts] (http://www.highcharts.com/) is free for personal, school or non-profit projects under the Creative Commons Attribution - Non Commercial 3.0 License.
For commercial and governmental websites and projects, you need to buy a license. (But they're absolutely worth every penny.) See [License and Pricing] (http://shop.highsoft.com/highcharts.html). 



With Easychart we hope to make the beauty of Highcharts accessible to almost everyone.
*The people at [Highsoft] (http://www.highcharts.com/about) are (y)our true heroes, credit where credit is due.*

## api
You can pass on a options object to the easychart intialiser. The initialiser is best wrapped in a DOMContentLoaded wrapper.
```javascript
document.addEventListener("DOMContentLoaded", function () {
    var options = {};
    new ec(options);
})
```
### options.element
```javascript
var containerNode = document.getElementById('container');
new ec({
    element: containerNode
});
```
### options.customise
Toggle on and off the customise tab [default:false]
```javascript
new ec({
    customise: true
});
```
### options.debugger
Toggle on and off the customise tab [default:false]
```javascript
new ec({
    debugger: true
});
```
### options.on
```javascript
new ec({

});
```
### options.setData
```javascript
new ec({

});
```
### options.getData
```javascript
new ec({

});
```
### options.setDataUrl
```javascript
new ec({

});
```
### options.getDataUrl
```javascript
new ec({

});
```
### options.setDataCSV
```javascript
new ec({

});
```
### options.setOptions
```javascript
new ec({

});
```
### options.getOptions
```javascript
new ec({

});
```
### options.setTemplates
```javascript
new ec({

});
```
### options.getTemplates
```javascript
new ec({

});
```
### options.setConfig
```javascript
new ec({

});
```
### options.getConfig
```javascript
new ec({

});
```
### options.setOptionsUrl
```javascript
new ec({

});
```
### options.getOptionsUrl
```javascript
new ec({

});
```
### options.setPreset
```javascript
new ec({

});
```
### options.getPreset
```javascript
new ec({

});
```
### options.on
```javascript
new ec({

});
```

## builds
### full
### minimal
## License
Available under the MIT license.


## Sponsoring
This plugin is sponsored by The Flemish Government: http://www.bestuurszaken.be

<commit_msg>list whole api<commit_after># Easychart
**A visual editor for the world's best web charting tool: [Highcharts] (http://www.highcharts.com/)**

## Features
* Support for Highcharts 4.2.3
* Built on top of the [Highcharts Configuration Options] (http://api.highcharts.com/highcharts/option/dump.json)
* More chart-types available: 
  * area
  * arearange
  * areaspline
  * areasplinerange
  * bar
  * boxplot
  * bubble
  * column
  * columnrange
  * errorbar
  * funnel
  * gauge
  * line
  * pie
  * scatter
  * spline
  * waterfall
* Brand spanking new UI, customizable through JSON-object. Absolutely awesome!
* In-page help through tooltips for every option in the configuration form
* Copy-paste data from libreoffice/numbers/excel/csv-file and manage in easy-to-use table
* Huge performance improvements
* Inheritance bug solved

![v2 0-preview](https://cloud.githubusercontent.com/assets/3327763/9276906/12817b34-42a7-11e5-8826-c96b6049cb58.png)

## WHAT IS EASYCHART?

Easychart is a graphical user interface, built on top of the stunning Highcharts-javascript library.
 
It was born (somewhere in 2013) out of the need to make it possible for website-editors to embed and configure Highcharts in our websites in a more intuitive way than writing javascript code in the backend. So it has evolved from a sneaky textarea to a simple yet customizable user-interface where one can create a "Highcharts Options Object" (and thus a Highchart-chart) by pasting csv-data and clicking around. 

## Integration 
Easychart is written as a jquery-plugin, very easy to integrate in your specific project or content management system. In fact, the Easychart-plugin isn't really made for standalone-use, it is made to shine in the backend of content management systems.
 
We've already built an [**Easychart-module for Drupal**] (https://www.drupal.org/project/easychart) which blends seamlessly with our Easychart-plugin. This module makes it possible to manage your charts in a convenient Drupal-manner. Even more, a chart only needs to be made once and can be reused in other nodes, views, panels... Not enough? It even has *WYSIWYG-integration* so it's possible to add charts through your texteditor.
 
*The Easychart-plugin and -Drupal-module are free.*
 
**Attention**
[Highcharts] (http://www.highcharts.com/) is free for personal, school or non-profit projects under the Creative Commons Attribution - Non Commercial 3.0 License.
For commercial and governmental websites and projects, you need to buy a license. (But they're absolutely worth every penny.) See [License and Pricing] (http://shop.highsoft.com/highcharts.html). 



With Easychart we hope to make the beauty of Highcharts accessible to almost everyone.
*The people at [Highsoft] (http://www.highcharts.com/about) are (y)our true heroes, credit where credit is due.*

## options
You can pass on a options object to the easychart intialiser. The initialiser is best wrapped in a DOMContentLoaded wrapper.
```javascript
document.addEventListener("DOMContentLoaded", function () {
    var options = {};
    new ec(options);
})
```
### options.element
```javascript
var containerNode = document.getElementById('container');
new ec({
    element: containerNode
});
```
### options.customise
Toggle on and off the customise tab [default:false]
```javascript
new ec({
    customise: true
});
```
### options.debugger
Toggle on and off the debugger tab [default:false]
```javascript
new ec({
    debugger: true
});
```
### options.data
Pass a data array object with data
```javascript
var data = [
    [0,1,3],
    [1,5,7]
]
new ec({
    data: data
});
```
### options.dataCSV

```javascript
new ec({

});
```
### options.dataUrl

```javascript
new ec({

});
```
### options.options

```javascript
new ec({

});
```
### options.optionsUrl

```javascript
new ec({

});
```
### options.templates

```javascript
new ec({

});
```
### options.config

```javascript
new ec({

});
```
### options.config

```javascript
new ec({

});
```
### options.preset

```javascript
new ec({

});
```
### options.events

```javascript
new ec({

});
```
## api
### instance.setData
```javascript
var instance = new ec();
```
### instance.getData
```javascript
var instance = new ec();
```
### instance.setDataUrl
```javascript
var instance = new ec();
```
### instance.getDataUrl
```javascript
var instance = new ec();
```
### instance.setDataCSV
```javascript
var instance = new ec();
```
### instance.setOptions
```javascript
var instance = new ec();
```
### instance.getOptions
```javascript
var instance = new ec();
```
### instance.setTemplates
```javascript
var instance = new ec();
```
### instance.getTemplates
```javascript
var instance = new ec();
```
### instance.setConfig
```javascript
var instance = new ec();
```
### instance.getConfig
```javascript
var instance = new ec();
```
### instance.setOptionsUrl
```javascript
var instance = new ec();
```
### instance.getOptionsUrl
```javascript
var instance = new ec();
```
### instance.setPreset
```javascript
var instance = new ec();
```
### instance.getPreset
```javascript
var instance = new ec();
```
### instance.on
```javascript
var instance = new ec();
```

## builds
### full
### minimal
## License
Available under the MIT license.


## Sponsoring
This plugin is sponsored by The Flemish Government: http://www.bestuurszaken.be


{'fraction_non_alphanumeric': 0.13070707070707072, 'fraction_numerical': 0.010707070707070707, 'mean_word_length': 4.531284916201117, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 10, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6550721', 'n_tokens_mistral': 3084, 'n_tokens_neox': 2866, 'n_words': 1086}