Commit a0f9a500 authored by Vivek's avatar Vivek

added chartistjs files

parent be034130
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>chartist-js</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>chartist-js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273065.43</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.bowerrc</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>{\n
"directory": "site/bower_components"\n
}\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>45</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.bowerrc</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272944.1</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.editorconfig</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string># EditorConfig helps developers define and maintain consistent\n
# coding styles between different editors and IDEs\n
# editorconfig.org\n
\n
root = true\n
\n
\n
[*]\n
\n
# Change these settings to your own preference\n
indent_style = space\n
indent_size = 2\n
\n
# We recommend you to keep these unchanged\n
end_of_line = lf\n
charset = utf-8\n
trim_trailing_whitespace = true\n
insert_final_newline = true\n
\n
[*.md]\n
trim_trailing_whitespace = false\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>415</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.editorconfig</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272941.22</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.gitattributes</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>* text=auto</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>11</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.gitattributes</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272941.89</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.gitignore</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string># modules\n
node_modules/\n
site/bower_components/\n
\n
# build\n
.tmp/\n
.public/\n
# dist/\n
\n
# generated\n
.sass-cache\n
\n
# debug\n
npm-debug.log\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>127</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.gitignore</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273110.92</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.jshintrc</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>{\n
"node": true,\n
"browser": true,\n
"esnext": true,\n
"bitwise": true,\n
"camelcase": false,\n
"curly": true,\n
"eqeqeq": true,\n
"immed": true,\n
"indent": 2,\n
"latedef": true,\n
"newcap": false,\n
"noarg": true,\n
"quotmark": "single",\n
"regexp": true,\n
"undef": true,\n
"unused": true,\n
"strict": true,\n
"validthis": true,\n
"trailing": true,\n
"smarttabs": true,\n
"globals": {\n
"angular": false,\n
"jQuery": false,\n
"$": false,\n
"SVG": false,\n
"Snap": false,\n
"Foundation": false\n
}\n
}\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>516</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.jshintrc</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273065.99</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.travis.yml</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>language: node_js\n
node_js:\n
- \'0.10\'\n
before_script:\n
- \'npm install -g bower grunt-cli\'\n
- \'bower install\'\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>110</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.travis.yml</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273099.23</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>CHANGELOG.md</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>v0.9.4 - 06 Aug 2015\n
--------------------\n
- Added axes to all events where they are available in context to provide better API convenience when developing plugins\n
- Consider additional parameters of SVG elem when called with DOM node\n
\n
v0.9.3 - 05 Aug 2015\n
--------------------\n
- Added better check for undefined values in bar chart, fixes #400\n
- Fixed issue with SVG feature check within Svg module (Thanks to Markus Gruber !)\n
\n
v0.9.2 - 02 Aug 2015\n
--------------------\n
- Enabled bar charts to use dynamic axes fixes #363, fixes #355\n
- Added axis title plugin to plugins page (Thanks to @alexstanbury !)\n
- Added a label group for Pie charts to prevent occlusion by slices (Thanks to Anthony Jimenez!)\n
- Added better handling for multi values when writing custom attributes, fixes #379\n
\n
v0.9.1 - 24 Jun 2015\n
--------------------\n
- Fixed bug with areaBase narrowing process in area charts, fixes #364\n
- Fixed bug on bar chart where wrong offset was used (axis offset), fixes #347 (Thanks to @amsardesai !)\n
- Fixed bug with namespace attributes that caused duplication of SVG element on updates in old browsers (Thanks to @radist2s !)\n
\n
v0.9.0 - 10 Jun 2015\n
--------------------\n
- Major refactoring of axis and projection code, added possibility to configure axes when creating a chart\n
- Added areaBase to series options override in line chart, fixes #342\n
- Throwing up in infinite loop for edge cases and during development\n
- Documentation: Added documentation for axis configuration and getting started guide for custom axes\n
\n
v0.8.3 - 07 Jun 2015\n
--------------------\n
- Greatly reduced CSS selector complexity and split slice into slice-pie and slice-donut\n
- Added more robust detach mechanism that takes async initialization into account\n
- Added better handling for area drawing with segmented paths, fixes #340\n
- Documentation: Added getting started guide for styling charts\n
\n
v0.8.2 - 02 Jun 2015\n
--------------------\n
- Fixed broken release 0.8.1\n
\n
v0.8.1 - 02 Jun 2015 (BROKEN!)\n
------------------------------\n
- Added new option labelPosition for Pie charts to have better control over label placement, fixes #315\n
- Added default styles for alignment-baseline\n
- Added better support for undefined values in bar charts\n
- Refactored getHighLow to use recursion in order to enable more dynamic array structures and better edge case management\n
- Fixed issue with Chartist.rho that caused endless loop when called with 1, fixes #318\n
\n
v0.8.0 - 10 May 2015\n
--------------------\n
- Added new option to bar charts to allow a series distribution and use a simple one dimensional array for data (#209)\n
- Added option for label placement and refactored label positioning code (#302)\n
- Added option to only use integer numbers in linear scale axis (#77)\n
- Added possibility to add series configuration on line chart to override specific options on series level (#289, #168)\n
- Added functionality to handle holes in line charts (#294)\n
- Added step interpolation for line charts\n
- Added default styles for bar and horizontal bar labels that make more sense (#303)\n
- Added series data and meta information to events (#293)\n
- Changed line chart behavior to draw points from interpolated values (#295)\n
- Removed restriction to SVGElements so Chartist.Svg can be used for HTML DOM elements (#261)\n
- Refactored and simplified axis creation, also includes updated CSS label handling\n
- Refactored getDataArray for simplification and fixed type conversion issue with data arrays for pie charts\n
- Centralized high/low calculations in getHighLow() method and added support for empty charts. Thanks @scthi !\n
- Fixed bug in pie chart where meta was only added when series name was specified\n
- Fixed bug where special condition to check single value should also include object value notation (#265)\n
- Fixed bug with Chartist.extend when null property is extended\n
- Fixed bug with Firefox dying with a DOM exception when calling getBBox() on an invisible node. Thanks @scthi !\n
- Switched from object literal accessor definition to regular function (#278)\n
\n
v0.7.4 - 19 Apr 2015\n
--------------------\n
- Enhanced documentation site (Accessibility plugin, live example eval, fixed path to Sass settings, better HTML example of how to include Chartist, example how to include multiple charts on one page)\n
- Added Arc to Chartist.Svg.Path\n
- Refactored Chartist.Pie to make use of Svg.Path and expose path in events\n
- Closing path of Pie if not a donut for correct strokes\n
- Exposing axis objects in created event\n
- Changed grid event to use axis object instead of string\n
\n
v0.7.3 - 27 Feb 2015\n
--------------------\n
- Fixed bugs in the chart.update method \n
- Fixed rounding precision issues in order of magnitude calculation\n
- Fixed bug in Chartist.extend which caused merge problems from object properties into non-objects\n
- Added possibility to use chartPadding with a padding object that contains top, right, bottom and left properties\n
\n
v0.7.2 - 12 Feb 2015\n
--------------------\n
- Added new line smoothing / interpolation module for configurable line smoothing\n
- Added simple line smoothing. Thanks @danieldiekmeier !\n
- Removed some unused internal code\n
\n
v0.7.1 - 02 Feb 2015\n
--------------------\n
- Bug fix where some files where not included in dist version of Chartist which made v0.7.0 unusable.\n
\n
v0.7.0 - 01 Feb 2015\n
--------------------\n
- This version introduces a new option in the bar charts to draw them horizontally\n
- Underlying changes for axis model that allows flexible value projection and removes code duplication\n
- Added SVG Path API for manipulating SVG paths. This can be used in animations or to transform the output by Chartist further.\n
- The fullWidth and centerBars options were removed from the bar chart\n
- Updating chart after options update enables the use of \'print\' media query in responsive options to have a quick redraw before printing. This only works in Chrome 40 so far\n
- Fixed issues with 0 values in series object data notation\n
\n
v0.6.1 - 23 Jan 2015\n
--------------------\n
- Fixed bug that prevented data events to be captured\n
- Fixed bug with update function called in the same call stack as chart constructor\n
\n
v0.6.0 - 17 Jan 2015\n
--------------------\n
- Added 14 default colors for colored series\n
- Added data event that allows you to transform the data before it gets rendered in Chartist. This is also useful for plugin authors that would like to create plugins which modify data.\n
- Possibility to specify meta data in the data object passed to Chartist that will be written to custom attributes into the DOM.\n
- Possibility to specify options when calling chart.update in order to override the current options with new ones\n
- Fixed some missing entries in the bower ignore section to exclude the documentation site as well as the grunt tasks\n
- Fixed issue when Chartist is initialized in a container that already contains SVG\n
\n
v0.5.0 - 14 Dec 2014\n
--------------------\n
- Added new option for line and bar chart to use full width of the chart area by skipping the last grid line\n
- Added new option for bar chart to create stacked bar charts\n
- All chart update functions now accepts an optional data parameter that allows to update an existing chart with new data\n
- Fix for an error when charts get re-constructed on the same element and in the same call stack\n
\n
v0.4.4 - 11 Dec 2014\n
--------------------\n
- Fixed NS_ERROR_FAILURE error in Firefox and added graceful handling of unsupported SMIL animations (i.e. in foreignObjects)\n
\n
v0.4.3 - 27 Nov 2014\n
--------------------\n
- Updated plugin architecture for convenience reasons and better support for modularization\n
\n
v0.4.2 - 27 Nov 2014\n
--------------------\n
\n
- Included first version of Chartist.js Plugin mechanism\n
- Major refactoring of development stack (thanks @Autarc !)\n
- Removed unused functions in Chartist.Core\n
\n
v0.4.1 - 21 Nov 2014\n
--------------------\n
\n
- Added more functionality to Chartist.Svg: select child elements, parent, root as well as a Svg list wrapper with delegation functions\n
- Fixed bug in strip unit\n
- Added classes to the label and grid gorups\n
- Added this as return value so calls to chart can be chained up easily\n
\n
\n
v0.4.0 - 17 Nov 2014\n
--------------------\n
\n
- Added new animation API for SMIL animations\n
- Added possibility to add event handlers with asterisk that will be triggerd on all events including the event name in the cb function\n
- Added possibility to pass DOM node to SVG constructor so you can wrap existing SVG nodes into a Chartist.Svg element\n
- Fixed svg recycling on re-creation\n
- Fixed resize listener detach that wasn\'t working properly\n
- Refactored Chartist.Svg to use Chartist.Class\n
- Including event when line and area is drawn\n
- Changed default scaleMinSpace to 20 to be more mobile friendly\n
- Fixed bug with line area base\n
\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>8726</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>CHANGELOG.md</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273110.48</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>CODINGSTYLE.md</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>65822</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>CODINGSTYLE.md</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Pdata" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
# Web Styleguide - Style guide to harmonize HTML, Javascript and CSS / Sass coding style\n
\n
This document defines formatting and style rules for HTML, Javascript and CSS / SCSS. It aims at improving\n
collaboration, code quality, and enabling supporting infrastructure. It applies to raw, working files that use HTML,\n
Javascript and CSS, including Sass (SCSS) files.\n
\n
If a group of developers start to use a style guide, errors become more obvious. If a certain parts of code are not\n
complying with the style guide it could be a style error but it could also be a bug. This makes it easier to review\n
code and to ensure errors are spotted more easily.\n
\n
Tools are free to obfuscate, minify, and compile as long as the general code quality is maintained\n
and the raw files developers need to work with comply with the style guide.\n
\n
You can also contribute to this style guide!\n
\n
***\n
\n
## General style rules\n
\n
This section covers some general style rules that can be applied for HTML, Javascript and CSS / SCSS.\n
\n
***\n
\n
### File / Resource names\n
\n
All file names in a web project should follow the same naming conventions. For readability purpose the minus (-) sign\n
is ideal for separating parts in a file name. Also it\'s a common separator in canonical URL and URL slugs\n
(i.e. `//example.com/blog/my-blog-entry` or `//s.example.com/images/big-black-background.jpg`). Therefore it\'s quite obvious\n
that the minus sign should be used to separate parts in a resource name.\n
\n
Always start a file name with a letter and avoid numbers (except versions in the post-fix as outlined in the post-fix\n
note) where possible. There are special allowed cases where you need to start a filename with a special sign in order to\n
flag it for a special purpose (i.e. underscore for compass to ignore a certain file for direct css compilation).\n
\n
All letters in a resource name should be lower case. This is a best practice as some operating systems support case\n
sensitive file names and we should not mix the cases to minimize confusion and possible sources for human errors.\n
\n
There are cases where you will need to include some post- or pre-fixes or extensions (i.e. .min.js, .min.css) or\n
reeving which includes some pre-fixes (i.e. file hashes like 3fa89b.main.min.css). In those cases we recommend to use\n
dot\'s to separate the clear purpose of this additional meta-data in a filename.\n
\n
**Not recommended**\n
```\n
MyScript.js\n
myCamelCaseName.css\n
i_love_underscores.html\n
1001-scripts.js\n
my-file-min.css\n
```\n
\n
**Recommended**\n
```\n
my-script.js\n
my-camel-case-name.css\n
i-love-underscores.html\n
thousand-and-one-scripts.js\n
my-file.min.css\n
```\n
\n
***\n
\n
### Protocol\n
\n
Omit the protocol from embedded resources.\n
\n
Omit the protocol portion (`http:`, `https:`) from URLs pointing to images and other media files, style sheets, and\n
scripts unless the respective files are not available over both protocols.\n
\n
Omitting the protocol—which makes the URL relative—prevents mixed content issues and results in minor file size savings.\n
\n
**Not recommended**\n
```\n
<script src="http://cdn.com/foundation.min.js"></script>\n
```\n
\n
**Recommended**\n
```\n
<script src="//cdn.com/foundation.min.js"></script>\n
```\n
\n
**Not recommended**\n
```\n
.example {\n
background: url(http://static.example.com/images/bg.jpg);\n
}\n
```\n
\n
**Recommended**\n
```\n
.example {\n
background: url(//static.example.com/images/bg.jpg);\n
}\n
```\n
\n
***\n
\n
### Text indentation\n
\n
Indent by 2 spaces at a time.\n
\n
```\n
<ul>\n
<li>Fantastic</li>\n
<li>Great</li>\n
<li>\n
<a href="#">Test</a>\n
</li>\n
</ul>\n
```\n
\n
```\n
@media screen and (min-width: 1100px) {\n
body {\n
font-size: 100%;\n
}\n
}\n
```\n
\n
```\n
(function(){\n
var x = 10;\n
\n
function y(a, b) {\n
return {\n
result: (a + b) * x\n
}\n
\n
}\n
}());\n
```\n
\n
***\n
\n
### Comments\n
\n
Comments are the only way others and **YOURSELF** know why a particular code was written and why it was written in the\n
way it was. It\'s crucial that you comment your code parts and specially code that is not trivial.\n
\n
Self explaining code is a **MYTH**. There is no such thing as self explaining code. Also there is no such thing as too\n
many comments. There is only too little comments.\n
\n
When you comment code don\'t comment what\'s coded, comment why it was coded this way and comment the thinking behind.\n
Also include links in your comments to open issues, specifications etc.\n
\n
**Not recommended**\n
```\n
var offset = 0;\n
\n
if(includeLabels) {\n
// Add offset of 20\n
offset = 20;\n
}\n
```\n
\n
**Recommended**\n
```\n
var offset = 0;\n
\n
if(includeLabels) {\n
// If the labels are included we need to have a minimum offset of 20 pixels\n
// We need to set it explicitly because of the following bug: http://somebrowservendor.com/issue-tracker/ISSUE-1\n
offset = 20;\n
}\n
```\n
\n
Consider using annotations in your comments that help to structure commends and add meta information. For Javascript\n
use [JSDoc](http://usejsdoc.org/) or [YUIDoc](http://yui.github.io/yuidoc/). You can also use tools to generate\n
documentation from these comments. This is also a great way to encourage developers to write comments. Once comments\n
will be used to generate a living documentation they often start to spend more time for detailed comments.\n
\n
***\n
\n
### Code linting\n
\n
For programming languages with less strictness it\'s important to enforce style rules and formatting guidelines.\n
Writing and following a style guide is a good practice but having an automated process that is enforcing it is even\n
better. Trust is good, control is better.\n
\n
For Javascript we recommend to use JSLint / JSHint. In the repository for this styleguide you can also find a\n
[dotfile for jshint (.jshintrc)](.jshintrc). You can use this file with JSHint to enforce style\n
checking in your Javascript projects.\n
\n
***\n
\n
## HTML style rules\n
\n
***\n
\n
### Document type\n
\n
HTML5 (HTML syntax) is preferred for all HTML documents: `<!DOCTYPE html>`.\n
\n
(It’s recommended to use HTML, as text/html. Do not use XHTML. XHTML, as application/xhtml+xml,\n
lacks both browser and infrastructure support and offers less room for optimization than HTML.)\n
\n
Although fine with HTML, do not close void elements, i.e. write `<br>`, not `<br />`.\n
\n
***\n
\n
### HTML validity\n
\n
Use valid HTML code unless that is not possible due to otherwise unattainable performance goals regarding file size.\n
\n
Use tools such as the W3C HTML validator to test.\n
\n
Using valid HTML is a measurable baseline quality attribute that contributes to learning about technical requirements\n
and constraints, and that ensures proper HTML usage.\n
\n
**Not recommended**\n
```\n
<title>Test</title>\n
<article>This is only a test.\n
```\n
\n
**Recommended**\n
```\n
<!DOCTYPE html>\n
<meta charset="utf-8">\n
<title>Test</title>\n
<article>This is only a test.</article>\n
```\n
\n
***\n
\n
### Optional Tags\n
\n
The HTML5 specification defines what tags can be omitted in the HTML markup. For readability purpose the raw source\n
file should **NOT** omit optional tags. Omitting optional tags can lead to readability and scannability issues, and\n
therefore should not be used in the raw source files.\n
\n
Omitting tags can lead to significant page size reductions specially on large scale sites. For this purpose you should\n
consider an HTML minification post processing of your raw files for distribution purpose.\n
\n
***\n
\n
### Script loading\n
\n
For performance reasons it\'s important to load scripts asynchronously. A script loaded in the `<head>` like this\n
`<script src="main.js"></script>` will block the whole DOM parsing until the script has fully loaded and executed. This\n
will delay the page to be displayed until the script has fully loaded. With larger scripts this can have a big impact\n
on user experience.\n
\n
Asynchronous script loading helps to minimize this performance impact. If browser support is only concerned about IE10+\n
the HTML5 async attribute on scripts should be used. This will prevent DOM parser blocking and you can even place your\n
script element into the `<head>` element.\n
\n
If you need to support older browsers it\'s common practice to use script loaders that will make use of dynamic script\n
injection. You should consider [yepnope](http://yepnopejs.com/) or [labjs](http://labjs.com/). The problem with injected\n
scripts though is that [they will not start loading until CSS Object Model is ready](https://www.igvita.com/2014/05/20/script-injected-async-scripts-considered-harmful/)\n
(shortly after the CSS from the head is loaded). This can also load to delay of your behavior added by these javascript\n
which can again affect the user experience.\n
\n
As a result of the above described behaviors you should always consider the following best practice if you need to\n
support old browsers (IE9-).\n
\n
Add your script element just before the body close tag and add them with a async attribute. This will not load the\n
scripts asynchronously on old browsers but they will only block the DOM parser just before the body close which is not\n
affecting the user experience too much. On modern browsers this will delay the script load until the DOM parser\n
discovers the script element at the end of the body, but they will then asynchronously load the script and don\'t wait\n
for CSSOM to complete before loading (execution will still happen after CSSOM).\n
\n
**Recommended for modern and old browsers**\n
```\n
<html>\n
<head>\n
<link rel="stylesheet" href="main.css">\n
</head>\n
<body>\n
<!-- body goes here -->\n
\n
<script src="main.js" async></script>\n
</body>\n
</html>\n
```\n
\n
**Recommended for only modern browsers**\n
```\n
<html>\n
<head>\n
<link rel="stylesheet" href="main.css">\n
<script src="main.js" async></script>\n
</head>\n
<body>\n
<!-- body goes here -->\n
</body>\n
</html>\n
```\n
\n
***\n
\n
### Semantics\n
\n
Use elements (sometimes incorrectly called “tags”) for what they have been created for. For example, use heading\n
elements for headings, p elements for paragraphs, a elements for anchors, etc.\n
\n
Using HTML according to its purpose is important for accessibility, reuse, and code efficiency reasons.\n
\n
The following bad / good example should outline some of the major important semantic HTML cases:\n
\n
**Not recommended**\n
```\n
<b>My page title</b>\n
<div class="top-navigation">\n
<div class="nav-item"><a href="#home">Home</a></div>\n
<div class="nav-item"><a href="#news">News</a></div>\n
<div class="nav-item"><a href="#about">About</a></div>\n
</div>\n
\n
<div class="news-page">\n
<div class="page-section news">\n
<div class="title">All news articles</div>\n
<div class="news-article">\n
<h2>Bad article</h2>\n
<div class="intro">Introduction sub-title</div>\n
<div class="content">This is a very bad example for HTML semantics</div>\n
<div class="article-side-notes">I think I\'m more on the side and should not receive the main credits</div>\n
<div class="article-foot-notes">\n
This article was created by David <div class="time">2014-01-01 00:00</div>\n
</div>\n
</div>\n
\n
<div class="section-footer">\n
Related sections: Events, Public holidays\n
</div>\n
</div>\n
</div>\n
\n
<div class="page-footer">\n
Copyright 2014\n
</div>\n
```\n
\n
**Recommended**\n
```\n
<!-- The page header should go into a header element -->\n
<header>\n
<!-- As this title belongs to the page structure it\'s a heading and h1 should be used -->\n
<h1>My page title</h1>\n
</header>\n
\n
<!-- All navigation should go into a nav element -->\n
<nav class="top-navigation">\n
<!-- A listing of elements should always go to UL (OL for ordered listings) -->\n
<ul>\n
<li class="nav-item"><a href="#home">Home</a></li>\n
<li class="nav-item"><a href="#news">News</a></li>\n
<li class="nav-item"><a href="#about">About</a></li>\n
</ul>\n
</nav>\n
\n
<!-- The main part of the page should go into a main element (also use role="main" for accessibility) -->\n
<main class="news-page" role="main">\n
<!-- A section of a page should go into a section element. Divide a page into sections with semantic elements. -->\n
<section class="page-section news">\n
<!-- A section header should go into a section element -->\n
<header>\n
<!-- As a page section belongs to the page structure heading elements should be used (in this case h2) -->\n
<h2 class="title">All news articles</h2>\n
</header>\n
\n
<!-- If a section / module can be seen as an article (news article, blog entry, products teaser, any other\n
re-usable module / section that can occur multiple times on a page) a article element should be used -->\n
<article class="news-article">\n
<!-- An article can contain a header that contains the summary / introduction information of the article -->\n
<header>\n
<!-- As a article title does not belong to the overall page structure there should not be any heading tag! -->\n
<div class="article-title">Good article</div>\n
<!-- Small can optionally be used to reduce importance -->\n
<small class="intro">Introduction sub-title</small>\n
</header>\n
\n
<!-- For the main content in a section or article there is no semantic element -->\n
<div class="content">\n
<p>This is a good example for HTML semantics</p>\n
</div>\n
<!-- For content that is represented as side note or less important information in a given context use aside -->\n
<aside class="article-side-notes">\n
<p>I think I\'m more on the side and should not receive the main credits</p>\n
</aside>\n
<!-- Articles can also contain footers. If you have footnotes for an article place them into a footer element -->\n
<footer class="article-foot-notes">\n
<!-- The time element can be used to annotate a timestamp. Use the datetime attribute to specify ISO time\n
while the actual text in the time element can also be more human readable / relative -->\n
<p>This article was created by David <time datetime="2014-01-01 00:00" class="time">1 month ago</time></p>\n
</footer>\n
</article>\n
\n
<!-- In a section, footnotes or similar information can also go into a footer element -->\n
<footer class="section-footer">\n
<p>Related sections: Events, Public holidays</p>\n
</footer>\n
</section>\n
</main>\n
\n
<!-- Your page footer should go into a global footer element -->\n
<footer class="page-footer">\n
Copyright 2014\n
</footer>\n
\n
```\n
\n
***\n
\n
### Multimedia fallback\n
\n
For multimedia, such as images, videos, animated objects via canvas, make sure to offer alternative access. For images\n
that means use of meaningful alternative text (alt) and for video and audio transcripts and captions, if available.\n
\n
Providing alternative contents is important for accessibility reasons: A blind user has few cues to tell what an\n
image is about without @alt, and other users may have no way of understanding what video or audio contents are about\n
either.\n
\n
(For images whose alt attributes would introduce redundancy, and for images whose purpose is purely decorative which\n
you cannot immediately use CSS for, use no alternative text, as in alt="".)\n
\n
**Not recommended**\n
```\n
<img src="luke-skywalker.jpg">\n
```\n
\n
**Recommended**\n
```\n
<img src="luke-skywalker.jpg" alt="Luke skywalker riding an alien horse">\n
```\n
\n
When writing alt tags always try to describe the image as if you\'d need to describe what\'s on the image to somebody\n
over the phone or who can\'t see the real picture.\n
\n
**Not recommended**\n
```\n
<img src="huge-spaceship-approaching-earth.jpg" alt="Header image">\n
```\n
\n
**Recommended**\n
```\n
<img src="huge-spaceship-approaching-earth.jpg" alt="A huge spaceship that is approaching the earth">\n
```\n
\n
***\n
\n
### Separation of Concerns\n
\n
It\'s very important that you understand the different concerns in web and that you know how to and why to separate them.\n
In the web we have information (html markup), appearance (css) and behavior (Javascript) and we need to separate them as\n
far as possible in order to keep a maintainable and clean code.\n
\n
Strictly keep structure (markup), presentation (styling), and behavior (scripting) apart, and try to keep the\n
interaction between the three to an absolute minimum.\n
\n
That is, make sure documents and templates contain only HTML and HTML that is solely serving structural purposes.\n
Move everything presentational into style sheets, and everything behavioral into scripts.\n
\n
In addition, keep the contact area as small as possible by linking as few style sheets and scripts as possible from\n
documents and templates.\n
\n
Clean separation of concerns implies the following things:\n
\n
1. Don\'t use more than one or two stylesheets (i.e. main.css, vendor.css)\n
1. Don\'t use more than one or two scripts (use concatination)\n
1. Don\'t use inline styles (`<style>.no-good {}</style>`)\n
1. Don\'t use element style attributes (`<hr style="border-top: 5px solid black">`)\n
1. Don\'t use inline scripts (`<script>alert(\'no good\')</script>`)\n
1. Don\'t use presentational elements (i.e. `<b>`, `<u>`, `<center>`, `<font>`, `<b>`\n
1. Don\'t use presentational class names (i.e. red, left, center)\n
\n
**Not recommended**\n
```\n
<!DOCTYPE html>\n
<html>\n
<head>\n
<link rel="stylesheet" href="base.css">\n
<link rel="stylesheet" href="grid.css">\n
<link rel="stylesheet" href="type.css">\n
<link rel="stylesheet" href="modules/teaser.css">\n
</head>\n
<body>\n
<h1 style="font-size: 3rem"></h1>\n
<b>I\'m a subtitle and I\'m bold!</b>\n
<center>Dare you center me!</center>\n
<script>\n
alert(\'Just dont...\');\n
</script>\n
<div class="red">I\'m important!</div>\n
</body>\n
</html>\n
```\n
\n
**Recommended**\n
```\n
<!DOCTYPE html>\n
<html>\n
<head>\n
<!-- Concatinate your style sheets into a single one -->\n
<link rel="stylesheet" href="main.css">\n
</head>\n
<body>\n
<!-- Don\'t use style attributes but assign sensible classes and apply styles in the stylesheet -->\n
<h1 class="title"></h1>\n
<!-- Don\'t use presentational elements and assign sensible classes -->\n
<div class="sub-title">I\'m a subtitle and I\'m bold!</div>\n
<!-- Maybe your comments get centered in your presentation but that decision is up to the stylesheet -->\n
<span class="comment">Dare you center me!</span>\n
<!-- You wanted to make it red because it\'s important so then also name the class important and decide in the stylesheet\n
what you want to do with it -->\n
<div class="important">I\'m important!</div>\n
\n
<!-- Put all your scripts into files and concatinate them into a single one -->\n
<script async src="main.js"></script>\n
</body>\n
</html>\n
```\n
\n
***\n
\n
### HTML is content only\n
\n
Don\'t pollute your HTML markup with non-content information. There is a tendency to solve design problems at\n
the information\'s cost. The HTML markup should only contain content relevant information and design problems should\n
never be solved within the markup.\n
\n
The only purpose of HTML markup is to represent content information.\n
\n
- Don\'t introduce a specific HTML structure just to solve some visual design problems\n
- Don\'t use `<img>` elements for visual design elements\n
\n
The following examples show two common things that are done wrong when it comes to solving design problems.\n
\n
**Not recommended**\n
```\n
<!-- We should not introduce an additional element just to solve a design problem -->\n
<span class="text-box">\n
<span class="square"></span>\n
See the square next to me?\n
</span>\n
\n
```\n
```\n
.text-box > .square {\n
display: inline-block;\n
width: 1rem;\n
height: 1rem;\n
background-color: red;\n
}\n
```\n
\n
\n
**Recommended**\n
```\n
<!-- That\'s clean markup! -->\n
<span class="text-box">\n
See the square next to me?\n
</span>\n
\n
```\n
```\n
// We use a :before pseudo element to solve the design problem of placing a colored square in front of the text content\n
.text-box:before {\n
content: "";\n
display: inline-block;\n
width: 1rem;\n
height: 1rem;\n
background-color: red;\n
}\n
```\n
\n
The only reason for images and svg graphics to be included in the markup is because they represent content relevant\n
information.\n
\n
**Not recommended**\n
```\n
<!-- Content images should never be used for design elements! -->\n
<span class="text-box">\n
<img src="square.svg" alt="Square" />\n
See the square next to me?\n
</span>\n
```\n
\n
**Recommended**\n
```\n
<!-- That\'s clean markup! -->\n
<span class="text-box">\n
See the square next to me?\n
</span>\n
\n
```\n
```\n
// We use a :before pseudo element with a background image to solve the problem\n
.text-box:before {\n
content: "";\n
display: inline-block;\n
width: 1rem;\n
height: 1rem;\n
background: url(square.svg) no-repeat;\n
background-size: 100%;\n
}\n
```\n
\n
***\n
\n
### Type attributes\n
\n
Omit type attributes for style sheets and scripts. Do not use type attributes for style sheets (unless not using CSS)\n
and scripts (unless not using JavaScript). Specifying type attributes in these contexts is not necessary as\n
HTML5 implies text/css and text/javascript as defaults. This can be safely done even for older browsers.\n
\n
**Not recommended**\n
```\n
<link rel="stylesheet" href="main.css" type="text/css">\n
<script src="main.js" type="text/javascript"></script>\n
```\n
\n
**Recommended**\n
```\n
<link rel="stylesheet" href="main.css">\n
<script src="main.js"></script>\n
```\n
\n
***\n
\n
### General Accessibility\n
\n
If you use proper HTML5 semantics a lot of accessibility issues are already solved. ARIA is using some default roles\n
for most of the semantic elements which, if used correctly, solves a lot of the issues already. If you use `nav`,\n
`aside`, `main`, `footer` etc. ARIA will use some related default roles. For more details you can reference the\n
[ARIA specification](http://rawgit.com/w3c/aria-in-html/master/index.html#recommendations-table) recommendation table\n
which contains the defaults for the HTML semantic elements.\n
\n
Additional roles can be used to give more accessibility context (i.e. `role="tab"`).\n
\n
***\n
\n
### Tab Index for Accessibility\n
\n
Check your document for tab order and assign tabindex values in order to change the tab flow based on priority. You\n
can disable the tab index of an element by setting `tabindex="-1"` on any element.\n
\n
If you add functionality to a element that is not focusable by default, you should always add a `tabindex` in order to\n
make the element focusable. This will also enable the CSS pseudo selector `:focus`. Choose an appropriate index value\n
for `tabindex` or use `tabindex="0"` to group elements into one tab order level and enforce ordering in natural reading\n
order.\n
\n
***\n
\n
### Microdata for SEO and Accessibility\n
\n
If the SEO relevance and / or accessibility environment is given then you should consider to use microdata where\n
possible. Microdata is a way to annotate your data in your markup that follows some specific semantics.\n
\n
Google, Microsoft and Yahoo! have more or less agreed on how to use this additional data and using it correctly has\n
great influence on your searches.\n
\n
You can visit [schema.org](http://schema.org/) for more details.\n
\n
Simple example of a movie on a web page:\n
\n
**Without microdata**\n
```\n
<div>\n
<h1>Avatar</h1>\n
<span>Director: James Cameron (born August 16, 1954)</span>\n
<span>Science fiction</span>\n
<a href="../movies/avatar-theatrical-trailer.html">Trailer</a>\n
</div>\n
```\n
\n
**With microdata**\n
```\n
<div itemscope itemtype ="http://schema.org/Movie">\n
<h1 itemprop="name">Avatar</h1>\n
<div itemprop="director" itemscope itemtype="http://schema.org/Person">\n
Director: <span itemprop="name">James Cameron</span> (born <span itemprop="birthDate">August 16, 1954)</span>\n
</div>\n
<span itemprop="genre">Science fiction</span>\n
<a href="../movies/avatar-theatrical-trailer.html" itemprop="trailer">Trailer</a>\n
</div>\n
```\n
\n
***\n
\n
### IDs for anchors\n
\n
It\'s generally a good practice to give all headings on a page a ID. With these ID\'s on headings you can use the\n
browsers default behavior and include the ID names as hash tags in the URL. By default this causes the browser to scroll\n
to the position this element.\n
\n
If you\'d enter the URL `http://your-site.com/about#best-practices` in your browser then the browser would scroll down\n
so that the H3 below would be scrolled into the view.\n
\n
```\n
<h3 id="best-practices">Best practices</h3>\n
```\n
\n
***\n
\n
### General formatting\n
\n
Use a new line for every block, list, or table element, and indent every such child element.\n
Independent of the styling of an element (as CSS allows elements to assume a different role per display property),\n
put every block, list, or table element on a new line.\n
\n
Also, indent them if they are child elements of a block, list, or table element.\n
\n
(If you run into issues around whitespace between list items it’s acceptable to put all li elements in one line.\n
A linter is encouraged to throw a warning instead of an error.)\n
\n
**Recommended**\n
```\n
<blockquote>\n
<p><em>Space</em>, the final frontier.</p>\n
</blockquote>\n
\n
<ul>\n
<li>Moe</li>\n
<li>Larry</li>\n
<li>Curly</li>\n
</ul>\n
\n
<table>\n
<thead>\n
<tr>\n
<th scope="col">Income</th>\n
<th scope="col">Taxes</th>\n
</tr>\n
</thead>\n
<tbody>\n
<tr>\n
<td>$ 5.00</td>\n
<td>$ 4.50</td>\n
</tr>\n
</tbody>\n
</table>\n
```\n
\n
***\n
\n
### HTML quotation marks\n
\n
When quoting attributes values, use double quotation marks. Use double ("") rather than single quotation marks (\'\')\n
around attribute values.\n
\n
**Not recommended**\n
```\n
<div class=\'news-article\'></div>\n
```\n
\n
**Recommended**\n
```\n
<div class="news-article"></div>\n
```\n
\n
***\n
\n
## Javascript style guide\n
\n
***\n
\n
### Global namespace pollution and IIFE\n
\n
Always wrap your code into a IIFE (Immediately-Invoked Function Expression) in order to create an isolated closure\n
scope. This prevents you from polluting the global namespace.\n
\n
IIFE can also secure your code from modifications that happened in the global namespace (i.e. 3rd party libraries,\n
window reference, overridden undefined keyword etc.)\n
\n
**Not recommended**\n
```\n
var x = 10,\n
y = 100;\n
\n
// Declaring variables in the global scope is resulting in global scope pollution. All variables declared like this\n
// will be stored in the window object. This is very unclean and needs to be avoided.\n
console.log(window.x + \' \' + window.y);\n
```\n
\n
**Recommended**\n
```\n
// We declare a IIFE and pass parameters into the function that we will use from the global space\n
(function(log, w, undefined){\n
\'use strict\';\n
\n
var x = 10,\n
y = 100;\n
\n
// Will output \'true true\'\n
log((w.x === undefined) + \' \' + (w.y === undefined));\n
\n
}(window.console.log, window));\n
```\n
\n
***\n
\n
### IIFE (Immediately-Executed Function Expression)\n
\n
Use IIFE whenever you want to create a new closure scope. This can be used to create privacy and to keep memory clean.\n
\n
Every javascript file should start with an IIFE.\n
\n
The IIFE should be written so you\'re keeping the execution brackets inside of the surrounding brackets. Although the\n
writing the executing brackets outside of the surrounding brackets is valid the second example should be used as this\n
sets clear boundaries for the IIFE as the surrounding brackets isolate the whole IIFE.\n
\n
**Not recommended**\n
```\n
(function(){})();\n
```\n
\n
**Recommended**\n
```\n
(function(){}());\n
```\n
\n
The following pattern should be used to format your IIFE:\n
\n
```\n
(function(){\n
\'use strict\';\n
\n
// Code goes here\n
\n
}());\n
```\n
\n
If you want to use global variables or variables form an outer IIFE you should pass them as parameters to your IIFE:\n
```\n
(function($, w, d){\n
\'use strict\';\n
\n
$(function() {\n
w.alert(d.querySelectorAll(\'div\').length);\n
});\n
}(jQuery, window, document));\n
```\n
\n
***\n
\n
### Strict mode\n
\n
ECMAScript 5 strict mode can be enabled globally in your script or on function level. It enables more strict error\n
handling as well different javascript semantics. Strict mode also enforces a syntax that allows engines to optimize\n
the javascript better and strict more scripts can run faster than normal scripts.\n
\n
Strict mode also blocks the usage of reserved words that possibly get introduced in the future.\n
\n
You should always enforce strict mode in your scripts. Do so by applying it in your isolation IIFE. Don\'t apply it to\n
your whole script by include it as first statement in your script. This could possibly cause issues with 3rd party\n
libraries.\n
\n
**Not recommended**\n
```\n
// Script starts here\n
\'use strict\';\n
\n
(function(){\n
\n
// Your code starts here\n
\n
}());\n
```\n
\n
**Recommended**\n
```\n
(function(){\n
\'use strict\';\n
\n
// Your code starts here\n
\n
}());\n
```\n
\n
***\n
\n
### Variable declarations\n
\n
Always use `var` to declare your variables. When you fail to specify var, the variable gets placed in the global\n
context, potentially clobbering existing values. Also, if there\'s no declaration, it\'s hard to tell in what scope a\n
variable lives (e.g., it could be in the Document or Window just as easily as in the local scope).\n
So always declare with var.\n
\n
Using strict mode can help to identify issues where you might mistyped a variable name resulting in a ReferenceError.\n
\n
**Not recommended**\n
```\n
x = 10;\n
y = 100;\n
```\n
\n
**Recommended**\n
```\n
var x = 10,\n
y = 100;\n
```\n
\n
***\n
\n
### Understand Javascript scope and hoisting\n
\n
In Javascript variable and function declarations will be hoisted before execution. Javascript only knows function scope\n
and there is no block scope as you know it from other programming languages. This means that if you declare a variable\n
inside a if statement or for loop this variable is declared for the whole function scope and not only locally in the\n
block statement.\n
\n
To illustrate this check the following example that will show how a javascript interpreter is hoisting the declarations\n
in a function scope:\n
\n
**Raw function**\n
```\n
(function(log){\n
\'use strict\';\n
\n
var a = 10;\n
\n
for(var i = 0; i < a; i++) {\n
var b = i * i;\n
log(b);\n
}\n
\n
if(a === 10) {\n
var f = function() {\n
log(a);\n
};\n
f();\n
}\n
\n
function x() {\n
log(\'Mr. X!\');\n
}\n
x();\n
\n
}(window.console.log));\n
```\n
\n
**Hoisted by Javscript engine**\n
```\n
(function(log){\n
\'use strict\';\n
// All variables used in the closure will be hoisted to the top of the function\n
var a,\n
i,\n
b,\n
f;\n
// All functions in the closure will be hoisted to the top\n
function x() {\n
log(\'Mr. X!\');\n
}\n
\n
a = 10;\n
\n
for(i = 0; i < a; i++) {\n
b = i * i;\n
log(b);\n
}\n
\n
if(a === 10) {\n
// Function assignments will only result in hoisted variables but the function body will not be hoisted\n
// Only by using a real function declaration the whole function will be hoisted with its body\n
f = function() {\n
log(a);\n
};\n
f();\n
}\n
\n
x();\n
\n
}(window.console.log));\n
```\n
\n
Considering now the hoisting above you can now see that you could also run the following code without any exceptions:\n
\n
**Valid code**\n
```\n
(function(log){\n
\'use strict\';\n
\n
var a = 10;\n
\n
i = 5;\n
\n
x();\n
\n
for(var i; i < a; i++) {\n
log(b);\n
var b = i * i;\n
}\n
\n
if(a === 10) {\n
f = function() {\n
log(a);\n
};\n
f();\n
\n
var f;\n
}\n
\n
function x() {\n
log(\'Mr. X!\');\n
}\n
\n
}(window.console.log));\n
```\n
\n
As you can see this looks very confusing and misunderstanding hoisting can lead to unexpected results. To minimize the\n
risk of errors and bugs that resulted from misunderstanding hoisting your should follow the style rule of hoisted\n
declarations in the next section.\n
\n
***\n
\n
### Use hoisted declarations\n
\n
To minimize risk of misunderstanding and misinterpreting results from hoisted variable and function declarations (see\n
previous section) you should always try to hoist your variable and function declarations manually. This means that\n
you should declare all your variables that you\'re using in a function as a fist statement in the function.\n
\n
Use only one `var` keyword and comma separate multiple declarations.\n
\n
**Not recommended**\n
```\n
(function(log){\n
\'use strict\';\n
\n
var a = 10;\n
var b = 10;\n
\n
for(var i = 0; i < 10; i++) {\n
var c = a * b * i;\n
}\n
\n
function f() {\n
\n
}\n
\n
var d = 100;\n
var x = function() {\n
return d * d;\n
};\n
log(x());\n
\n
}(window.console.log));\n
```\n
\n
**Recommended**\n
```\n
(function(log){\n
\'use strict\';\n
\n
var a = 10,\n
b = 10,\n
i,\n
c,\n
d,\n
x;\n
\n
function f() {\n
\n
}\n
\n
for(i = 0; i < 10; i++) {\n
c = a * b * i;\n
}\n
\n
\n
\n
d = 100;\n
x = function() {\n
return d * d;\n
};\n
log(x());\n
\n
}(window.console.log));\n
```\n
\n
Being pragmatic you should directly initialize your variables during hoisted declaration.\n
\n
**Not recommended**\n
```\n
var a,\n
b,\n
c;\n
\n
a = 10;\n
b = 10;\n
c = 100;\n
```\n
\n
**Recommended**\n
```\n
var a = 10,\n
b = 10,\n
c = 100;\n
```\n
\n
***\n
\n
### Always use strict equal\n
\n
Always use `===` explicit comparison operators and avoid the hassle you can go through by debugging issues resulted\n
from the very much overcomplicated javascript type coercion.\n
\n
If you\'re using `===` operators both operands need to be from the same type in order to be valid and there will no\n
type coercion be performed.\n
\n
If you\'d like to get more information on type coercion you should read\n
[this article by Dmitry Soshnikov](http://dmitrysoshnikov.com/notes/note-2-ecmascript-equality-operators/).\n
\n
By using only `==` you\'re telling javascript to use type coercion where needed which can be very complicated to trace\n
down. A few examples can be seen below that should give you a indication how strange type coercion can feel:\n
\n
```\n
(function(log){\n
\'use strict\';\n
\n
log(\'0\' == 0); // true\n
log(\'\' == false); // true\n
log(\'1\' == true); // true\n
log(null == undefined); // true\n
\n
var x = {\n
valueOf: function() {\n
return \'X\';\n
}\n
};\n
\n
log(x == \'X\');\n
\n
}(window.console.log));\n
```\n
\n
***\n
\n
### Use truthy / falsy checks wisely\n
\n
By only putting one variable or expression into a if statement you\'re creating a truthy / falsy check. The expression\n
`if(a == true)` is not the same as `if(a)`. The later expression is creating a special check which is called truthy /\n
falsy check. This check performs some special operations in order to evaluate to true or false. The following\n
expressions are falsy in javascript `false`, `0`, `undefined`, `null`, `NaN`, `\'\'` (empty string).\n
\n
Truthy / falsy checks are very helpful as they allow you to quickly react on a group of conditions that you\'d like to\n
take care of but you need to be sure about what you actually want to do.\n
\n
The following example shows how truthy / falsy checks work:\n
\n
```\n
(function(log){\n
\'use strict\';\n
\n
function logTruthyFalsy(expr) {\n
if(expr) {\n
log(\'truthy\');\n
} else {\n
log(\'falsy\');\n
}\n
}\n
\n
logTruthyFalsy(true); // truthy\n
logTruthyFalsy(1); // truthy\n
logTruthyFalsy({}); // truthy\n
logTruthyFalsy([]); // truthy\n
logTruthyFalsy(\'0\'); // truthy\n
\n
logTruthyFalsy(false); // falsy\n
logTruthyFalsy(0); // falsy\n
logTruthyFalsy(undefined); // falsy\n
logTruthyFalsy(null); // falsy\n
logTruthyFalsy(NaN); // falsy\n
logTruthyFalsy(\'\'); // falsy\n
\n
}(window.console.log));\n
```\n
\n
***\n
\n
### Logical operators for variable assignments\n
\n
The logical operators `||` and `&&` can also be used to return non-boolean values. If used with non booleans the\n
operands will evaluate each expression from left to right and performs a falsy check. Depending on the operation, one\n
of the expressions will be returned. This can be very helpful for variable assignments and should be considered in\n
order to simplify your code.\n
\n
**Not recommended**\n
```\n
if(!x) {\n
if(!y) {\n
x = 1;\n
} else {\n
x = y;\n
}\n
}\n
```\n
\n
**Recommended**\n
```\n
x = x || y || 1;\n
```\n
\n
This shorthand is often used to validated function parameters. The following example illustrates one usage example:\n
\n
```\n
(function(log){\n
\'use strict\';\n
\n
function multiply(a, b) {\n
a = a || 1;\n
b = b || 1;\n
\n
log(\'Result \' + a * b);\n
}\n
\n
multiply(); // Result 1\n
multiply(10); // Result 10\n
multiply(3, NaN); // Result 3\n
multiply(9, 5); // Result 45\n
\n
}(window.console.log));\n
```\n
\n
***\n
\n
### Semicolons\n
\n
Always use semicolons. Relying on implicit insertion can cause subtle, hard to debug problems. Don\'t do it.\n
You\'re better than that. There are a couple places where missing semicolons are particularly dangerous:\n
\n
```\n
// 1.\n
MyClass.prototype.myMethod = function() {\n
return 42;\n
} // No semicolon here.\n
\n
(function() {\n
// Some initialization code wrapped in a function to create a scope for locals.\n
})();\n
\n
\n
var x = {\n
\'i\': 1,\n
\'j\': 2\n
} // No semicolon here.\n
\n
// 2. Trying to do one thing on Internet Explorer and another on Firefox.\n
// I know you\'d never write code like this, but throw me a bone.\n
[ffVersion, ieVersion][isIE]();\n
\n
\n
var THINGS_TO_EAT = [apples, oysters, sprayOnCheese] // No semicolon here.\n
\n
// 3. conditional execution a la bash\n
-1 == resultOfOperation() || die();\n
```\n
\n
**So what happens?**\n
\n
1. JavaScript error - first the function returning 42 is called with the second function as a parameter, then\n
the number 42 is "called" resulting in an error.\n
1. You will most likely get a \'no such property in undefined\' error at runtime as it tries to\n
call `x[ffVersion, ieVersion][isIE]()`.\n
1. `die` is always called since the array minus 1 is `NaN` which is never equal to anything (not even if\n
`resultOfOperation()` returns `NaN`) and `THINGS_TO_EAT` gets assigned the result of `die()`.\n
\n
**Why?**\n
\n
JavaScript requires statements to end with a semicolon, except when it thinks it can safely infer their existence.\n
In each of these examples, a function declaration or object or array literal is used inside a statement. The closing\n
brackets are not enough to signal the end of the statement. Javascript never ends a statement if the next token is an\n
infix or bracket operator.\n
\n
This has really surprised people, so make sure your assignments end with semicolons.\n
\n
**Clarification: Semicolons and functions**\n
\n
Semicolons should be included at the end of function expressions, but not at the end of function declarations.\n
The distinction is best illustrated with an example:\n
\n
```\n
var foo = function() {\n
return true;\n
}; // semicolon here.\n
\n
function foo() {\n
return true;\n
} // no semicolon here.\n
```\n
\n
***\n
\n
### Nested functions\n
\n
Nested functions can be very useful, for example in the creation of continuations and for the task of hiding helper\n
functions. Feel free to use them.\n
\n
***\n
\n
### Function declaration within blocks\n
\n
Do not declare functions in blocks. This is not valid in ECMAScript 5 strict mode. Functions should be declared on\n
top level. Don\'t hesitate to use variables initialized with function expressions inside of blocks though:\n
\n
**Not recommended**\n
```\n
if (x) {\n
function foo() {}\n
}\n
```\n
\n
**Recommended**\n
```\n
if (x) {\n
var foo = function() {};\n
}\n
```\n
\n
***\n
\n
### Exceptions\n
\n
You basically can\'t avoid exceptions if you\'re doing something non-trivial (using an application development framework,\n
etc.).\n
\n
Without custom exceptions, returning error information from a function that also returns a value can be tricky, not to\n
mention inelegant. Bad solutions include passing in a reference type to hold error information or always returning\n
Objects with a potential error member. These basically amount to a primitive exception handling hack.\n
Feel free to use custom exceptions when appropriate.\n
\n
In complex environments you should consider throwing objects rather than just strings (default throws).\n
\n
```\n
if(name === undefined) {\n
throw {\n
name: \'System Error\',\n
message: \'A name should always be specified!\'\n
}\n
}\n
```\n
\n
***\n
\n
### Standard features\n
\n
Always preferred over non-standards features. For maximum portability and compatibility, always prefer standards\n
features over non-standards features (e.g., `string.charAt(3)` over `string[3]` and element access with DOM functions\n
instead of using an application-specific shorthand).\n
\n
***\n
\n
### Simple prototypical inheritance\n
\n
If you need inheritance of your objects in Javascript follow a simple pattern to create inheritance. If you know that\n
you\'ll end up with complex object inheritance consider a inheritance library like\n
[Proto.js by Axel Rauschmayer](https://github.com/rauschma/proto-js).\n
\n
For simple cases use like the bellow.\n
\n
```\n
(function(log){\n
\'use strict\';\n
\n
// Constructor function\n
function Apple(name) {\n
this.name = name;\n
}\n
// Defining a method of apple\n
Apple.prototype.eat = function() {\n
log(\'Eating \' + this.name);\n
};\n
\n
// Constructor function\n
function GrannySmithApple() {\n
// Invoking parent constructor\n
Apple.prototype.constructor.call(this, \'Granny Smith\');\n
}\n
// Set parent prototype while creating a copy with Object.create\n
GrannySmithApple.prototype = Object.create(Apple.prototype);\n
// Set constructor to the sub type, otherwise points to Apple\n
GrannySmithApple.prototype.constructor = GrannySmithApple;\n
\n
// Calling a super method\n
GrannySmithApple.prototype.eat = function() {\n
// Be sure to apply it onto our current object with call(this)\n
Apple.prototype.eat.call(this);\n
\n
log(\'Poor Grany Smith\');\n
};\n
\n
// Instantiation\n
var apple = new Apple(\'Test Apple\');\n
var grannyApple = new GrannySmithApple();\n
\n
log(apple.name); // Test Apple\n
log(grannyApple.name); // Granny Smith\n
\n
// Instance checks\n
log(apple instanceof Apple); // true\n
log(apple instanceof GrannySmithApple); // false\n
\n
log(grannyApple instanceof Apple); // true\n
log(grannyApple instanceof GrannySmithApple); // true\n
\n
// Calling method that calls super method\n
grannyApple.eat(); // Eating Granny Smith\\nPoor Grany Smith\n
\n
}(window.console.log));\n
```\n
\n
***\n
\n
### Use Closures\n
\n
The ability to create closures is perhaps the most useful and often overlooked feature of JS.\n
Here is [a good description of how closures work](http://jibbering.com/faq/faq_notes/closures.html).\n
\n
***\n
\n
### Don\'t create functions in loops\n
\n
It\'s generally a potential source for bugs if you write functions that create a closure inside of simple loops. The\n
following example illustrates a common pitfall.\n
\n
**Not recommended**\n
```\n
(function(log, w){\n
\'use strict\';\n
\n
// numbers and i is defined in the current function closure\n
var numbers = [1, 2, 3],\n
i;\n
\n
for(i = 0; i < numbers.length; i++) {\n
w.setTimeout(function() {\n
// At the moment when this gets executed the i variable, coming from the outer function scope\n
// is set to 3 and the current program is alerting the message 3 times\n
// \'Index 3 with number undefined\n
// If you understand closures in javascript you know how to deal with those cases\n
// It\'s best to just avoid functions / new closures in loops as this prevents those issues\n
\n
w.alert(\'Index \' + i + \' with number \' + numbers[i]);\n
}, 0);\n
}\n
\n
}(window.console.log, window));\n
```\n
\n
The following variation of the above example solves our problem / bug but still violates our policy to not create\n
functions / closures inside of loops.\n
\n
**Not recommended**\n
```\n
(function(log, w){\n
\'use strict\';\n
\n
// numbers and i is defined in the current function closure\n
var numbers = [1, 2, 3],\n
i;\n
\n
for(i = 0; i < numbers.length; i++) {\n
// Creating a new closure scope with an IIFE solves the problem\n
// The delayed function will use index and number which are\n
// in their own closure scope (one closure per loop iteration).\n
// ---\n
// Still this is not recommended as we violate our rule to not\n
// create functions within loops and we are creating two!\n
\n
(function(index, number){\n
w.setTimeout(function() {\n
// Will output as expected 0 > 1, 1 > 2, 2 > 3\n
w.alert(\'Index \' + index + \' with number \' + number);\n
}, 0);\n
}(i, numbers[i]));\n
}\n
\n
}(window.console.log, window));\n
```\n
\n
The following variation solves our problem / bug and we also comply with our style guide. However, this seems to be\n
heavily overcomplicated and we should look for a better / easier way.\n
\n
**Partially recommended**\n
```\n
(function(log, w){\n
\'use strict\';\n
\n
// numbers and i is defined in the current function closure\n
var numbers = [1, 2, 3],\n
i;\n
\n
// Create a function outside of the loop that will accept arguments to create a\n
// function closure scope. This function will return a function that executes in this\n
// closure parent scope.\n
function alertIndexWithNumber(index, number) {\n
return function() {\n
w.alert(\'Index \' + index + \' with number \' + number);\n
};\n
}\n
\n
// First parameter is a function call that returns a function.\n
// ---\n
// This solves our problem and we don\'t create a function inside our loop\n
for(i = 0; i < numbers.length; i++) {\n
w.setTimeout(alertIndexWithNumber(i, numbers[i]), 0);\n
}\n
\n
}(window.console.log, window));\n
```\n
\n
By using a functional approach for our loop we solve the problem immediately as we create a new closure with every loop.\n
Functional style is recommended and will also lead to more natural and expected results.\n
\n
**Recommended**\n
```\n
(function(log, w){\n
\'use strict\';\n
\n
// numbers and i is defined in the current function closure\n
var numbers = [1, 2, 3],\n
i;\n
\n
numbers.forEach(function(number, index) {\n
w.setTimeout(function() {\n
w.alert(\'Index \' + index + \' with number \' + number);\n
}, 0);\n
});\n
\n
}(window.console.log, window));\n
```\n
\n
***\n
\n
### The (evil) eval function\n
\n
`eval()` makes for confusing semantics and is dangerous to use if the string being eval()\'d contains user input.\n
There\'s usually a better, clearer, and safer way to write your code, so its use is generally not permitted.\n
\n
***\n
\n
### The this keyword\n
\n
Use the `this` keyword only in object constructors, methods, and in setting up closures. The semantics of this can be\n
tricky. At times it refers to the global object (in most places), the scope of the caller (in eval), a node in the DOM\n
tree (when attached using an event handler HTML attribute), a newly created object (in a constructor), or some other\n
object (if function was call()ed or apply()ed).\n
\n
Because this is so easy to get wrong, limit its use to those places where it is required:\n
\n
- in constructors\n
- in methods of objects (including in the creation of closures)\n
\n
***\n
\n
### Functional is preferred\n
\n
Using functional style programming you can simplify your code and reduce maintenance cost by gaining easy re-usability,\n
proper isolation and less dependencies.\n
\n
The following example compares two solutions for the same problem of summing up all number elements in an array. The\n
first example is a classical procedural approach while the second one makes use of functional style programming and the\n
ECMA Script 5.1 array functions.\n
\n
Exception: In situations where performance is considered to be more important than maintainability then you might\n
consider the most performant solution over the most maintainable (i.e. using simple for loop over forEach)\n
\n
**Not recommended**\n
```\n
(function(log){\n
\'use strict\';\n
\n
var arr = [10, 3, 7, 9, 100, 20],\n
sum = 0,\n
i;\n
\n
\n
for(i = 0; i < arr.length; i++) {\n
sum += arr[i];\n
}\n
\n
log(\'The sum of array \' + arr + \' is: \' + sum)\n
\n
}(window.console.log));\n
```\n
\n
**Recommended**\n
```\n
(function(log){\n
\'use strict\';\n
\n
var arr = [10, 3, 7, 9, 100, 20];\n
\n
var sum = arr.reduce(function(prevValue, currentValue) {\n
return prevValue + currentValue;\n
}, 0);\n
\n
log(\'The sum of array \' + arr + \' is: \' + sum);\n
\n
}(window.console.log));\n
```\n
\n
An other example would be to filter an array for certain criteria so that we can create a new array that only contains\n
those elements that match the criteria.\n
\n
**Not recommended**\n
```\n
(function(log){\n
\'use strict\';\n
\n
var numbers = [11, 3, 7, 9, 100, 20, 14, 10],\n
numbersGreaterTen = [],\n
i;\n
\n
\n
for(i = 0; i < numbers.length; i++) {\n
if(numbers[i] > 10) {\n
numbersGreaterTen.push(numbers[i]);\n
}\n
}\n
\n
log(\'From the list of numbers \' + numbers + \' only \' + numbersGreaterTen + \' are greater than ten\');\n
\n
}(window.console.log));\n
```\n
\n
**Recommended**\n
```\n
(function(log){\n
\'use strict\';\n
\n
var numbers = [11, 3, 7, 9, 100, 20, 14, 10];\n
\n
var numbersGreaterTen = numbers.filter(function(element) {\n
return element > 10;\n
});\n
\n
log(\'From the list of numbers \' + numbers + \' only \' + numbersGreaterTen + \' are greater than ten\');\n
\n
}(window.console.log));\n
```\n
\n
***\n
\n
### Use ECMA Script 5\n
\n
Use the syntactical sugar and functional style that was added with ECMA Script 5. It\'s simplifying your programming\n
style and makes your code more flexible and re-usable.\n
\n
***\n
\n
### Array and object property iteration\n
\n
The ECMA5 way to iterate over an array is preferred. Use Array.forEach or Array.every if you would like to cancel the\n
iteration at a certain condition.\n
\n
```\n
(function(log){\n
\'use strict\';\n
\n
// Iterate over an array and break at a certain condition\n
[1, 2, 3, 4, 5].every(function(element, index, arr) {\n
log(element + \' at index \' + index + \' in array \' + arr);\n
\n
if(index !== 5) {\n
return true;\n
}\n
});\n
\n
// Defining a simple javascript object\n
var obj = {\n
a: \'A\',\n
b: \'B\',\n
\'c-d-e\': \'CDE\'\n
};\n
\n
// Iterating over the object keys\n
Object.keys(obj).forEach(function(element, index, arr) {\n
log(\'Key \' + element + \' has value \' + obj[element]);\n
});\n
\n
}(window.console.log));\n
```\n
\n
***\n
\n
### Don\'t use switch\n
\n
switch is a very error prone control statement in every programming language. Use if else if instead.\n
\n
***\n
\n
### Array and Object literals\n
\n
Use Array and Object literals instead of Array and Object constructors. Array constructors are error-prone due to their\n
arguments.\n
\n
**Not recommended**\n
```\n
// Length is 3.\n
var a1 = new Array(x1, x2, x3);\n
\n
// Length is 2.\n
var a2 = new Array(x1, x2);\n
\n
// If x1 is a number and it is a natural number the length will be x1.\n
// If x1 is a number but not a natural number this will throw an exception.\n
// Otherwise the array will have one element with x1 as its value.\n
var a3 = new Array(x1);\n
\n
// Length is 0.\n
var a4 = new Array();\n
```\n
\n
Because of this, if someone changes the code to pass 1 argument instead of 2 arguments, the array might not have the\n
expected length. To avoid these kinds of weird cases, always use the more readable array literal.\n
\n
**Recommended**\n
```\n
var a = [x1, x2, x3];\n
var a2 = [x1, x2];\n
var a3 = [x1];\n
var a4 = [];\n
```\n
\n
Object constructors don\'t have the same problems, but for readability and consistency object literals should be used.\n
\n
**Not recommended**\n
```\n
var o = new Object();\n
\n
var o2 = new Object();\n
o2.a = 0;\n
o2.b = 1;\n
o2.c = 2;\n
o2[\'strange key\'] = 3;\n
```\n
\n
Should be written as:\n
\n
**Recommended**\n
```\n
var o = {};\n
\n
var o2 = {\n
a: 0,\n
b: 1,\n
c: 2,\n
\'strange key\': 3\n
};\n
```\n
\n
***\n
\n
### Modifying prototypes of builtin objects\n
\n
Modifying builtins like `Object.prototype` and `Array.prototype` are strictly forbidden. Modifying other builtins like\n
`Function.prototype` is less dangerous but still leads to hard to debug issues in production and should be avoided.\n
\n
***\n
\n
### Custom toString() methods\n
\n
You can control how your objects string-ify themselves by defining a custom `toString()` method. This is fine, but you\n
need to ensure that your method (1) always succeeds and (2) does not have side-effects. If your method doesn\'t meet\n
these criteria, it\'s very easy to run into serious problems. For example, if `toString()` calls a method that does an\n
assert, assert might try to output the name of the object in which it failed, which of course requires\n
calling `toString()`.\n
\n
***\n
\n
### Parentheses\n
\n
Use sparingly and in general only where required by the syntax and semantics. Never use parentheses for unary\n
operators such as `delete`, `typeof` and `void` or after keywords such as `return`, `throw` as well\n
as others (`case`, in or `new`).\n
\n
***\n
\n
### Strings\n
\n
For consistency single-quotes (\') are preferred to double-quotes ("). This is helpful when creating\n
strings that include HTML:\n
\n
```\n
var msg = \'This is some HTML <div class="makes-sense"></div>\';\n
```\n
\n
***\n
\n
### Conditional Ternary Operator (shorthand if)\n
\n
Use the ternary operator for assignments or return statements. Use it only in simple conditions and avoid it in complex\n
ones. No body likes to wrap his brain around 10 lines of nested ternary operators.\n
\n
**Not recommended**\n
```\n
if(x === 10) {\n
return \'valid\';\n
} else {\n
return \'invalid\';\n
}\n
```\n
\n
**Recommended**\n
```\n
return x === 10 ? \'valid\' : \'invalid\';\n
```\n
\n
***\n
\n
## CSS and Sass (SCSS) style rules\n
\n
***\n
\n
### ID and class naming\n
\n
Instead of presentational or cryptic names, always use ID and class names that reflect the purpose of the element in\n
question, or that are otherwise generic.\n
\n
Names that are specific and reflect the purpose of the element should be preferred as these are most understandable\n
and the least likely to change.\n
\n
Generic names are simply a fallback for elements that have no particular or no meaning different from their siblings.\n
They are typically needed as “helpers.”\n
\n
Even though class names and ID\'s have no semantic meaning to computer interpreters, semantic names are often the right\n
choice as they represent the information meaning and don\'t introduce presentational constraints.\n
\n
**Not recommended**\n
```\n
.fw-800 {\n
font-weight: 800;\n
}\n
\n
.red {\n
color: red;\n
}\n
```\n
\n
**Recommended**\n
```\n
.heavy {\n
font-weight: 800;\n
}\n
\n
.important {\n
color: red;\n
}\n
```\n
\n
***\n
\n
### Avoid ID\'s where possible\n
\n
In general ID\'s should not be used to apply style. Styles on ID\'s can\'t be re-used and you can only use them once per\n
page. The only valid location for using an ID would be to identify a page or a whole site. Still you should always\n
consider using a class that you use once instead of an id.\n
\n
**Not recommended**\n
```\n
#content .title {\n
font-size: 2em;\n
}\n
```\n
\n
**Recommended**\n
```\n
.content .title {\n
font-size: 2em;\n
}\n
```\n
\n
One other argument against using ID\'s would be that selector chains containing ID\'s are over-prioritized. A selector\n
containing just one ID is weighted higher than a selector containing 1000 class names only which makes it very odd.\n
\n
```\n
// This selecor is considered with higher priority\n
#content .title {\n
color: red;\n
}\n
\n
// than this selector!\n
html body div.content.news-content .title.content-title.important {\n
color: blue;\n
}\n
```\n
\n
***\n
\n
### Avoid elements in CSS selectors\n
\n
When building your selectors use clear, precise and sensible class names. Don\'t use element selectors. If you\'re only\n
concerned about your class names and not about your elements your code gets a lot more maintainable.\n
\n
From a separation of concerns perspective you don\'t want to dictate the markup / semantics from the presentation layer.\n
It might be that a ordered list needs to be changed to an unordered list or that a div will be converted to an article.\n
If you only care about sensible class names and don\'t use element selectors you\'d only need to change your markup and\n
not your css.\n
\n
**Not recommended**\n
```\n
div.content > header.content-header > h2.title {\n
font-size: 2em;\n
}\n
```\n
\n
**Recommended**\n
```\n
.content > .content-header > .title {\n
font-size: 2em;\n
}\n
```\n
\n
***\n
\n
### Be as precise as possible\n
\n
A lot of front-end developers don\'t use direct child selectors when they write their selector chains. Sometimes this\n
can cause painful design issues and other times it\'s just a performance eater. However, in any case, it\'s a very bad\n
practice. If you don\'t write very generic selectors that need to match down to the bottom of the DOM you should always\n
consider direct child selectors.\n
\n
Consider the following DOM:\n
\n
```\n
<article class="content news-content">\n
<span class="title">News event</span>\n
<div class="content-body">\n
<div class="title content-title">\n
Check this out\n
</div>\n
\n
<p>This is a news article content</p>\n
\n
<div class="teaser">\n
<div class="title">Buy this</div>\n
<div class="teaser-content">Yey!</div>\n
</div>\n
</div>\n
</article>\n
```\n
\n
The following CSS would apply to all three elements that have a title class. This then would need to be overridden again\n
with more granular selectors in order to fix the content title and the teaser title.\n
\n
**Not recommended**\n
```\n
.content .title {\n
font-size: 2rem;\n
}\n
```\n
\n
**Recommended**\n
```\n
.content > .title {\n
font-size: 2rem;\n
}\n
\n
.content > .content-body > .title {\n
font-size: 1.5rem;\n
}\n
\n
.content > .content-body > .teaser > .title {\n
font-size: 1.2rem;\n
}\n
```\n
\n
***\n
\n
### Shorthand Properties\n
\n
CSS offers a variety of shorthand properties (like font) that should be used whenever possible, even in cases where\n
only one value is explicitly set.\n
\n
Using shorthand properties is useful for code efficiency and understandability.\n
\n
**Not recommended**\n
```\n
border-top-style: none;\n
font-family: palatino, georgia, serif;\n
font-size: 100%;\n
line-height: 1.6;\n
padding-bottom: 2em;\n
padding-left: 1em;\n
padding-right: 1em;\n
padding-top: 0;\n
```\n
\n
**Recommended**\n
```\n
border-top: 0;\n
font: 100%/1.6 palatino, georgia, serif;\n
padding: 0 1em 2em;\n
```\n
\n
***\n
\n
### 0 and units\n
\n
Omit unit specification after “0” values. Do not use units after 0 values unless they are required.\n
\n
**Not recommended**\n
```\n
padding-bottom: 0px;\n
margin: 0em;\n
```\n
\n
**Recommended**\n
```\n
padding-bottom: 0;\n
margin: 0;\n
```\n
\n
***\n
\n
### Hexadecimal Notation\n
\n
Use 3 character hexadecimal notation where possible. For color values that permit it, 3 character hexadecimal notation\n
is shorter and more succinct.\n
\n
Always use lower case hex digits.\n
\n
**Not recommended**\n
```\n
color: #FF33AA;\n
```\n
\n
**Recommended**\n
```\n
color: #f3a;\n
```\n
\n
***\n
\n
### ID and Class Name Delimiters\n
\n
Separate words in ID and class names by a hyphen. Do not concatenate words and abbreviations in selectors by any\n
characters (including none at all) other than hyphens, in order to improve understanding and scannability.\n
\n
Also as the standard foresees attribute selectors that recognise hyphens as separator of words `[attribute|=value]`\n
it\'s best to stick to the hyphen as separator.\n
\n
**Not recommended**\n
```\n
.demoimage {}\n
.error_status {}\n
```\n
\n
**Recommended**\n
```\n
#video-id {}\n
.ads-sample {}\n
```\n
\n
***\n
\n
### Hacks\n
\n
Avoid user agent detection as well as CSS “hacks”—try a different approach first. It’s tempting to address styling\n
differences over user agent detection or special CSS filters, workarounds, and hacks. Both approaches should be\n
considered last resort in order to achieve and maintain an efficient and manageable code base. Put another way, giving\n
detection and hacks a free pass will hurt projects in the long run as projects tend to take the way of least\n
resistance. That is, allowing and making it easy to use detection and hacks means using detection and hacks more\n
frequently—and more frequently is too frequently.\n
\n
***\n
\n
### Declaration Order\n
\n
This example should give a rough outline of how to order CSS properties within a selector. This is important in order\n
to guarantee better readability and better scannability.\n
\n
As a best practice we should follow the following ordering (in the same order as the listing):\n
\n
1. structural\n
1. display\n
1. position, left, top, right etc.\n
1. overflow, float, clear etc.\n
1. margin, padding\n
1. skin\n
1. background, border etc.\n
1. font, text\n
\n
**Not recommended**\n
```\n
.box {\n
font-family: \'Arial\', sans-serif;\n
border: 3px solid #ddd;\n
left: 30%;\n
position: absolute;\n
text-transform: uppercase;\n
background-color: #eee;\n
right: 30%;\n
isplay: block;\n
font-size: 1.5rem;\n
overflow: hidden;\n
padding: 1em;\n
margin: 1em;\n
}\n
```\n
\n
**Recommended**\n
```\n
.box {\n
display: block;\n
position: absolute;\n
left: 30%;\n
right: 30%;\n
overflow: hidden;\n
margin: 1em;\n
padding: 1em;\n
background-color: #eee;\n
border: 3px solid #ddd;\n
font-family: \'Arial\', sans-serif;\n
font-size: 1.5rem;\n
text-transform: uppercase;\n
}\n
```\n
\n
***\n
\n
### Declaration Stops\n
\n
End every declaration with a semicolon for consistency and extensibility reasons and put each declaration on a new line.\n
\n
**Not recommended**\n
```\n
.test {\n
display: block; height: 100px\n
}\n
```\n
\n
**Recommended**\n
```\n
.test {\n
display: block;\n
height: 100px;\n
}\n
```\n
\n
***\n
\n
### Property Name Stops\n
\n
Use a space after a property name’s colon. Always use a single space between property and value (but no space between\n
property and colon) for consistency reasons.\n
\n
**Not recommended**\n
```\n
h3 {\n
font-weight:bold;\n
}\n
```\n
\n
**Recommended**\n
```\n
h3 {\n
font-weight: bold;\n
}\n
```\n
\n
***\n
\n
### Selector and Declaration Separation\n
\n
Always start a new line for each selector and declaration.\n
\n
**Not recommended**\n
```\n
a:focus, a:active {\n
position: relative; top: 1px;\n
}\n
```\n
\n
**Recommended**\n
```\n
h1,\n
h2,\n
h3 {\n
font-weight: normal;\n
line-height: 1.2;\n
}\n
```\n
\n
***\n
\n
### Rule Separation\n
\n
Always put a blank line (two line breaks) between rules.\n
\n
**Recommended**\n
```\n
html {\n
background: #fff;\n
}\n
\n
body {\n
margin: auto;\n
width: 50%;\n
}\n
```\n
\n
***\n
\n
### CSS Quotation Marks\n
\n
Use double ("") rather than single (\'\') quotation marks for attribute selectors or property values.\n
Do not use quotation marks in URI values (url()).\n
\n
**Not recommended**\n
```\n
@import url(\'//cdn.com/foundation.css\');\n
\n
html {\n
font-family: \'open sans\', arial, sans-serif;\n
}\n
\n
body:after {\n
content: \'pause\';\n
}\n
```\n
\n
**Recommended**\n
```\n
@import url(//cdn.com/foundation.css);\n
\n
html {\n
font-family: "open sans", arial, sans-serif;\n
}\n
\n
body:after {\n
content: "pause";\n
}\n
```\n
\n
***\n
\n
### Nested selectors (SCSS)\n
\n
In Sass you can nest selectors which is much cleaner and the code becomes much more readable. Nest all selectors but\n
try to avoid nesting without any content. If you need to specify some style attributes for a child element where the\n
parent element will not receive any styling use a regular CSS selector chain. This will prevent your script to look\n
overcomplicated.\n
\n
**Not recommended**\n
```scss\n
// Not a good example by not making use of nesting at all\n
.content {\n
display: block;\n
}\n
\n
.content > .news-article > .title {\n
font-size: 1.2em;\n
}\n
```\n
\n
**Not recommended**\n
```scss\n
// Using nesting is better but not in all cases\n
// Avoid nesting when there is no attributes and use selector chains instead\n
.content {\n
display: block;\n
\n
> .news-article {\n
> .title {\n
font-size: 1.2em;\n
}\n
}\n
}\n
```\n
\n
**Recommended**\n
```scss\n
// This example takes the best approach while nesting but use selector chains where possible\n
.content {\n
display: block;\n
\n
> .news-article > .title {\n
font-size: 1.2em;\n
}\n
}\n
```\n
\n
***\n
\n
### Introducing space while nesting (SCSS)\n
\n
If you nest your selectors introduce blank line between your nested selectors and the css attributes.\n
\n
**Not recommended**\n
```scss\n
.content {\n
display: block;\n
> .news-article {\n
background-color: #eee;\n
> .title {\n
font-size: 1.2em;\n
}\n
> .article-footnote {\n
font-size: 0.8em;\n
}\n
}\n
}\n
```\n
\n
**Recommended**\n
```scss\n
.content {\n
display: block;\n
\n
> .news-article {\n
background-color: #eee;\n
\n
> .title {\n
font-size: 1.2em;\n
}\n
\n
> .article-footnote {\n
font-size: 0.8em;\n
}\n
}\n
}\n
```\n
\n
***\n
\n
### Contextual media queries (SCSS)\n
\n
While nesting your selectors you can also make use of contextual media queries within Sass. With Sass you can use media\n
queries at any given nesting level. The resulting CSS will be converted so that the media query gets rendered around the\n
selector.\n
\n
This technique is very handy and helps to keep media queries in the context where they belong to. With a mobile first\n
approach this allows you to write your mobile styles first and then use contextual media queries where ever you need\n
them in order to provide the desktop styles.\n
\n
**Not recommended**\n
```scss\n
// This mobile first example looks like plain CSS where the whole structure of SCSS is repeated\n
// on the bottom in a media query. This is error prone and makes maintenance harder as it\'s not so easy to relate\n
// the content in the media query to the content in the upper part (mobile style)\n
\n
.content-page {\n
font-size: 1.2rem;\n
\n
> .main {\n
background-color: whitesmoke;\n
\n
> .latest-news {\n
padding: 1rem;\n
\n
> .news-article {\n
padding: 1rem;\n
\n
> .title {\n
font-size: 2rem;\n
}\n
}\n
}\n
\n
> .content {\n
margin-top: 2rem;\n
padding: 1rem;\n
}\n
}\n
\n
> .page-footer {\n
margin-top: 2rem;\n
font-size: 1rem;\n
}\n
}\n
\n
@media screen and (min-width: 641px) {\n
.content-page {\n
font-size: 1rem;\n
\n
> .main > .latest-news > .news-article > .title {\n
font-size: 3rem;\n
}\n
\n
> .page-footer {\n
font-size: 0.8rem;\n
}\n
}\n
}\n
```\n
\n
**Recommended**\n
```scss\n
// This is the same example as above but here we use contextual media queries in order to put the different styles\n
// for different media into the right context.\n
\n
.content-page {\n
font-size: 1.2rem;\n
\n
@media screen and (min-width: 641px) {\n
font-size: 1rem;\n
}\n
\n
> .main {\n
background-color: whitesmoke;\n
\n
> .latest-news {\n
padding: 1rem;\n
\n
> .news-article {\n
padding: 1rem;\n
\n
> .title {\n
font-size: 2rem;\n
\n
@media screen and (min-width: 641px) {\n
font-size: 3rem;\n
}\n
}\n
}\n
}\n
\n
> .content {\n
margin-top: 2rem;\n
padding: 1rem;\n
}\n
}\n
\n
> .page-footer {\n
margin-top: 2rem;\n
font-size: 1rem;\n
\n
@media screen and (min-width: 641px) {\n
font-size: 0.8rem;\n
}\n
}\n
}\n
```\n
\n
***\n
\n
### Nesting order and the parent selector (SCSS)\n
\n
While using the nesting features of Sass it\'s important to have a clear order to put your nesting in. A SCSS block\n
should have the following content order.\n
\n
1. Current selector\'s style attributes\n
1. Pseudo selectors with parent selector (:first-letter, :hover, :active etc)\n
1. Pseudo elements (:before and :after)\n
1. State classe with parent selector (.selected, .active, .enlarged etc.)\n
1. Contextual media queries with Sass\n
1. Sub selectors as the last part\n
\n
The following example should illustrate how this ordering will achieve a clear structure while making use of the Sass\n
parent selector.\n
\n
**Recommended**\n
```scss\n
.product-teaser {\n
// 1. Style attributes\n
display: inline-block;\n
padding: 1rem;\n
background-color: whitesmoke;\n
color: grey;\n
\n
// 2. Pseudo selectors with parent selector\n
&:hover {\n
color: black;\n
}\n
\n
// 3. Pseudo elements with parent selector\n
&:before {\n
content: "";\n
display: block;\n
border-top: 1px solid grey;\n
}\n
\n
&:after {\n
content: "";\n
display: block;\n
border-top: 1px solid grey;\n
}\n
\n
// 4. State classes with parent selector\n
&.active {\n
background-color: pink;\n
color: red;\n
\n
// 4.2. Pseuso selector in state class selector\n
&:hover {\n
color: darkred;\n
}\n
}\n
\n
// 5. Contextual media queries\n
@media screen and (max-width: 640px) {\n
display: block;\n
font-size: 2em;\n
}\n
\n
// 6. Sub selectors\n
> .content > .title {\n
font-size: 1.2em;\n
\n
// 6.5. Contextual media queries in sub selector\n
@media screen and (max-width: 640px) {\n
letter-spacing: 0.2em;\n
text-transform: uppercase;\n
}\n
}\n
}\n
```\n
\n
]]></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272945.6</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>CONTRIBUTING.md</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
# Contributing to chartist-js\n
\n
- [Issues and Bugs](#issue)\n
- [Submission Guidelines](#submit)\n
- [Coding Conventions](#conventions)\n
\n
## <a name="issue"></a> Found an Issue?\n
\n
If you find a bug in the source code or a mistake in the documentation, you can help us by\n
submitting an issue to our [GitHub Repository][github]. Even better you can submit a Pull Request\n
with a fix.\n
\n
## Pre-requisites\n
\n
You will need the following to run a local development enviroment.\n
\n
- Node.js & npm\n
- Bower (`sudo npm install bower -g`)\n
- Grunt (`sudo npm install grunt-cli -g`)\n
- Text editor of your choice\n
\n
\n
## How to Run a Local Distribution\n
\n
1. `cd` into your local copy of the repository.\n
2. Run `npm install` to install dependencies located in `package.json`.\n
3. Run `bower install` to install bower dependencies.\n
5. Run `grunt preview` to start the watch task, and the web server should automatically open. Congrats, you should now be able to see your local copy of the demo site.\n
\n
## <a name="submit"></a> Submission Guidelines\n
\n
If you are creating a Pull Request, fork the repository and make any changes on the `develop` branch.\n
\n
### <a name="conventions"></a> Conventions\n
\n
Check out the [Coding Style document](CODINGSTYLE.md)\n
\n
### Grunt\n
\n
We have five grunt tasks:\n
\n
1. `grunt build` - Combines the scripts and creates the library for distribution\n
2. `grunt public` - Creates the distribution of the example / demo site which is used as visual development help of the charts but also serves as the documentation site / gh-pages.\n
3. `grunt dev` - Starts watch with livereload that is executing the same things as the site build default task but for live development.\n
4. `grunt preview` - Executes a dist and serves the directory statically in order to serve with the production example / demo site.\n
5. `grunt test` - Executes jasmine tests separately, although we have a very big lack of tests.\n
\n
`dist` should **not** be included in any Pull Requests. So please ensure that code is not being committed as part of the Pull Request.\n
\n
### Documentation\n
\n
- Everything is already in place and in the `sitedist` there is a `apidoc` folder generated by [doxication](https://github.com/gionkunz/grunt-doxication) generator that uses JSDoc like comments to generate documentation meta files. Always use proper JSDoc comments when documenting methods and API interfaces. Also assign documentation blocks using @memberof to the virtual module they belong to.\n
- The site documentation is built with [Assemble.io](http://assemble.io/). Generally a component based approach should be followed where there are already Handlebar partials / helpers in order to create whole sites based on components that can be specified by type and with their data in yaml files.\n
\n
### Important missing stuff \n
\n
1. Jasmine Tests!\n
2. Documentation: JSDoc, Getting started documentation and landing page\n
3. Better accessibility using ARIA and other optimizations\n
4. Better interfaces to the library (i.e. jQuery with data-* attributes for configuration), Angular.js directive etc.\n
5. Richer Sass / CSS framework\n
6. Other charts types (spider etc.)\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>3104</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>CONTRIBUTING.md</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272939.91</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>Gruntfile.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>/**\n
* Grunt Configurations\n
* ====================\n
*\n
* Seperate tasks and configurations are declared in \'/tasks\'.\n
*\n
* Link: https://github.com/firstandthird/load-grunt-config\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
\n
// tracks how long a tasks take\n
require(\'time-grunt\')(grunt);\n
\n
// load task and configurations\n
require(\'load-grunt-config\')(grunt, {\n
configPath: __dirname + \'/tasks\',\n
data: {\n
pkg: grunt.file.readJSON(\'package.json\'),\n
year: new Date().getFullYear()\n
},\n
jitGrunt: {\n
staticMappings: {\n
\'useminPrepare\': \'grunt-usemin\',\n
\'assemble\': \'assemble\'\n
}\n
}\n
});\n
};\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>657</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Gruntfile.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273098.33</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>LICENSE</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\n
Version 2, December 2004\n
\n
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>\n
\n
Everyone is permitted to copy and distribute verbatim or modified\n
copies of this license document, and changing it is allowed as long\n
as the name is changed.\n
\n
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\n
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n
\n
0. You just DO WHAT THE FUCK YOU WANT TO.\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>483</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>LICENSE</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273064.88</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>README.md</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
# Big welcome by the Chartist Guy\n
[![npm version](http://img.shields.io/npm/v/chartist.svg)](https://npmjs.org/package/chartist) [![build status](http://img.shields.io/travis/gionkunz/chartist-js.svg)](https://travis-ci.org/gionkunz/chartist-js) [![Inline docs](http://inch-ci.org/github/gionkunz/chartist-js.svg?branch=develop)](http://inch-ci.org/github/gionkunz/chartist-js)\n
\n
![The Chartist Guy](https://raw.github.com/gionkunz/chartist-js/develop/site/images/chartist-guy.gif "The Chartist Guy")\n
\n
*Checkout the documentation site at http://gionkunz.github.io/chartist-js/*\n
\n
*Checkout this lightning talk that gives you an overview of Chartist in 5 minutes https://www.youtube.com/watch?v=WdYzPhOB_c8*\n
\n
*Guest talk of the Chartist.js Guy at the Treehouse Show https://www.youtube.com/watch?v=h9oH0iDaZDQ&t=2m40s*\n
\n
Chartist.js is a simple responsive charting library built with SVG. There are hundreds of nice charting libraries already\n
out there, but they are either:\n
\n
* not responsive\n
* use the wrong technologies for illustration (canvas)\n
* are not flexible enough while keeping the configuration simple\n
* are not friendly to your own code\n
* are not friendly to designers\n
* have unnecessary dependencies to monolithic libraries \n
* more annoying things\n
\n
That\'s why we started Chartist.js and our goal is to solve all of the above issues.\n
\n
## What is it made for?\n
\n
Chartist\'s goal is to provide a simple, lightweight and unintrusive library to responsively craft charts on your website. \n
It\'s important to understand that one of the main intentions of Chartist.js is to rely on standards rather than providing \n
it\'s own solution to a problem which is already solved by those standards. We need to leverage the power of browsers \n
today and say good bye to the idea of solving all problems ourselves.\n
\n
Chartist works with inline-SVG and therefore leverages the power of the DOM to provide parts of its functionality. This \n
also means that Chartist does not provide it\'s own event handling, labels, behaviors or anything else that can just be \n
done with plain HTML, JavaScript and CSS. The single and only responsibility of Chartist is to help you drawing "Simple \n
responsive Charts" using inline-SVG in the DOM, CSS to style and JavaScript to provide an API for configuring your charts.\n
\n
## Example site\n
\n
You can visit this Site http://gionkunz.github.io/chartist-js/ which is in fact a build of the current project.\n
We are still developing and constantly add features but you can already use Chartist.js in your projects as we have \n
reached a stable and reliable state already.\n
\n
## Version notes\n
\n
We are currently still heavily developing in order to make Chartist.js better. Your help is needed! Please contribute\n
to the project if you like the idea and the concept and help us to bring nice looking responsive open-source charts\n
to the masses.\n
\n
### Important missing stuff\n
\n
1. Jasmine Tests!\n
2. Documentation: JSDoc, Getting started documentation and landing page\n
3. Better accessibility using ARIA and other optimizations\n
4. Better interfaces to the library (i.e. jQuery with data-* attributes for configuration), Angular.js directive etc.\n
5. Richer Sass / CSS framework\n
6. Other charts types (spider etc.)\n
\n
## Contribution\n
\n
We are looking for people who share the idea of having a simple, flexible charting library that is responsive and uses\n
modern and future-proof technologies. The goal of this project is to create a responsive charting library where developers\n
have their joy in using it and designers love it because of the designing flexibility they have.\n
\n
Contribute if you like the Chartist Guy!\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>3611</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>README.md</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272958.38</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>bower.json</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/json</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>{\n
"name": "chartist",\n
"main": [\n
"./dist/chartist.min.js",\n
"./dist/chartist.min.css"\n
],\n
"devDependencies": {\n
"snap.svg": "~0.3.0",\n
"foundation": "~5.5.1",\n
"highlightjs": "~8.4.0",\n
"compass-mixins": "~1.0.2",\n
"codemirror": "~4.12.0",\n
"base64": "~0.3.0",\n
"chartist-plugin-pointlabels": "~0.0.4",\n
"chartist-plugin-sketchy": "~0.0.2",\n
"chartist-plugin-accessibility": "~0.0.2",\n
"chartist-plugin-tooltip": "~0.0.8",\n
"chartist-plugin-axistitle": "~0.0.1",\n
"chartist-plugin-threshold": "~0.0.1",\n
"matchMedia": "~0.2.0"\n
},\n
"ignore": [\n
".*",\n
"Gruntfile.js",\n
"tasks",\n
"package.json",\n
"node_modules",\n
"public",\n
"site",\n
"src",\n
"test"\n
],\n
"resolutions": {\n
"chartist": "~0.9.0"\n
}\n
}\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>784</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>bower.json</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>dist</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>dist</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272943.46</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>package.json</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/json</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
{\n
"name": "chartist",\n
"title": "Chartist.js",\n
"description": "Simple, responsive charts",\n
"version": "0.9.4",\n
"author": "Gion Kunz",\n
"homepage": "https://gionkunz.github.io/chartist-js",\n
"repository": {\n
"type": "git",\n
"url": "https://github.com/gionkunz/chartist-js.git"\n
},\n
"bugs": {\n
"url": "https://github.com/gionkunz/chartist-js/issues"\n
},\n
"keywords": [\n
"chartist",\n
"responsive charts",\n
"charts",\n
"charting"\n
],\n
"files": [\n
"dist",\n
"LICENSE",\n
"package.json",\n
"README.md"\n
],\n
"main": "dist/chartist.js",\n
"browser": "dist/chartist.js",\n
"licenses": [\n
{\n
"type": "WTFPL",\n
"url": "https://github.com/gionkunz/chartist-js/blob/master/LICENSE"\n
}\n
],\n
"dependencies": {},\n
"devDependencies": {\n
"assemble": "~0.4.42",\n
"assemble-dox": "0.0.2",\n
"grunt": "^0.4.5",\n
"grunt-concurrent": "^1.0.0",\n
"grunt-contrib-clean": "^0.6.0",\n
"grunt-contrib-concat": "^0.5.0",\n
"grunt-contrib-connect": "~0.9.0",\n
"grunt-contrib-copy": "^0.7.0",\n
"grunt-contrib-cssmin": "^0.12.1",\n
"grunt-contrib-htmlmin": "~0.4.0",\n
"grunt-contrib-imagemin": "~0.9.3",\n
"grunt-contrib-jasmine": "~0.8.2",\n
"grunt-contrib-jshint": "~0.11.0",\n
"grunt-contrib-uglify": "^0.7.0",\n
"grunt-contrib-watch": "^0.6.1",\n
"grunt-critical": "0.1.1",\n
"grunt-newer": "^1.1.0",\n
"grunt-sass": "^0.18.0",\n
"grunt-svgmin": "~2.0.0",\n
"grunt-template": "^0.2.3",\n
"grunt-umd": "~2.3.1",\n
"grunt-usemin": "~3.0.0",\n
"handlebars-helpers": "~0.5.8",\n
"jasmine-jquery": "~2.0.6",\n
"jshint-stylish": "~1.0.0",\n
"load-grunt-config": "^0.16.0",\n
"lodash": "~2.4.1",\n
"seed-random": "~2.2.0",\n
"time-grunt": "^1.0.0"\n
},\n
"engines": {\n
"node": ">=0.8.0"\n
},\n
"scripts": {\n
"test": "grunt test"\n
},\n
"config": {\n
"banner": "/* Chartist.js <%= pkg.version %>\\n * Copyright © <%= year %> Gion Kunz\\n * Free to use under the WTFPL license.\\n * http://www.wtfpl.net/\\n */\\n",\n
"src": "src",\n
"dist": "dist",\n
"site": "site",\n
"tmp": ".tmp",\n
"public": ".public",\n
"test": "test"\n
}\n
}\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>2141</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>package.json</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>site</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>site</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273011.55</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.buildignore</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>*.coffee</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>8</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.buildignore</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273012.95</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>404.html</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<!DOCTYPE html>\n
<html lang="en">\n
<head>\n
<meta charset="utf-8">\n
<title>Page Not Found :(</title>\n
<style>\n
::-moz-selection {\n
background: #b3d4fc;\n
text-shadow: none;\n
}\n
\n
::selection {\n
background: #b3d4fc;\n
text-shadow: none;\n
}\n
\n
html {\n
padding: 30px 10px;\n
font-size: 20px;\n
line-height: 1.4;\n
color: #737373;\n
background: #f0f0f0;\n
-webkit-text-size-adjust: 100%;\n
-ms-text-size-adjust: 100%;\n
}\n
\n
html,\n
input {\n
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n
}\n
\n
body {\n
max-width: 500px;\n
_width: 500px;\n
padding: 30px 20px 50px;\n
border: 1px solid #b3b3b3;\n
border-radius: 4px;\n
margin: 0 auto;\n
box-shadow: 0 1px 10px #a7a7a7, inset 0 1px 0 #fff;\n
background: #fcfcfc;\n
}\n
\n
h1 {\n
margin: 0 10px;\n
font-size: 50px;\n
text-align: center;\n
}\n
\n
h1 span {\n
color: #bbb;\n
}\n
\n
h3 {\n
margin: 1.5em 0 0.5em;\n
}\n
\n
p {\n
margin: 1em 0;\n
}\n
\n
ul {\n
padding: 0 0 0 40px;\n
margin: 1em 0;\n
}\n
\n
.container {\n
max-width: 380px;\n
_width: 380px;\n
margin: 0 auto;\n
}\n
\n
/* google search */\n
\n
#goog-fixurl ul {\n
list-style: none;\n
padding: 0;\n
margin: 0;\n
}\n
\n
#goog-fixurl form {\n
margin: 0;\n
}\n
\n
#goog-wm-qt,\n
#goog-wm-sb {\n
border: 1px solid #bbb;\n
font-size: 16px;\n
line-height: normal;\n
vertical-align: top;\n
color: #444;\n
border-radius: 2px;\n
}\n
\n
#goog-wm-qt {\n
width: 220px;\n
height: 20px;\n
padding: 5px;\n
margin: 5px 10px 0 0;\n
box-shadow: inset 0 1px 1px #ccc;\n
}\n
\n
#goog-wm-sb {\n
display: inline-block;\n
height: 32px;\n
padding: 0 10px;\n
margin: 5px 0 0;\n
white-space: nowrap;\n
cursor: pointer;\n
background-color: #f5f5f5;\n
background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1);\n
background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1);\n
background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1);\n
background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1);\n
-webkit-appearance: none;\n
-moz-appearance: none;\n
appearance: none;\n
*overflow: visible;\n
*display: inline;\n
*zoom: 1;\n
}\n
\n
#goog-wm-sb:hover,\n
#goog-wm-sb:focus {\n
border-color: #aaa;\n
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);\n
background-color: #f8f8f8;\n
}\n
\n
#goog-wm-qt:hover,\n
#goog-wm-qt:focus {\n
border-color: #105cb6;\n
outline: 0;\n
color: #222;\n
}\n
\n
input::-moz-focus-inner {\n
padding: 0;\n
border: 0;\n
}\n
</style>\n
</head>\n
<body>\n
<div class="container">\n
<h1>Not found <span>:(</span></h1>\n
<p>Sorry, but the page you were trying to view does not exist.</p>\n
<p>It looks like this was the result of either:</p>\n
<ul>\n
<li>a mistyped address</li>\n
<li>an out-of-date link</li>\n
</ul>\n
<script>\n
var GOOG_FIXURL_LANG = (navigator.language || \'\').slice(0,2),GOOG_FIXURL_SITE = location.host;\n
</script>\n
<script src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js"></script>\n
</div>\n
</body>\n
</html>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>3529</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>404.html</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>code-snippets</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>code-snippets</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273061.95</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>1-dimension-values.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
labels: [\'A\', \'B\', \'C\'],\n
series: [[10, 8, 14]]\n
};\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>67</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>1-dimension-values.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273058.4</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>2-dimensions-values.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
labels: [\'A\', \'B\', \'C\'],\n
series: [[\n
{x: undefined, y: 10},\n
{x: undefined, y: 8},\n
{x: undefined, y: 14}\n
]]\n
};\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>140</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>2-dimensions-values.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273060.45</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>aspect-ratio-container.html</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<div class="ct-chart ct-perfect-fourth"></div>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>46</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>aspect-ratio-container.html</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273062.35</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>colour-override-line-chart.css</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/css</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>.ct-series-a .ct-line,\n
.ct-series-a .ct-point {\n
stroke: blue;\n
}\n
\n
.ct-series-b .ct-line,\n
.ct-series-b .ct-point {\n
stroke: green;\n
}\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>134</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>colour-override-line-chart.css</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273059.25</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>custom-include.scss</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>@import "_my-chartist-settings.scss";\n
@import "chartist/dist/scss/chartist.scss";\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>82</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>custom-include.scss</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273056.34</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>custom-style-bar-chart.css</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/css</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>/* Use this selector to override bar styles on bar charts. Bars are also strokes so you have maximum freedom in styling them. */\n
.ct-series-a .ct-bar {\n
/* Colour of your bars */\n
stroke: red;\n
/* The width of your bars */\n
stroke-width: 20px;\n
/* Yes! Dashed bars! */\n
stroke-dasharray: 20px;\n
/* Maybe you like round corners on your bars? */\n
stroke-linecap: round;\n
}\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>378</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>custom-style-bar-chart.css</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273061.2</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>custom-style-donut-chart.css</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/css</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>/* Donut charts get built from Pie charts but with a fundamentally difference in the drawing approach. The donut is drawn using arc strokes for maximum freedom in styling */\n
.ct-series-a .ct-slice-donut {\n
/* give the donut slice a custom colour */\n
stroke: blue;\n
/* customize stroke width of the donut slices in CSS. Note that this property is already set in JavaScript and label positioning also relies on this. In the right situation though it can be very useful to style this property. You need to use !important to override the style attribute */\n
stroke-width: 5px !important;\n
/* create modern looking rounded donut charts */\n
stroke-linecap: round;\n
}\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>666</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>custom-style-donut-chart.css</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273060.82</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>custom-style-line-chart.css</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/css</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>/* Use this selector to override the line style on a given series */\n
.ct-series-a .ct-line {\n
/* Set the colour of this series line */\n
stroke: red;\n
/* Control the thikness of your lines */\n
stroke-width: 5px;\n
/* Create a dashed line with a pattern */\n
stroke-dasharray: 10px 20px;\n
}\n
\n
/* This selector overrides the points style on line charts. Points on line charts are actually just very short strokes. This allows you to customize even the point size in CSS */\n
.ct-series-a .ct-point {\n
/* Colour of your points */\n
stroke: red;\n
/* Size of your points */\n
stroke-width: 20px;\n
/* Make your points appear as squares */\n
stroke-linecap: square;\n
}\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>663</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>custom-style-line-chart.css</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273057.99</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>custom-style-pie-chart.css</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/css</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>/* Pie charts consist of solid slices where you can use this selector to override the default style. */\n
.ct-series-a .ct-slice-pie {\n
/* fill of the pie slieces */\n
fill: hsl(120, 40%, 60%);\n
/* give your pie slices some outline or separate them visually by using the background color here */\n
stroke: white;\n
/* outline width */\n
stroke-width: 4px;\n
}\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>358</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>custom-style-pie-chart.css</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273062.75</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>plugin-example.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>function ctPointLabels(options) {\n
return function ctPointLabels(chart) {\n
var defaultOptions = {\n
labelClass: \'ct-label\',\n
labelOffset: {\n
x: 0,\n
y: -10\n
},\n
textAnchor: \'middle\'\n
};\n
\n
options = Chartist.extend({}, defaultOptions, options);\n
\n
if(chart instanceof Chartist.Line) {\n
chart.on(\'draw\', function(data) {\n
if(data.type === \'point\') {\n
data.group.elem(\'text\', {\n
x: data.x + options.labelOffset.x,\n
y: data.y + options.labelOffset.y,\n
style: \'text-anchor: \' + options.textAnchor\n
}, options.labelClass).text(data.value);\n
}\n
});\n
}\n
}\n
}\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>673</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>plugin-example.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273058.81</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>plugin-include.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4, 5, 6, 7],\n
series: [\n
[1, 5, 3, 4, 6, 2, 3],\n
[2, 4, 2, 5, 4, 3, 6]\n
]\n
}, {\n
plugins: [\n
ctPointLabels({\n
textAnchor: \'middle\'\n
})\n
]\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>227</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>plugin-include.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273057.25</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>plugin-signature.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>function myChartistPlugin(chart) {\n
\n
}\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>38</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>plugin-signature.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273061.58</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>simple-start-aspect-ratio-chart.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
// A labels array that can contain any sort of values\n
labels: [\'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\'],\n
// Our series array that contains series objects or in this case series data arrays\n
series: [\n
[5, 2, 4, 2, 0]\n
]\n
};\n
\n
// Create a new line chart object where as first parameter we pass in a selector\n
// that is resolving to our chart container element. The Second parameter\n
// is the actual data object.\n
new Chartist.Line(\'.ct-chart\', data);</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>464</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>simple-start-aspect-ratio-chart.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273056.76</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>simple-start-cdn.html</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<!DOCTYPE html>\n
<html>\n
<head>\n
<link rel="stylesheet" href="//cdn.jsdelivr.net/chartist.js/latest/chartist.min.css">\n
<script src="//cdn.jsdelivr.net/chartist.js/latest/chartist.min.js"></script>\n
</head>\n
</html>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>221</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>simple-start-cdn.html</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273060.05</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>simple-start-fixed-chart.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
// A labels array that can contain any sort of values\n
labels: [\'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\'],\n
// Our series array that contains series objects or in this case series data arrays\n
series: [\n
[5, 2, 4, 2, 0]\n
]\n
};\n
\n
// As options we currently only set a static size of 300x200 px. We can also omit this and use aspect ratio containers\n
// as you saw in the previous example\n
var options = {\n
width: 300,\n
height: 200\n
};\n
\n
// Create a new line chart object where as first parameter we pass in a selector\n
// that is resolving to our chart container element. The Second parameter\n
// is the actual data object. As a third parameter we pass in our custom options.\n
new Chartist.Bar(\'.ct-chart\', data, options);</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>729</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>simple-start-fixed-chart.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273057.62</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>simple-start.html</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<!DOCTYPE html>\n
<html>\n
<head>\n
<title>My first Chartist Tests</title>\n
<link rel="stylesheet"\n
href="bower_components/chartist/dist/chartist.min.css">\n
</head>\n
<body>\n
<!-- Site content goes here !-->\n
<script src="bower_components/chartist/dist/chartist.min.js"></script>\n
</body>\n
</html>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>317</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>simple-start.html</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273059.63</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>two-charts.html</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<div class="ct-chart ct-golden-section" id="chart1"></div>\n
<div class="ct-chart ct-golden-section" id="chart2"></div>\n
\n
<script>\n
// Initialize a Line chart in the container with the ID chart1\n
new Chartist.Line(\'#chart1\', {\n
labels: [1, 2, 3, 4],\n
series: [[100, 120, 180, 200]]\n
});\n
\n
// Initialize a Line chart in the container with the ID chart2\n
new Chartist.Bar(\'#chart2\', {\n
labels: [1, 2, 3, 4],\n
series: [[5, 2, 8, 3]]\n
});\n
</script>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>460</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>two-charts.html</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>data</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>data</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>pages</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>pages</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272980.99</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>examples.yml</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
sections:\n
- title: Line chart examples\n
level: 3\n
items:\n
- type: live-example\n
data:\n
title: Simple line chart\n
level: 4\n
id: simple-line-chart\n
classes: ct-golden-section\n
intro: An example of a simple line chart with three series. You can edit this example in realtime.\n
- type: live-example\n
data:\n
title: Holes in data\n
level: 4\n
id: example-line-data-holes\n
classes: ct-golden-section\n
intro: >\n
Chartist does not freak out if you have holes in your data. Instead it will render the lines in\n
segments and handles these holes gracefully. This also allows you to introduce a line at a later\n
point or to terminate the series before others.\n
- type: live-example\n
data:\n
title: Only whole numbers\n
level: 4\n
id: example-line-only-integer\n
classes: ct-golden-section\n
intro: >\n
You\'re dealing with series that contain only whole numbers? It looks weird that Chartist is creating\n
a scale that contains fractions even if your data does not? No problem! Tell the Chartist guy to\n
only use integers and he\'ll do the math!\n
- type: live-example\n
data:\n
title: Line scatter diagram with responsive settings\n
level: 4\n
id: line-scatter-random\n
classes: ct-golden-section\n
intro: >\n
This advanced example uses a line chart to draw a scatter diagram. The data object is created\n
with a functional style random mechanism. There is a mobile first responsive configuration using\n
the responsive options to show less labels on small screens.\n
- type: live-example\n
data:\n
title: Line chart with tooltips\n
level: 4\n
id: behavior-with-jquery\n
classes: ct-golden-section\n
intro: >\n
Adding behavior to your chart with JavaScript is a breeze and is just like any other DOM manipulation\n
you do to your site. This is just one of many benefits of using inline-SVG and provides you with the\n
freedom you need in order to create exactly the experience you\'re looking for.\n
- type: live-example\n
data:\n
title: Line chart with area\n
level: 4\n
id: example-line-area\n
classes: ct-golden-section\n
intro: >\n
This chart uses the showArea option to draw line, dots but also an area shape. Use the low option to\n
specify a fixed lower bound that will make the area expand. You can also use the areaBase property\n
to specify a data value that will be used to determine the area shape base position (this is 0 by default).\n
- type: live-example\n
data:\n
title: Bi-polar Line chart with area only\n
level: 4\n
id: example-bipolar-line-area\n
classes: ct-golden-section\n
intro: >\n
You can also only draw the area shapes of the line chart. Area shapes will always be constructed around\n
their areaBase (that can be configured in the options) which also allows you to draw nice bi-polar\n
areas.\n
- type: live-example\n
data:\n
title: Using events to replace graphics\n
level: 4\n
id: example-line-modify-drawing\n
classes: ct-golden-section\n
intro: >\n
Chartist has fixed graphical representations that are chosen because of their flexibility and to\n
provide a high level of separation of the concerns. However, sometimes you probably would like to use\n
different shapes or even images for your charts. One way to achieve this is by using the draw events and replace\n
or add custom SVG shapes.\n
- type: live-example\n
data:\n
title: Advanced SMIL Animations\n
level: 4\n
id: example-line-svg-animation\n
classes: ct-golden-section\n
intro: >\n
Chartist provides a simple API to animate the elements on the Chart using SMIL. Usually you can achieve most\n
animation with CSS3 animations but in some cases you\'d like to animate SVG properties that are not available\n
in CSS.\n
- type: live-example\n
data:\n
title: SVG Path animation\n
level: 4\n
id: example-line-path-animation\n
classes: ct-golden-section\n
intro: >\n
Path animation is made easy with the <a href="api-documentation.html#module-chartistsvgpath">SVG Path API</a>.\n
The API allows you to modify complex SVG paths and transform them for different animation morphing states.\n
- type: live-example\n
data:\n
title: Line Interpolation / Smoothing\n
level: 4\n
id: example-line-simple-smoothing\n
classes: ct-golden-section\n
intro: >\n
By default Chartist uses a cardinal spline algorithm to smooth the lines. However, like all other\n
things in Chartist, this can be customized easily! Check out\n
<a href="api-documentation.html#module-chartistinterpolation">the API Documentation</a> for more\n
smoothing options.\n
- type: live-example\n
data:\n
title: Series Overrides\n
level: 4\n
id: example-line-series-override\n
classes: ct-golden-section\n
intro: >\n
By naming your series using the series object notation with a name property, you can enable the\n
individual configuration of series specific settings. <code>showLine</code>, <code>showPoint</code>,\n
<code>showArea</code> and even the smoothing function can be overriden per series! And guess what?\n
You can even override those series settings in the responsive configuration! Check the example code\n
for more details.\n
- title: Bar chart examples\n
level: 3\n
items:\n
- type: live-example\n
data:\n
title: Bi-polar bar chart\n
level: 4\n
id: bi-polar-bar-interpolated\n
classes: ct-golden-section\n
intro: >\n
A bi-polar bar chart with a range limit set with low and high. There is also an interpolation\n
function used to skip every odd grid line / label.\n
- type: live-example\n
data:\n
title: Overlapping bars on mobile\n
level: 4\n
id: overlapping-bars\n
classes: ct-golden-section\n
intro: >\n
This example makes use of label interpolation and the seriesBarDistance property that allows you\n
to make bars overlap over each other. This then can be used to use the available space on mobile better.\n
Resize your browser to see the effect of the responsive configuration.\n
- type: live-example\n
data:\n
title: Add peak circles using the draw events\n
level: 4\n
id: example-bar-with-circle-modify-drawing\n
classes: ct-golden-section\n
intro: >\n
With the help of draw events we are able to add a custom SVG shape to the peak of our bars.\n
- type: live-example\n
data:\n
title: Multi-line labels\n
level: 4\n
id: example-multiline-bar\n
classes: ct-golden-section\n
intro: >\n
Chartist will figure out if your browser supports foreignObject and it will use them to create labels\n
that re based on regular HTML text elements. Multi-line and regular CSS styles are just two of many\n
benefits while using foreignObjects!\n
- type: live-example\n
data:\n
title: Stacked bar chart\n
level: 4\n
id: stacked-bar\n
classes: ct-golden-section\n
intro: >\n
You can also set your bar chart to stack the series bars on top of each other easily by using the\n
<code>stackBars</code> property in your configuration.\n
- type: live-example\n
data:\n
title: Horizontal bar chart\n
level: 4\n
id: example-bar-horizontal\n
classes: ct-golden-section\n
intro: >\n
Guess what! Creating horizontal bar charts is as simple as it can get. There\'s no new chart type\n
you need to learn, just passing an additional option is enough.\n
- type: live-example\n
data:\n
title: Extreme responsive configuration\n
level: 4\n
id: example-bar-extreme-responsive\n
classes: ct-golden-section\n
intro: >\n
As all settings of a chart can be customized with the responsive configuration override mechanism of\n
Chartist, you can create a chart that adopts to every media condition!\n
- type: live-example\n
data:\n
title: Distributed series\n
level: 4\n
id: example-bar-distributed-series\n
classes: ct-golden-section\n
intro: >\n
Sometime it\'s desired to have bar charts that show one bar per series distributed along the x-axis. If\n
this option is enabled, you need to make sure that you pass a single series array to Chartist that\n
contains the series values. In this example you can see T-shirt sales of a store categorized by size.\n
- type: live-example\n
data:\n
title: Label placement\n
level: 4\n
id: example-bar-label-position\n
classes: ct-golden-section\n
intro: >\n
You can change the position of the labels on line and bar charts easily by using the <code>position</code>\n
option inside of the axis configuration.\n
\n
- title: Pie chart examples\n
level: 3\n
items:\n
- type: live-example\n
data:\n
title: Simple pie chart\n
level: 4\n
id: simple-pie-chart\n
classes: ct-golden-section ct-negative-labels\n
intro: A very simple pie chart with label interpolation to show percentage instead of the actual data series value.\n
- type: live-example\n
data:\n
title: Pie chart with custom labels\n
level: 4\n
id: pie-with-custom-labels\n
classes: ct-golden-section\n
intro: >\n
This pie chart is configured with custom labels specified in the data object. On desktop we use the labelOffset\n
property to offset the labels from the center. Also labelDirection can be used to control the direction\n
in which the labels are expanding.\n
\n
- type: live-example\n
data:\n
title: Gauge chart\n
level: 4\n
id: simple-gauge-chart\n
classes: ct-golden-section ct-negative-labels\n
intro: This pie chart uses donut, startAngle and total to draw a gauge chart.\n
\n
- type: live-example\n
data:\n
title: Animating a Donut with Svg.animate\n
level: 4\n
id: example-donut-animation\n
classes: ct-golden-section\n
intro: >\n
Although it\'d be also possible to achieve this animation with CSS, with some minor suboptimal\n
things, here\'s an example of how to animate donut charts using Chartist.Svg.animate and SMIL.\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>11680</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>examples.yml</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272977.51</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>getting-started.yml</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
sections:\n
- title: Download and set-up\n
level: 3\n
items:\n
- type: sub-section\n
data:\n
title: Bower\n
level: 4\n
items:\n
- type: text\n
data:\n
text: \'The easiest way to get started with Chartist.js is by using <a href="http://bower.io/" target="_blank">bower</a>:\'\n
\n
- type: code\n
data:\n
lang: bash\n
code: bower install chartist --save\n
\n
- type: text\n
data:\n
text: >\n
The bower package contains the JavaScript library, CSS as well as the Sass (SCSS) files.\n
You can then integrate the desired dependencies in your project and start using them\n
immediately.\n
\n
- type: sub-section\n
data:\n
title: One, two, three, CSS!\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
The quickest way to get things up and running is by using the Chartist.js CSS files.\n
The CSS is compiled from the Sass files with the default class names which are also\n
configured in the JavaScript library. You can then override the default styles or\n
modify the CSS file, however, for customization it\'s recommended to use the Sass\n
version of Chartist.js.\n
\n
- type: code-snippet\n
data:\n
id: simple-start\n
lang: html\n
\n
- type: heading\n
data:\n
level: 5\n
title: Use a CDN alternatively\n
\n
- type: text\n
data:\n
text: >\n
If you\'d like to get started even faster you can also use a CDN to load Chartist.js. The\n
awesome people at jsDelivr provide a fantastic job in hosting libraries from over 42 POP Locations\n
around the world! They always update Chartist.js to the latest version immediately and\n
they do all that for free! Check out the <a href="http://www.jsdelivr.com/" target="_blank">jsDeliver website</a>\n
for more information.\n
\n
- type: code-snippet\n
data:\n
id: simple-start-cdn\n
lang: html\n
button: Show CDN Code\n
\n
- type: sub-section\n
data:\n
title: The Sass way\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
If you like to customize your charts you can either remove the CSS fully and write your\n
own selectors using the Chartist.js Sass mixins or you just use the Chartist.js Sass\n
settings file to customize the look and feel of your charts.\n
\n
- type: text\n
data:\n
text: >\n
Styling inline SVG with CSS is a breeze and you should also consider writing your own\n
selectors for your charts and using the Sass mixins. You can read more about using the\n
Sass mixins in the <a href="#advanced">advanced</a> section.\n
\n
- type: text\n
data:\n
text: >\n
To customize the style of your charts using the Sass settings file you should copy the\n
settings file to your own Sass folder.\n
\n
- type: code\n
data:\n
lang: bash\n
code: cp bower_components/chartist/dist/scss/settings/_chartist-settings.scss styles\n
\n
- type: text\n
data:\n
text: >\n
Then just import your copy of the settings file before you import the chartist.scss\n
file and change the settings in your copy as desired.\n
\n
- type: code-snippet\n
data:\n
id: custom-include\n
lang: scss\n
\n
- type: heading\n
data:\n
level: 5\n
title: Default settings\n
\n
- type: text\n
data:\n
text: >\n
The settings file contains all relevant variables used in the mixins and while\n
generating the default classes. You can simply change the settings for styling your\n
own charts. If you want to override certain settings based on state or pseeudo\n
selectors, you can use the individual mixins to only override specific styles.\n
\n
- type: text\n
data:\n
text: >\n
Take a look at the settings to see how to customize the style of the defalt Chartist.js\n
class selectors.\n
\n
- type: code-snippet\n
data:\n
id: default-sass-settings\n
button: Show default settings\n
path: src/styles/settings/_chartist-settings.scss\n
lang: scss\n
\n
- title: Create your first chart\n
level: 3\n
items:\n
- type: text\n
data:\n
text: >\n
In this section you\'ll go through a simple example of how to use Chartist.js in your project.\n
You\'ll learn the default stages you go through when creating and customizing a basic line chart.\n
If you\'d like to see more in depth and advanced examples you should check out\n
the <a href="#advanced">advanced</a> section or the <a href="examples.html">examples page</a>.\n
\n
- type: sub-section\n
data:\n
title: As simple as it can get\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
Chartist provides you a very simple API to get started, however, while trying to follow the\n
best practice of relying on standards and clear separation of concerns it sometimes needs a small mind\n
shift in order to understand how things are meant to work within Chartist. Instead of specifying\n
your colors, line width and other style related things in the JavaScript API, you\'ll need to use\n
CSS in order to control your appearance.\n
\n
- type: sub-section\n
data:\n
title: Creating a chart using aspect ratios\n
level: 5\n
items:\n
- type: text\n
data:\n
text: >\n
Because of the nature of responsive design it\'s important to understand that blocks in design like images,\n
videos and similar content need to be able to scale and adapt to the media. In order for an element to scale, you\n
need to rely on a certain aspect ratios (like 4:3, 3:2, 16:9 etc.) rather than specifying a fixed width and height.\n
\n
- type: text\n
data:\n
text: >\n
To designers this Idea is absolutely not new, but to developers this might be at first. However, when a designer talks\n
to a developer about the images being 320x240 on this page and 300x200 on that element, he actually just\n
translated his idea of using 4:3 and 3:2 images into pixels.\n
\n
- type: text\n
data:\n
text: >\n
With Chartist you can specify those ratios directly on containers without the need to calculate any fixed dimensions.\n
In order to create a chart that is using the aspect ratio of a golden section you can just add the class .ct-golden-section\n
to your container where you initialize Chartist.\n
\n
- type: text\n
data:\n
text: >\n
Here is a list of all available container ratios (If using the Sass version of Chartist you can also easily add others):\n
\n
- type: table\n
data:\n
id: container-aspect-ratio-classes\n
button: Show available aspect ratios\n
header:\n
- Container class\n
- Ratio\n
rows:\n
-\n
- .ct-square\n
- \'1\'\n
-\n
- .ct-minor-second\n
- \'15:16\'\n
-\n
- .ct-major-second\n
- \'8:9\'\n
-\n
- .ct-minor-third\n
- \'5:6\'\n
-\n
- .ct-major-third\n
- \'4:5\'\n
-\n
- .ct-perfect-fourth\n
- \'3:4\'\n
-\n
- .ct-perfect-fifth\n
- \'2:3\'\n
-\n
- .ct-minor-sixth\n
- \'5:8\'\n
-\n
- .ct-golden-section\n
- \'1:1.618\'\n
-\n
- .ct-major-sixth\n
- \'3:5\'\n
-\n
- .ct-minor-seventh\n
- \'9:16\'\n
-\n
- .ct-major-seventh\n
- \'8:15\'\n
-\n
- .ct-octave\n
- \'1:2\'\n
-\n
- .ct-major-tenth\n
- \'2:5\'\n
-\n
- .ct-major-eleventh\n
- \'3:8\'\n
-\n
- .ct-major-twelfth\n
- \'1:3\'\n
-\n
- .ct-double-octave\n
- \'1:4\'\n
\n
- type: text\n
data:\n
text: >\n
Use the following HTML code to specify a container with one of the above aspect ratio classes.\n
\n
- type: code\n
data:\n
code: \'<div class="ct-chart ct-perfect-fourth"></div>\'\n
lang: html\n
\n
- type: text\n
data:\n
text: >\n
When using a fixed aspect ratio container you can then simply initialize your chart without\n
specifying any width or height in the options.\n
\n
- type: code-snippet\n
data:\n
id: simple-start-aspect-ratio-chart\n
lang: js\n
\n
- type: sub-section\n
data:\n
title: Creating a chart with fixed dimensions\n
level: 5\n
items:\n
- type: text\n
data:\n
text: >\n
In order to create a simple line chart with fixed width and height you only need to have a\n
container element and initialize Chartist.js on it.\n
Give the container the class ct-chart so that it will get the default styles (if you don\'t\n
use your own classes).\n
\n
- type: code-snippet\n
data:\n
id: simple-start-fixed-chart\n
lang: js\n
\n
- type: sub-section\n
data:\n
title: More than one chart on my page?\n
level: 5\n
items:\n
- type: text\n
data:\n
text: >\n
The example above uses the chartist default class to select the element where the chart should\n
be created. This class is important for applying the right styles in the CSS of Chartist. If\n
you need to create individual charts on one page, you should use IDs to initialize them separately.\n
\n
- type: code-snippet\n
data:\n
id: two-charts\n
lang: html\n
\n
- type: sub-section\n
data:\n
title: The configuration of your chart\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
Chartist.js is built very flexible and almost everything within your charts can be configured.\n
In the default settings (that you can check in the <a href="api-documentation.html">API Documentation</a>)\n
you\'ll get some predefined defaults applied to your charts.\n
\n
- type: text\n
data:\n
text: >\n
You can always override the default settings of your charts by passing in a configuration\n
object at creation time.\n
\n
- type: example-chart\n
data:\n
id: simple-configuration-chart\n
classes: ct-golden-section\n
show-code-button: Show code and comments\n
\n
- type: sub-section\n
data:\n
title: Responsive sugar topping\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
Responsive web design is all based on\n
<a href="https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Media_queries" taget="_blank">media queries</a>\n
as you are probably already aware. Media queries are great and they help you to define media related\n
conditions that you can use to apply different styles for different media.\n
- type: text\n
data:\n
text: >\n
Sometimes it\'s also required to have different behavior on certain media and it\'s possible that\n
a specific component of your web site should behave in an other way on a small media than on a\n
large one. Luckily there is window.matchMedia in your browser that comes to the rescue. With\n
matchMedia it\'s possible to let your javascript react differently based on CSS3 media queries.\n
\n
- type: heading\n
data:\n
level: 5\n
title: Responsive setting overrides\n
\n
- type: text\n
data:\n
text: >\n
Configuring different chart behavior for various media is made simple with an override\n
mechanism. The priority of the override mechanism is based on order of specification of\n
the matching media queries.\n
\n
- type: text\n
data:\n
text: >\n
The following example uses different label interpolations (to save some space) on small media\n
as well as different spacing between the bars of the bar chart series. Resize your browser window\n
to see the effect.\n
\n
- type: example-chart\n
data:\n
id: example-simple-bar\n
classes: ct-golden-section\n
type: Bar\n
show-code-button: Show code and comments\n
\n
- type: hint\n
data:\n
title: Cross-browser support\n
classes: hint-cross-browser\n
text: >\n
For IE9 you need to use a matchMedia polyfill. You should take a look at\n
<a href="https://github.com/paulirish/matchMedia.js/">Paul Irish\'s matchMedia polyfill</a>. Make\n
sure you include matchMedia.js as well as matchMedia.addListener.js as always both are needed\n
to polyfill the full specification of window.matchMedia.\n
\n
- type: sub-section\n
data:\n
title: Different configuration for different series\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
Chartist also allows you to add specific configuration overrides for your series. This is useful\n
if you want to combine different looks for your series on the same chart.\n
- type: text\n
data:\n
text: >\n
You can even take this one step further by again overriding your series configuration in some\n
responsive settings overrides. This sounds complicated but it actually is very simple. Check the\n
example code with inline comments below to see how easy it is.\n
- type: example-chart\n
data:\n
id: example-line-series-override\n
classes: ct-golden-section\n
show-code-button: Show code\n
\n
- title: Styling your chart\n
level: 3\n
items:\n
- type: text\n
data:\n
text: >\n
You should always use the power of CSS to make your data pop into your visitors eyes. I know\n
I’m telling this over and over but it’s all about a clean separation of concerns. In this chapter\n
you’ll find some useful information on how to style your charts with CSS.\n
- type: sub-section\n
data:\n
title: Customizing the default CSS\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
Chartist comes with a highly customizable Sass file that allows you to customize all sorts of\n
appearance relevant things on your charts including colours used for series, line styles,\n
thickness and other properties. If you have the advantage of having a Sass build process at\n
your disposal, I highly recommend you to use the Sass version of Chartist instead of the\n
already prebuilt CSS. For more information on how to use the Sass version\n
please <a href="#the-sass-way">check out the Sass way of Chartist</a>.\n
\n
- type: text\n
data:\n
text: >\n
Chartist generates predefined classes for series by default. Those class names are alpha\n
numerated and always start with <code>ct-series-a</code>, where the letter a will be iterated\n
with each series count (a, b, c, d etc.). To address a specific series in styling, you’ll\n
need to create some styles for the corresponding series class name.\n
\n
- type: text\n
data:\n
text: >\n
Here is a list of selectors from the different chart types with some comments to explain what\n
properties can be used to influence the visual style of your charts.\n
\n
- type: sub-section\n
data:\n
title: Line chart\n
level: 5\n
items:\n
- type: code-snippet\n
data:\n
id: custom-style-line-chart\n
lang: css\n
\n
- type: sub-section\n
data:\n
title: Bar chart\n
level: 5\n
items:\n
- type: code-snippet\n
data:\n
id: custom-style-bar-chart\n
lang: css\n
\n
- type: sub-section\n
data:\n
title: Pie chart\n
level: 5\n
items:\n
- type: code-snippet\n
data:\n
id: custom-style-pie-chart\n
lang: css\n
\n
- type: sub-section\n
data:\n
title: Donut chart\n
level: 5\n
items:\n
- type: code-snippet\n
data:\n
id: custom-style-donut-chart\n
lang: css\n
\n
- type: sub-section\n
data:\n
title: Colour up your charts\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
Colour is a core attribute of appearance and as you already know, we believe in strong\n
separation of concerns in web development. Therefore, Chartist does not include any options\n
within the JavaScript API to control colour of your charts.\n
- type: text\n
data:\n
text: >\n
This might first seem very inconvenient, but you’ll agree that it’s the right choice once you\n
need to change some colours in your web project where you’d need to go through some nasty\n
find-and-replace adventures in your JavaScript files to fix some colour mismatches.\n
- type: text\n
data:\n
text: >\n
The prebuilt CSS version of Chartist ships with 15 default colours that will be applied to your\n
chart series elements. If you just want to override some of these colours I recommend you use\n
the information\n
found in <a href="#customizing-the-default-css">how to customize the default CSS of Chartist</a>.\n
- type: text\n
data:\n
text: >\n
The following example illustrates how you’d override the colours of your line chart line and\n
point elements, within the two first sieries (ct-series-a and ct-series-b).\n
- type: code-snippet\n
data:\n
id: colour-override-line-chart\n
lang: css\n
\n
- type: text\n
data:\n
text: >\n
Note that on SVG elements there are two CSS properties for colourization. For strokes you\n
should use the <code>stroke</code> property and assign a CSS colour value. For fill areas you\n
can use the <code>fill</code> property. More information can be found in the above topics.\n
\n
- type: sub-section\n
data:\n
title: Dynamic colouring\n
level: 5\n
items:\n
- type: text\n
data:\n
text: >\n
Often, predefined classes which can be used to colour your charts are fine but sometimes\n
CSS is not flexible enough to control all facets of dynamic appearance. While we could\n
build semantic classes like level1, level2, level3 and so on, we could then assign a\n
class dynamically, but still we’d need to rely on discrete values defined in CSS. One\n
lack of CSS today is that it does not incorporate dynamic values like mouse position\n
or placeholder variables that can be linked to JavaScript.\n
- type: text\n
data:\n
text: >\n
So, how do you go about your heat map chart or dynamically calculated line chart\n
strokes based on your data?\n
- type: text\n
data:\n
text: >\n
Chartist offers you a powerful tool for such kind of chart manipulations. The intrusive\n
event pipeline of Chartist allows you to hook into a <code>draw</code> event that allows\n
you to modify all your charts elements on the go while they’re drawn.\n
- type: text\n
data:\n
text: >\n
The following live code example shows you how to make a dynamically coloured chart\n
based on some data. Please go ahead and play around with the example, that’s what live\n
coding is for! For more information on how to use the <code>Chartist.Svg</code> API,\n
please <a href="http://gionkunz.github.io/chartist-js/api-documentation.html#module-chartistsvg">check\n
the API documentation</a>.\n
- type: live-example\n
data:\n
title: Using draw events to modify chart elements\n
level: 5\n
id: example-dynamic-colours\n
classes: ct-golden-section\n
intro: >\n
By using the intrusive event pipeline of Chartist, you can easily change the behaviour of your\n
charts in a consistent and convenient way.\n
\n
- title: Advanced\n
level: 3\n
items:\n
- type: text\n
data:\n
text: >\n
In the following chapter you\'ll find some advanced usage examples that might be of interesst for you.\n
Chartist is very flexible because it relies on standard technology. This also means that you will need\n
to implement certain things yourself. This topic should cover some of these use-cases and give you some\n
basic idea why and how to implement certain functionality.\n
\n
- type: sub-section\n
data:\n
title: Adding behaviour to your charts\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
This example shows you how you can easily build a tool tip on top of Chartist using jQuery and some\n
basic styling. It makes use of the ct-series-name and ct-value custom attributes that are present\n
on all SVG elements generated by Chartist.\n
- type: text\n
data:\n
text: >\n
We actually do a few things here that would go against a proper style guide (like animating with\n
JavaScript and changing styles instead of switching classes etc.), but this example is only for\n
illustrating how easy behavior could be attached to Chartist.\n
\n
- type: example-chart\n
data:\n
id: behavior-with-jquery\n
classes: ct-golden-section\n
show-code-button: Show code\n
\n
- type: sub-section\n
data:\n
title: Animations using Chartist.Svg\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
Usually we recommend using CSS for animations as it\'s closer to a clean separation of concerns.\n
However, sometimes you would want to animate SVG properties that are not available in CSS to animate.\n
For this purpose we have added a simple but powerful animation API that allows you to create SMIL\n
animations in a more convenient way.\n
- type: text\n
data:\n
text: >\n
In combination with the draw events of Chartist the animations are a very powerful and\n
flexible tool. You can intercept almost any step in chartist and if there is an SVG element\n
involved you can animate it using\n
<a href="api-documentation.html#chartistsvg-function-animate">Chartist.Svg.animate</a>.\n
- type: text\n
data:\n
text: >\n
The following simple example shows you how to created a delayed fade in effect for the a scatter chart.\n
You can also edit the example to play around with the settings.\n
\n
- type: live-example\n
data:\n
title: Some SVG Animations can only be done with SMIL\n
level: 5\n
id: example-simple-svg-animation\n
classes: ct-golden-section\n
intro: >\n
Edit this example to figure out how to tweak animations. The force is strong in you young padawan!\n
\n
- type: sub-section\n
data:\n
title: Switching axis type\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
The default configuration of the line chart is that it will use a step based X-Axis and an\n
automatic linear scale for the Y-Axis. This is all happening under the hood of Chartist and\n
already satisfies a lot of use-cases.\n
- type: text\n
data:\n
text: >\n
Sometimes though, it\'s not enough to have a fixed step chart and you\'d need something a bit\n
more complex. Something that allows you to plot those values along the X- and Y-Axis, instead\n
of just the Y-Axis. Sometimes, you\'d also want to specify the ticks on your chart manually\n
rather than having them auto calculated from Chartist.\n
- type: text\n
data:\n
text: >\n
Of course Chartist wouldn\'t let you down with all those ideas you have in mind on how to\n
visualize your data!\n
\n
- type: sub-section\n
data:\n
title: A line chart is only 1-dimensional?!\n
level: 5\n
items:\n
- type: text\n
data:\n
text: >\n
By default, Chartist uses <code>Chartist.StepAxis</code> for the X-Axis and <code>Chartist.AutoScaleAxis</code>\n
for the Y-Axis. Please read the <a href="api-documentation.html">API documentation</a>\n
if you\'d like to get more details, or available options on axis configuration.\n
- type: text\n
data:\n
text: >\n
The step based axis will not use any value for projection but rather rely on the index\n
of the given value to determine the position. This is fine for discrete steps of one\n
dimensional data, like we know it from regular Chartist charts:\n
- type: code-snippet\n
data:\n
id: 1-dimension-values\n
lang: js\n
- type: text\n
data:\n
text: >\n
What really happens with such one dimensional series data under the hood is that it will\n
be transformed into two dimensional data like so:\n
- type: code-snippet\n
data:\n
id: 2-dimensions-values\n
lang: js\n
- type: text\n
data:\n
text: >\n
You can see that Chartist will automatically convert one dimensional data into two\n
dimensional values where the previous value is assigned to <code>y</code> and <code>x</code> will be set to\n
<code>undefined</code>. As the default axis for projecting the <code>x</code> value\n
is a <code>Chartist.StepAxis</code> that relies on the value index rather than the\n
value, this is perfectly fine for the default setup.\n
\n
\n
- type: sub-section\n
data:\n
title: Creating an XY-plot chart\n
level: 5\n
items:\n
- type: text\n
data:\n
text: >\n
In order to plot on the X-Axis too, we\'d need to switch the standard axis type\n
<code>Chartist.StepAxis</code> to something more continuous. Let\'s create a full fledged auto\n
scale chart that scales both the Y- and X-Axis automatically using\n
the <code>Chartist.AutoScaleAxis</code>!\n
- type: live-example\n
data:\n
title: Configure your axis type\n
level: 6\n
id: example-axis-auto\n
classes: ct-golden-section\n
intro: >\n
Note that we have just specified the X-Axis because the Y-Axis is configured to\n
<code>Chartist.AutoScaleAxis</code> by default.\n
- type: text\n
data:\n
text: >\n
A few things are different in this chart. Because\n
the <code>labels</code> array of our data is just used to be mapped as <code>ticks</code> option for the\n
default <code>Chartist.StepAxis</code> X-Axis, we can completely remove the labels from our data,\n
once we use a different axis than the step based one. Also you can see now from the\n
data series is that we are specifying 2-dimensional values directly.\n
\n
- type: sub-section\n
data:\n
title: Fixed stuff can be sweet too!\n
level: 5\n
items:\n
- type: text\n
data:\n
text: >\n
The following example shows how to create an axis with some fixed ticks.\n
The <code>Chartist.FixedScaleAxis</code> can be used to create a more rudimentary\n
continuous linear scale, where ticks can be fixed either with an array of values or\n
with a divisor. For the detailed options please check\n
the <a href="api-documentation.html">API documentation</a>.\n
- type: live-example\n
data:\n
title: Unleash your creativity...\n
level: 6\n
id: example-axis-fixed-and-auto\n
classes: ct-golden-section\n
intro: >\n
Let\'s say we\'d like to fix a few ticks on the Y-Axis on our chart as those are the only\n
ones we\'re interested in. The X-Axis should be continuous too, but let\'s make\n
that axis a <code>Chartist.AutoScaleAxis</code>.\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>35462</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>getting-started.yml</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272973.54</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>index.yml</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
gallery-examples:\n
- id: example-gallery-one\n
classes: ct-golden-section\n
- id: example-gallery-two\n
classes: ct-golden-section\n
- id: example-gallery-three\n
classes: ct-golden-section\n
- id: example-gallery-four\n
classes: ct-golden-section\n
\n
sections:\n
- title: Browser compatibility\n
level: 4\n
items:\n
- type: browser-support-table\n
data:\n
browsers:\n
- IE9\n
- IE10\n
- IE11\n
- Firefox 31\n
- Chrome 35\n
- Safari 7\n
- Safari 8\n
- Android 4.3\n
- Android 4.4\n
- iOS Safari 6\n
- iOS Safari 7\n
features:\n
- name: Overall Browser Support\n
browsers:\n
- name: IE9\n
status: supported\n
text: Supported\n
- name: IE10\n
status: supported\n
text: Supported\n
- name: IE11\n
status: supported\n
text: Supported\n
- name: Firefox 31\n
status: supported\n
text: Supported\n
- name: Chrome 35\n
status: supported\n
text: Supported\n
- name: Safari 7\n
status: supported\n
text: Supported\n
- name: Safari 8\n
status: supported\n
text: Supported\n
- name: Android 4.3\n
status: supported\n
text: Supported\n
- name: Android 4.4\n
status: supported\n
text: Supported\n
- name: iOS Safari 6\n
status: supported\n
text: Supported\n
- name: iOS Safari 7\n
status: supported\n
text: Supported\n
- name: Multi-line Labels (foreignObject)\n
browsers:\n
- name: IE9\n
status: not-supported\n
text: Not supported\n
- name: IE10\n
status: not-supported\n
text: Not supported\n
- name: IE11\n
status: not-supported\n
text: Not supported\n
- name: Firefox 31\n
status: supported\n
text: Supported\n
- name: Chrome 35\n
status: supported\n
text: Supported\n
- name: Safari 7\n
status: not-supported\n
text: Not supported\n
- name: Safari 8\n
status: supported\n
text: Supported\n
- name: Android 4.3\n
status: not-supported\n
text: Not supported\n
- name: Android 4.4\n
status: supported\n
text: Supported\n
- name: iOS Safari 6\n
status: not-supported\n
text: Not supported\n
- name: iOS Safari 7\n
status: supported\n
text: Supported\n
- name: Advanced CSS Animations\n
browsers:\n
- name: IE9\n
status: not-supported\n
text: Not supported\n
- name: IE10\n
status: not-supported\n
text: Not supported\n
- name: IE11\n
status: not-supported\n
text: Not supported\n
- name: Firefox 31\n
status: supported\n
text: Supported\n
- name: Chrome 35\n
status: supported\n
text: Supported\n
- name: Safari 7\n
status: not-supported\n
text: Not supported\n
- name: Safari 8\n
status: supported\n
text: Supported\n
- name: Android 4.3\n
status: not-supported\n
text: Not supported\n
- name: Android 4.4\n
status: supported\n
text: Supported\n
- name: iOS Safari 6\n
status: supported\n
text: Supported\n
- name: iOS Safari 7\n
status: supported\n
text: Supported\n
- name: SVG Animations with SMIL\n
browsers:\n
- name: IE9\n
status: not-supported\n
text: Not supported\n
- name: IE10\n
status: not-supported\n
text: Not supported\n
- name: IE11\n
status: not-supported\n
text: Not supported\n
- name: Firefox 31\n
status: supported\n
text: Supported\n
- name: Chrome 35\n
status: supported\n
text: Supported\n
- name: Safari 7\n
status: supported\n
text: Supported\n
- name: Safari 8\n
status: supported\n
text: Supported\n
- name: Android 4.3\n
status: supported\n
text: Supported\n
- name: Android 4.4\n
status: supported\n
text: Supported\n
- name: iOS Safari 6\n
status: supported\n
text: Supported\n
- name: iOS Safari 7\n
status: supported\n
text: Supported\n
- name: Reponsive Options Override\n
browsers:\n
- name: IE9*\n
status: supported\n
text: Supported with polyfill\n
- name: IE10\n
status: supported\n
text: Supported\n
- name: IE11\n
status: supported\n
text: Supported\n
- name: Firefox 31\n
status: supported\n
text: Supported\n
- name: Chrome 35\n
status: supported\n
text: Supported\n
- name: Safari 7\n
status: supported\n
text: Supported\n
- name: Safari 8\n
status: supported\n
text: Supported\n
- name: Android 4.3\n
status: supported\n
text: Supported\n
- name: Android 4.4\n
status: supported\n
text: Supported\n
- name: iOS Safari 6\n
status: supported\n
text: Supported\n
- name: iOS Safari 7\n
status: supported\n
text: Supported\n
\n
- title: Projects / Wrapper libraries\n
level: 4\n
items:\n
- type: text\n
data:\n
text: These projects and wrapper libraries are known to me right now that either use Chartist.js or wrap them into a library for usage in a framework. <strong>If you know other projects that use Chartist.js please let us know or make a <a href="https://github.com/gionkunz/chartist-js/blob/develop/site/data/pages/index.yml#L206" target="_blank">pull request for this file</a>.</strong>\n
- type: table\n
data:\n
id: chartist-projects-table\n
header:\n
- Project\n
- Type\n
rows:\n
-\n
- \'<a href="https://github.com/paradox41/ng-chartist.js" target="_blank">ng-chartist.js</a>\'\n
- Angular Directive\n
-\n
- \'<a href="https://github.com/gruberb/chartistAngularDirective" target="_blank">chartistAngularDirective.js</a>\'\n
- Angular Directive\n
-\n
- \'<a href="https://fraserxu.me/react-chartist" target="_blank">react-chartist</a>\'\n
- React Component\n
-\n
- \'<a href="https://github.com/mfpierre/meteor-chartist-js" target="_blank">meteor-chartist-js</a>\'\n
- Meteor Package\n
-\n
- \'<a href="https://github.com/soderlind/tablepress_chartist" target="_blank">tablepress_chartist</a>\'\n
- Wordpress / Tablepress Extension\n
-\n
- \'<a href="https://github.com/tylergaw/ember-cli-chartist" target="_blank">ember-cli-chartist</a>\'\n
- Ember Addon\n
-\n
- \'<a href="https://github.com/hatemalimam/ChartistJSF" target="_blank">ChartistJSF</a>\'\n
- Java Server Faces (Prime Faces) Component\n
- title: Chart CSS animation example\n
level: 3\n
items:\n
- type: example-chart\n
data:\n
id: example-line-months-interpolation\n
classes: ct-golden-section dark\n
- type: hint\n
data:\n
title: Cross-browser support\n
classes: hint-cross-browser\n
text: Note that CSS3 animations on SVG CSS attributes are not supported on all browsers and the appearance may vary.\n
side-notes:\n
- type: text\n
data:\n
text: Specifying the style of your chart in CSS is not only cleaner but also enables you to use awesome CSS animations and transitions to be applied to your SVG elements!\n
\n
- title: Crazy Animations with SMIL!\n
level: 3\n
items:\n
- type: example-chart\n
data:\n
id: example-line-svg-animation\n
classes: ct-golden-section\n
side-notes:\n
- type: text\n
data:\n
text: >\n
Almost limitless animation possibilities with the Chartist.Svg animation API. Checkout the\n
<a href="getting-started.html#animations-using-chartistsvg">advanced getting started guide about SVG\n
animations</a> with SMIL.\n
\n
- title: Responsive charts configuration\n
level: 3\n
items:\n
- type: example-chart\n
data:\n
id: example-line-simple-responsive\n
classes: ct-golden-section\n
show-code-button: Show code\n
- type: sub-section\n
data:\n
title: Configuration overrides based on media queries\n
level: 4\n
items:\n
- type: text\n
data:\n
text: Configuring different chart behavior for various media is made simple with an override mechanism. The priority of the override mechanism is based on order of specification of the matching media queries.\n
- type: hint\n
data:\n
title: Cross-browser support\n
classes: hint-cross-browser\n
text: For IE9 you need to use a matchMedia polyfill. You should take a look at <a href="https://github.com/paulirish/matchMedia.js/">Paul Irish\'s matchMedia polyfill</a>.\n
side-notes:\n
- type: text\n
data:\n
text: With the clear separation of concerns within Chartist.js you\'re able to style your charts with CSS in @media queries. However, sometimes it requires to also control the behaviour of your charts depending on the media. For this purpose Chartist.js provides you with a simple configuration override mechanism based on media queries.\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>11167</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>index.yml</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272983.82</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>plugins.yml</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
sections:\n
- title: Overview\n
level: 3\n
items:\n
- type: sub-section\n
data:\n
title: What\'s a plugin?\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
Plugins allow you to extend the basic functionality of your charts. You can develop your own\n
plugins or use plugins that others have already developed.\n
\n
- type: sub-section\n
data:\n
title: How to use plugins\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
Once you have included a plugin in your project you can use it in your chart by specifying it explicitly\n
in the plugins section of your chart configuration. Check the <a href="#available-plugins">List of plugins</a>\n
section to see what plugins you can use.\n
\n
- type: code-snippet\n
data:\n
id: plugin-include\n
lang: js\n
\n
- type: hint\n
data:\n
title: Order of specification\n
text: >\n
Plugins are chainable and the order of specification in the plugins array of your configuration\n
is important for the end result.\n
\n
- type: text\n
data:\n
text: >\n
Chartist.js expects an array of plugin functions to be present in the <code>plugins</code> array\n
of the chart configuration. Usually plugins should be written as function factories so you\n
can pass additional parameters and options to the factory which is creating the plugin function and returns it.\n
\n
- title: Available plugins\n
level: 3\n
items:\n
- type: text\n
data:\n
text: >\n
Here you can find a list of known plugins. Usually plugins should be available from both Bower and NPM for\n
installation. If you have developed your own plugin but can\'t find it here, you should create a\n
<a href="https://github.com/gionkunz/chartist-js/blob/develop/site/data/pages/examples.yml" target="_blank">pull request\n
for this page</a> and add your plugin to the list.\n
\n
- type: sub-section\n
data:\n
title: Accessibility Plugin\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
285 million people are estimated to be visually impaired worldwide: 39 million are blind and 246 have low vision.\n
We should stop the discrimination against our fellow human and, by fairly little effort and following best\n
practices, make our content on the web accessible.\n
- type: text\n
data:\n
text: >\n
The accessibility plugin makes your chart accessible for blind people. It automatically generates\n
visually hidden accessibility tables that allow you to describe your chart for blind people easily.\n
This plugin was tested with NVDA and JAWS, and provides all necessary things for building an accessible chart.\n
- type: text\n
data:\n
text: >\n
By simply including this plugin with default configurations you will already make your charts\n
accessible to blind people! If you put in 5 minutes effort in customizing the configuration with\n
meaningful content, you will actually even make them enjoy your charts!\n
- type: live-example\n
data:\n
id: example-plugin-accessibility\n
classes: ct-golden-section\n
intro: >\n
Creating an accessible chart that shows some fiscal year figures. This example overrides the visuallyHiddenStyles\n
configuration property so you can actually see the "invisible" table.\n
- type: table\n
data:\n
rows:\n
-\n
- \'<strong>Author:</strong>\'\n
- Gion Kunz\n
-\n
- \'<strong>Link:</strong>\'\n
- \'<a href="https://github.com/gionkunz/chartist-plugin-accessibility" target="_blank">chartist-plugin-accessibility</a>\'\n
\n
- type: sub-section\n
data:\n
title: Tooltip Plugin\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
The tooltip plugin makes it super simple to add tooltips to most of your charts which can often\n
increase it\'s usability.\n
- type: text\n
data:\n
text: >\n
By simply including this plugin with default configurations you will already make your charts\n
get some tooltips showing.\n
- type: live-example\n
data:\n
id: example-plugin-tooltip\n
classes: ct-golden-section\n
intro: >\n
Creating a simple line chart showing how the tooltips work.\n
- type: table\n
data:\n
rows:\n
-\n
- \'<strong>Author:</strong>\'\n
- Markus Padourek\n
-\n
- \'<strong>Link:</strong>\'\n
- \'<a href="https://github.com/Globegitter/chartist-plugin-tooltip" target="_blank">chartist-plugin-tooltip</a>\'\n
\n
- type: sub-section\n
data:\n
title: Point Label Plugin\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
The point label plugin can be used if you like to add simple labels on top of your data points\n
on line charts. This is usefull if you\'d like the user to see the exact values of the data without\n
any additional interaction.\n
- type: live-example\n
data:\n
id: example-plugin-pointlabel\n
classes: ct-golden-section\n
intro: >\n
The point label plugin draws labels on top of your line chart points.\n
- type: table\n
data:\n
rows:\n
-\n
- \'<strong>Author:</strong>\'\n
- Gion Kunz\n
-\n
- \'<strong>Link:</strong>\'\n
- \'<a href="https://github.com/gionkunz/chartist-plugin-pointlabels" target="_blank">chartist-plugin-pointlabels</a>\'\n
\n
- type: sub-section\n
data:\n
title: Sketchy Plugin\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
The sketchy plugin makes your charts look like they have been drawn by hand. This plugin makes use\n
of SVG filters and works on IE10+, Safari 7+ and Android 4.4+. Also note that SVG filters are not\n
very performant and they will eat your users mobile battery quickly for sure.\n
- type: live-example\n
data:\n
id: example-plugin-sketchy\n
classes: ct-golden-section\n
intro: >\n
Create beautiful hand drawn charts using the Chartist Sketchy plugin.\n
- type: table\n
data:\n
rows:\n
-\n
- \'<strong>Author:</strong>\'\n
- Gion Kunz\n
-\n
- \'<strong>Link:</strong>\'\n
- \'<a href="https://github.com/gionkunz/chartist-plugin-sketchy" target="_blank">chartist-plugin-sketchy</a>\'\n
- type: sub-section\n
data:\n
title: Axis Title Plugin\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
The axis title plugin allows you to add simple titles to your axes.\n
- type: live-example\n
data:\n
id: example-plugin-axistitle\n
classes: ct-golden-section\n
intro: >\n
While not a core functionality, this plugin makes it absolutely easy to add axis titles to your chart.\n
- type: table\n
data:\n
rows:\n
-\n
- \'<strong>Author:</strong>\'\n
- Alex Stanbury\n
-\n
- \'<strong>Link:</strong>\'\n
- \'<a href="https://github.com/alexstanbury/chartist-plugin-axistitle" target="_blank">chartist-plugin-axistitle</a>\'\n
- type: sub-section\n
data:\n
title: Threshold Plugin\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
This Chartist plugin can be used to divide your Line or Bar chart with a threshold.\n
- type: live-example\n
data:\n
id: example-plugin-threshold\n
classes: ct-golden-section\n
intro: >\n
Everything above and below the\n
threshold will be tagged with a special class, in order for your to apply different styling where appropriate.\n
- type: table\n
data:\n
rows:\n
-\n
- \'<strong>Author:</strong>\'\n
- Gion Kunz\n
-\n
- \'<strong>Link:</strong>\'\n
- \'<a href="https://github.com/gionkunz/chartist-plugin-threshold" target="_blank">chartist-plugin-threshold</a>\'\n
- title: Develop a plugin\n
level: 3\n
items:\n
\n
- type: text\n
data:\n
text: >\n
Plugins are functions that will be called for each chart that is created with the plugin enabled\n
(specified in the <code>plugins</code> configuration of a chart). The plugin function will be called with one\n
argument which is the chart that is registering itself for the plugin. If you wish to use some additional\n
parameters or configuration for your plugin initialization, it\'s recommended to use a function factory.\n
You can check the example plugin for an implementation using a function factory.\n
\n
- type: code-snippet\n
data:\n
id: plugin-signature\n
lang: js\n
\n
- type: text\n
data:\n
text: >\n
From the chart object <code>options</code>, <code>svg</code> (root SVG element) and the\n
<code>eventEmitter</code> can be used to manipulate the behaviour of the chart. It\'s the\n
responsibility of the plugin to decide if it should be activated on a given chart (i.e. by checking\n
the chart type <code>chart instanceof Chartist.Line</code> etc.).\n
\n
- type: text\n
data:\n
text: >\n
It\'s recommended to use the events of Chartist.js (like <code>draw</code>) to manipulate the\n
underlying elements. Using the events, plugins can chain up in a natural way and work independently\n
on extending the functionality of the chart.\n
\n
- type: text\n
data:\n
text: >\n
Plugins should contain their own default settings and use <code>Chartist.extend</code> to override\n
the settings specified in the options passed to the plugin factory function. Using\n
the <code>optionsProvider</code> of the chart object one could also implement functioanlity based on\n
the chart configuration as well as responsive configuration.\n
\n
- type: sub-section\n
data:\n
title: Example Plugin\n
level: 4\n
items:\n
- type: text\n
data:\n
text: >\n
The following code shows an example plugin that is also available for download and installation.\n
You can also use the <a href="https://github.com/gionkunz/chartist-plugin-pointlabels" target="_blank">repository\n
of the example plugin</a> to start your own awesome Chartist.js plugin.\n
\n
- type: code-snippet\n
data:\n
id: plugin-example\n
lang: js\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>12629</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>plugins.yml</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>examples</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>examples</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273044.36</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>behavior-with-jquery.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
new Chartist.Line(\'.ct-chart\', {\n
labels: [\'1\', \'2\', \'3\', \'4\', \'5\', \'6\'],\n
series: [\n
{\n
name: \'Fibonacci sequence\',\n
data: [1, 2, 3, 5, 8, 13]\n
},\n
{\n
name: \'Golden section\',\n
data: [1, 1.618, 2.618, 4.236, 6.854, 11.09]\n
}\n
]\n
});\n
\n
var $chart = $(\'.ct-chart\');\n
\n
var $toolTip = $chart\n
.append(\'<div class="tooltip"></div>\')\n
.find(\'.tooltip\')\n
.hide();\n
\n
$chart.on(\'mouseenter\', \'.ct-point\', function() {\n
var $point = $(this),\n
value = $point.attr(\'ct:value\'),\n
seriesName = $point.parent().attr(\'ct:series-name\');\n
$toolTip.html(seriesName + \'<br>\' + value).show();\n
});\n
\n
$chart.on(\'mouseleave\', \'.ct-point\', function() {\n
$toolTip.hide();\n
});\n
\n
$chart.on(\'mousemove\', function(event) {\n
$toolTip.css({\n
left: (event.offsetX || event.originalEvent.layerX) - $toolTip.width() / 2 - 10,\n
top: (event.offsetY || event.originalEvent.layerY) - $toolTip.height() - 40\n
});\n
});\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>926</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>behavior-with-jquery.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273041.42</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>bi-polar-bar-interpolated.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
labels: [\'W1\', \'W2\', \'W3\', \'W4\', \'W5\', \'W6\', \'W7\', \'W8\', \'W9\', \'W10\'],\n
series: [\n
[1, 2, 4, 8, 6, -2, -1, -4, -6, -2]\n
]\n
};\n
\n
var options = {\n
high: 10,\n
low: -10,\n
axisX: {\n
labelInterpolationFnc: function(value, index) {\n
return index % 2 === 0 ? value : null;\n
}\n
}\n
};\n
\n
new Chartist.Bar(\'.ct-chart\', data, options);\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>354</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>bi-polar-bar-interpolated.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273048.53</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-axis-auto.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Line(\'.ct-chart\', {\n
series: [[\n
{x: 1, y: 100},\n
{x: 2, y: 50},\n
{x: 3, y: 25},\n
{x: 5, y: 12.5},\n
{x: 8, y: 6.25}\n
]]\n
}, {\n
axisX: {\n
type: Chartist.AutoScaleAxis,\n
onlyInteger: true\n
}\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>230</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-axis-auto.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273045.69</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-axis-fixed-and-auto.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Line(\'.ct-chart\', {\n
series: [[\n
{x: 1, y: 100},\n
{x: 2, y: 50},\n
{x: 3, y: 25},\n
{x: 5, y: 12.5},\n
{x: 8, y: 6.25}\n
]]\n
}, {\n
axisX: {\n
type: Chartist.AutoScaleAxis,\n
onlyInteger: true\n
},\n
axisY: {\n
type: Chartist.FixedScaleAxis,\n
ticks: [0, 50, 75, 87.5, 100],\n
low: 0\n
},\n
lineSmooth: Chartist.Interpolation.step(),\n
showPoint: false\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>392</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-axis-fixed-and-auto.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273050.7</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-bar-distributed-series.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Bar(\'.ct-chart\', {\n
labels: [\'XS\', \'S\', \'M\', \'L\', \'XL\', \'XXL\', \'XXXL\'],\n
series: [20, 60, 120, 200, 180, 20, 10]\n
}, {\n
distributeSeries: true\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>162</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-bar-distributed-series.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273051.58</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-bar-extreme-responsive.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
new Chartist.Bar(\'.ct-chart\', {\n
labels: [\'Quarter 1\', \'Quarter 2\', \'Quarter 3\', \'Quarter 4\'],\n
series: [\n
[5, 4, 3, 7],\n
[3, 2, 9, 5],\n
[1, 5, 8, 4],\n
[2, 3, 4, 6],\n
[4, 1, 2, 1]\n
]\n
}, {\n
// Default mobile configuration\n
stackBars: true,\n
axisX: {\n
labelInterpolationFnc: function(value) {\n
return value.split(/\\s+/).map(function(word) {\n
return word[0];\n
}).join(\'\');\n
}\n
},\n
axisY: {\n
offset: 20\n
}\n
}, [\n
// Options override for media > 400px\n
[\'screen and (min-width: 400px)\', {\n
reverseData: true,\n
horizontalBars: true,\n
axisX: {\n
labelInterpolationFnc: Chartist.noop\n
},\n
axisY: {\n
offset: 60\n
}\n
}],\n
// Options override for media > 800px\n
[\'screen and (min-width: 800px)\', {\n
stackBars: false,\n
seriesBarDistance: 10\n
}],\n
// Options override for media > 1000px\n
[\'screen and (min-width: 1000px)\', {\n
reverseData: false,\n
horizontalBars: false,\n
seriesBarDistance: 15\n
}]\n
]);\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>987</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-bar-extreme-responsive.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273043.36</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-bar-horizontal.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Bar(\'.ct-chart\', {\n
labels: [\'Monday\', \'Tuesday\', \'Wednesday\', \'Thursday\', \'Friday\', \'Saturday\', \'Sunday\'],\n
series: [\n
[5, 4, 3, 7, 5, 10, 3],\n
[3, 2, 9, 5, 4, 6, 4]\n
]\n
}, {\n
seriesBarDistance: 10,\n
reverseData: true,\n
horizontalBars: true,\n
axisY: {\n
offset: 70\n
}\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>301</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-bar-horizontal.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273046.1</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-bar-label-position.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Bar(\'.ct-chart\', {\n
labels: [\'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\', \'Sat\', \'Sun\'],\n
series: [\n
[5, 4, 3, 7, 5, 10, 3],\n
[3, 2, 9, 5, 4, 6, 4]\n
]\n
}, {\n
axisX: {\n
// On the x-axis start means top and end means bottom\n
position: \'start\'\n
},\n
axisY: {\n
// On the y-axis start means left and end means right\n
position: \'end\'\n
}\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>361</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-bar-label-position.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273040.21</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-bar-with-circle-modify-drawing.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>// Create a simple bi-polar bar chart\n
var chart = new Chartist.Bar(\'.ct-chart\', {\n
labels: [\'W1\', \'W2\', \'W3\', \'W4\', \'W5\', \'W6\', \'W7\', \'W8\', \'W9\', \'W10\'],\n
series: [\n
[1, 2, 4, 8, 6, -2, -1, -4, -6, -2]\n
]\n
}, {\n
high: 10,\n
low: -10,\n
axisX: {\n
labelInterpolationFnc: function(value, index) {\n
return index % 2 === 0 ? value : null;\n
}\n
}\n
});\n
\n
// Listen for draw events on the bar chart\n
chart.on(\'draw\', function(data) {\n
// If this draw event is of type bar we can use the data to create additional content\n
if(data.type === \'bar\') {\n
// We use the group element of the current series to append a simple circle with the bar peek coordinates and a circle radius that is depending on the value\n
data.group.append(new Chartist.Svg(\'circle\', {\n
cx: data.x2,\n
cy: data.y2,\n
r: Math.abs(Chartist.getMultiValue(data.value)) * 2 + 5\n
}, \'ct-slice-pie\'));\n
}\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>901</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-bar-with-circle-modify-drawing.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273036.12</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-bipolar-line-area.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4, 5, 6, 7, 8],\n
series: [\n
[1, 2, 3, 1, -2, 0, 1, 0],\n
[-2, -1, -2, -1, -2.5, -1, -2, -1],\n
[0, 0, 0, 1, 2, 2.5, 2, 1],\n
[2.5, 2, 1, 0.5, 1, 0.5, -1, -2.5]\n
]\n
}, {\n
high: 3,\n
low: -3,\n
showArea: true,\n
showLine: false,\n
showPoint: false,\n
fullWidth: true,\n
axisX: {\n
showLabel: false,\n
showGrid: false\n
}\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>391</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-bipolar-line-area.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273040.6</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-donut-animation.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var chart = new Chartist.Pie(\'.ct-chart\', {\n
series: [10, 20, 50, 20, 5, 50, 15],\n
labels: [1, 2, 3, 4, 5, 6, 7]\n
}, {\n
donut: true,\n
showLabel: false\n
});\n
\n
chart.on(\'draw\', function(data) {\n
if(data.type === \'slice\') {\n
// Get the total path length in order to use for dash array animation\n
var pathLength = data.element._node.getTotalLength();\n
\n
// Set a dasharray that matches the path length as prerequisite to animate dashoffset\n
data.element.attr({\n
\'stroke-dasharray\': pathLength + \'px \' + pathLength + \'px\'\n
});\n
\n
// Create animation definition while also assigning an ID to the animation for later sync usage\n
var animationDefinition = {\n
\'stroke-dashoffset\': {\n
id: \'anim\' + data.index,\n
dur: 1000,\n
from: -pathLength + \'px\',\n
to: \'0px\',\n
easing: Chartist.Svg.Easing.easeOutQuint,\n
// We need to use `fill: \'freeze\'` otherwise our animation will fall back to initial (not visible)\n
fill: \'freeze\'\n
}\n
};\n
\n
// If this was not the first slice, we need to time the animation so that it uses the end sync event of the previous animation\n
if(data.index !== 0) {\n
animationDefinition[\'stroke-dashoffset\'].begin = \'anim\' + (data.index - 1) + \'.end\';\n
}\n
\n
// We need to set an initial value before the animation starts as we are not in guided mode which would do that for us\n
data.element.attr({\n
\'stroke-dashoffset\': -pathLength + \'px\'\n
});\n
\n
// We can\'t use guided mode as the animations need to rely on setting begin manually\n
// See http://gionkunz.github.io/chartist-js/api-documentation.html#chartistsvg-function-animate\n
data.element.animate(animationDefinition, false);\n
}\n
});\n
\n
// For the sake of the example we update the chart every time it\'s created with a delay of 8 seconds\n
chart.on(\'created\', function() {\n
if(window.__anim21278907124) {\n
clearTimeout(window.__anim21278907124);\n
window.__anim21278907124 = null;\n
}\n
window.__anim21278907124 = setTimeout(chart.update.bind(chart), 10000);\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>2048</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-donut-animation.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273051.16</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-dynamic-colours.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var count = 45;\n
var max = 100;\n
\n
// Creating a bar chart with no labels and a series array with one series. For the series we generate random data with `count` elements and random data ranging from 0 to `max`.\n
var chart = new Chartist.Bar(\'.ct-chart\', {\n
labels: Chartist.times(count),\n
series: [\n
Chartist.times(count).map(Math.random).map(Chartist.mapMultiply(max))\n
]\n
}, {\n
axisX: {\n
showLabel: false\n
},\n
axisY: {\n
onlyInteger: true\n
}\n
});\n
\n
// This is the bit we are actually interested in. By registering a callback for `draw` events, we can actually intercept the drawing process of each element on the chart.\n
chart.on(\'draw\', function(context) {\n
// First we want to make sure that only do something when the draw event is for bars. Draw events do get fired for labels and grids too.\n
if(context.type === \'bar\') {\n
// With the Chartist.Svg API we can easily set an attribute on our bar that just got drawn\n
context.element.attr({\n
// Now we set the style attribute on our bar to override the default color of the bar. By using a HSL colour we can easily set the hue of the colour dynamically while keeping the same saturation and lightness. From the context we can also get the current value of the bar. We use that value to calculate a hue between 0 and 100 degree. This will make our bars appear green when close to the maximum and red when close to zero.\n
style: \'stroke: hsl(\' + Math.floor(Chartist.getMultiValue(context.value) / max * 100) + \', 50%, 50%);\'\n
});\n
}\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1518</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-dynamic-colours.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273035.33</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-gallery-four.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
series: [60, 20]\n
};\n
\n
var options = {\n
donut: true,\n
donutWidth: 40,\n
total: 100,\n
labelInterpolationFnc: function(value) {\n
return value + \'%\';\n
}\n
};\n
\n
var responsiveOptions = [\n
[\n
Foundation.media_queries.medium,\n
{\n
labelOffset: 30,\n
chartPadding: 10,\n
labelDirection: \'explode\'\n
}\n
],\n
[\n
Foundation.media_queries.large,\n
{\n
labelOffset: -30,\n
chartPadding: 0,\n
labelDirection: \'implode\'\n
}\n
]\n
];\n
\n
new Chartist.Pie(\'.ct-chart\', data, options, responsiveOptions);</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>546</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-gallery-four.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273050.13</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-gallery-one.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
labels: [\'W1\', \'W2\', \'W3\', \'W4\', \'W5\', \'W6\', \'W7\', \'W8\', \'W9\'],\n
series: [\n
[12, 9, 7, 8, 6, 4, 3, 2, 0],\n
[2, 1, 3.5, 7, 9, 8, 7.7, 4, 7],\n
[1, 3, 4, 5, 6, 8, 9, 10, 11],\n
[11, 7.5, 5.5, 5.5, 4, 3.5, 2, 1, 0]\n
]\n
};\n
\n
new Chartist.Line(\'.ct-chart\', data);</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>285</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-gallery-one.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273045.23</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-gallery-three.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
labels: [\'Day one\', \'Day two\', \'Day three\', \'Day four\'],\n
series: [20, 15, 40, 10]\n
};\n
\n
var options = {\n
labelInterpolationFnc: function(value) {\n
return value.split(/\\s+/).reduce(function(str, elem) {\n
return str + elem[0] + \'.\';\n
}, \'\');\n
}\n
};\n
\n
var responsiveOptions = [\n
[\n
Foundation.media_queries.medium,\n
{\n
chartPadding: 30,\n
labelOffset: 50,\n
labelDirection: \'explode\',\n
labelInterpolationFnc: function(value) {\n
return value;\n
}\n
}\n
],\n
[\n
Foundation.media_queries.large,\n
{\n
labelOffset: 80\n
}\n
],\n
[\n
Foundation.media_queries.xlarge,\n
{\n
labelOffset: 100\n
}\n
]\n
];\n
\n
new Chartist.Pie(\'.ct-chart\', data, options, responsiveOptions);</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>743</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-gallery-three.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273052.08</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-gallery-two.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
labels: [\'1938\', \'1939\', \'1940\', \'1941\', \'1942\', \'1943\'],\n
series: [\n
[12000, 9000, 7000, 8000, 12000, 10000],\n
[2000, 1000, 3500, 7000, 5000, 9000]\n
]\n
};\n
\n
var options = {\n
seriesBarDistance: 5\n
};\n
\n
new Chartist.Bar(\'.ct-chart\', data, options);</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>269</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-gallery-two.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273046.63</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-line-area.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4, 5, 6, 7, 8],\n
series: [\n
[5, 9, 7, 8, 5, 3, 5, 4]\n
]\n
}, {\n
low: 0,\n
showArea: true\n
});</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>149</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-line-area.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273042.95</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-line-data-holes.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16],\n
series: [\n
[5, 5, 10, 8, 7, 5, 4, null, null, null, 10, 10, 7, 8, 6, 9],\n
[10, 15, null, 12, null, 10, 12, 15, null, null, 12, null, 14, null, null, null],\n
[null, null, null, null, 3, 4, 1, 3, 4, 6, 7, 9, 5, null, null, null]\n
]\n
}, {\n
fullWidth: true,\n
chartPadding: {\n
right: 10\n
},\n
low: 0\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>431</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-line-data-holes.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273048.01</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-line-modify-drawing.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4, 5],\n
series: [\n
[12, 9, 7, 8, 5]\n
]\n
});\n
\n
// Listening for draw events that get emitted by the Chartist chart\n
chart.on(\'draw\', function(data) {\n
// If the draw event was triggered from drawing a point on the line chart\n
if(data.type === \'point\') {\n
// We are creating a new path SVG element that draws a triangle around the point coordinates\n
var triangle = new Chartist.Svg(\'path\', {\n
d: [\'M\',\n
data.x,\n
data.y - 15,\n
\'L\',\n
data.x - 15,\n
data.y + 8,\n
\'L\',\n
data.x + 15,\n
data.y + 8,\n
\'z\'].join(\' \'),\n
style: \'fill-opacity: 1\'\n
}, \'ct-area\');\n
\n
// With data.element we get the Chartist SVG wrapper and we can replace the original point drawn by Chartist with our newly created triangle\n
data.element.replace(triangle);\n
}\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>889</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-line-modify-drawing.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273037.32</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-line-months-interpolation.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
labels: [\'Jan\', \'Feb\', \'Mar\', \'Apr\', \'May\', \'Jun\', \'Jul\', \'Aug\', \'Sep\', \'Oct\', \'Nov\', \'Dec\'],\n
series: [\n
[1, 2, 2.7, 0, 3, 5, 3, 4, 8, 10, 12, 7],\n
[0, 1.2, 2, 7, 2.5, 9, 5, 8, 9, 11, 14, 4],\n
[10, 9, 8, 6.5, 6.8, 6, 5.4, 5.3, 4.5, 4.4, 3, 2.8]\n
]\n
};\n
\n
var responsiveOptions = [\n
[\n
Foundation.media_queries.small,\n
{\n
axisX: {\n
labelInterpolationFnc: function (value, index) {\n
// Interpolation function causes only every 2nd label to be displayed\n
if (index % 2 !== 0) {\n
return false;\n
} else {\n
return value;\n
}\n
}\n
}\n
}\n
]\n
];\n
\n
new Chartist.Line(\'.ct-chart\', data, {\n
chartPadding: {\n
top: 30\n
}\n
}, responsiveOptions);\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>749</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-line-months-interpolation.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273042.3</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-line-only-integer.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4, 5, 6, 7, 8],\n
series: [\n
[1, 2, 3, 1, -2, 0, 1, 0],\n
[-2, -1, -2, -1, -3, -1, -2, -1],\n
[0, 0, 0, 1, 2, 3, 2, 1],\n
[3, 2, 1, 0.5, 1, 0, -1, -3]\n
]\n
}, {\n
high: 3,\n
low: -3,\n
fullWidth: true,\n
// As this is axis specific we need to tell Chartist to use whole numbers only on the concerned axis\n
axisY: {\n
onlyInteger: true,\n
offset: 20\n
}\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>423</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-line-only-integer.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273043.94</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-line-path-animation.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [\'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\', \'Sat\'],\n
series: [\n
[1, 5, 2, 5, 4, 3],\n
[2, 3, 4, 8, 1, 2],\n
[5, 4, 3, 2, 1, 0.5]\n
]\n
}, {\n
low: 0,\n
showArea: true,\n
showPoint: false,\n
fullWidth: true\n
});\n
\n
chart.on(\'draw\', function(data) {\n
if(data.type === \'line\' || data.type === \'area\') {\n
data.element.animate({\n
d: {\n
begin: 2000 * data.index,\n
dur: 2000,\n
from: data.path.clone().scale(1, 0).translate(0, data.chartRect.height()).stringify(),\n
to: data.path.clone().stringify(),\n
easing: Chartist.Svg.Easing.easeOutQuint\n
}\n
});\n
}\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>653</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-line-path-animation.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273036.94</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-line-series-override.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [\'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\'],\n
// Naming the series with the series object array notation\n
series: [{\n
name: \'series-1\',\n
data: [5, 2, -4, 2, 0, -2, 5, -3]\n
}, {\n
name: \'series-2\',\n
data: [4, 3, 5, 3, 1, 3, 6, 4]\n
}, {\n
name: \'series-3\',\n
data: [2, 4, 3, 1, 4, 5, 3, 2]\n
}]\n
}, {\n
fullWidth: true,\n
// Within the series options you can use the series names\n
// to specify configuration that will only be used for the\n
// specific series.\n
series: {\n
\'series-1\': {\n
lineSmooth: Chartist.Interpolation.step()\n
},\n
\'series-2\': {\n
lineSmooth: Chartist.Interpolation.simple(),\n
showArea: true\n
},\n
\'series-3\': {\n
showPoint: false\n
}\n
}\n
}, [\n
// You can even use responsive configuration overrides to\n
// customize your series configuration even further!\n
[\'screen and (max-width: 320px)\', {\n
series: {\n
\'series-1\': {\n
lineSmooth: Chartist.Interpolation.none()\n
},\n
\'series-2\': {\n
lineSmooth: Chartist.Interpolation.none(),\n
showArea: false\n
},\n
\'series-3\': {\n
lineSmooth: Chartist.Interpolation.none(),\n
showPoint: true\n
}\n
}\n
}]\n
]);\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1237</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-line-series-override.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273044.8</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-line-simple-responsive.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>/* Add a basic data series with six labels and values */\n
var data = {\n
labels: [\'1\', \'2\', \'3\', \'4\', \'5\', \'6\'],\n
series: [\n
{\n
data: [1, 2, 3, 5, 8, 13]\n
}\n
]\n
};\n
\n
/* Set some base options (settings will override the default settings in Chartist.js *see default settings*). We are adding a basic label interpolation function for the xAxis labels. */\n
var options = {\n
axisX: {\n
labelInterpolationFnc: function(value) {\n
return \'Calendar Week \' + value;\n
}\n
}\n
};\n
\n
/* Now we can specify multiple responsive settings that will override the base settings based on order and if the media queries match. In this example we are changing the visibility of dots and lines as well as use different label interpolations for space reasons. */\n
var responsiveOptions = [\n
[\'screen and (min-width: 641px) and (max-width: 1024px)\', {\n
showPoint: false,\n
axisX: {\n
labelInterpolationFnc: function(value) {\n
return \'Week \' + value;\n
}\n
}\n
}],\n
[\'screen and (max-width: 640px)\', {\n
showLine: false,\n
axisX: {\n
labelInterpolationFnc: function(value) {\n
return \'W\' + value;\n
}\n
}\n
}]\n
];\n
\n
/* Initialize the chart with the above settings */\n
new Chartist.Line(\'#my-chart\', data, options, responsiveOptions);</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1263</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-line-simple-responsive.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273038.18</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-line-simple-smoothing.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4, 5],\n
series: [\n
[1, 5, 10, 0, 1],\n
[10, 15, 0, 1, 2]\n
]\n
}, {\n
// Remove this configuration to see that chart rendered with cardinal spline interpolation\n
// Sometimes, on large jumps in data values, it\'s better to use simple smoothing.\n
lineSmooth: Chartist.Interpolation.simple({\n
divisor: 2\n
}),\n
fullWidth: true,\n
chartPadding: {\n
right: 20\n
},\n
low: 0\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>450</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-line-simple-smoothing.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273049.61</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-line-svg-animation.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [\'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\', \'11\', \'12\'],\n
series: [\n
[12, 9, 7, 8, 5, 4, 6, 2, 3, 3, 4, 6],\n
[4, 5, 3, 7, 3, 5, 5, 3, 4, 4, 5, 5],\n
[5, 3, 4, 5, 6, 3, 3, 4, 5, 6, 3, 4],\n
[3, 4, 5, 6, 7, 6, 4, 5, 6, 7, 6, 3]\n
]\n
}, {\n
low: 0\n
});\n
\n
// Let\'s put a sequence number aside so we can use it in the event callbacks\n
var seq = 0,\n
delays = 80,\n
durations = 500;\n
\n
// Once the chart is fully created we reset the sequence\n
chart.on(\'created\', function() {\n
seq = 0;\n
});\n
\n
// On each drawn element by Chartist we use the Chartist.Svg API to trigger SMIL animations\n
chart.on(\'draw\', function(data) {\n
seq++;\n
\n
if(data.type === \'line\') {\n
// If the drawn element is a line we do a simple opacity fade in. This could also be achieved using CSS3 animations.\n
data.element.animate({\n
opacity: {\n
// The delay when we like to start the animation\n
begin: seq * delays + 1000,\n
// Duration of the animation\n
dur: durations,\n
// The value where the animation should start\n
from: 0,\n
// The value where it should end\n
to: 1\n
}\n
});\n
} else if(data.type === \'label\' && data.axis === \'x\') {\n
data.element.animate({\n
y: {\n
begin: seq * delays,\n
dur: durations,\n
from: data.y + 100,\n
to: data.y,\n
// We can specify an easing function from Chartist.Svg.Easing\n
easing: \'easeOutQuart\'\n
}\n
});\n
} else if(data.type === \'label\' && data.axis === \'y\') {\n
data.element.animate({\n
x: {\n
begin: seq * delays,\n
dur: durations,\n
from: data.x - 100,\n
to: data.x,\n
easing: \'easeOutQuart\'\n
}\n
});\n
} else if(data.type === \'point\') {\n
data.element.animate({\n
x1: {\n
begin: seq * delays,\n
dur: durations,\n
from: data.x - 10,\n
to: data.x,\n
easing: \'easeOutQuart\'\n
},\n
x2: {\n
begin: seq * delays,\n
dur: durations,\n
from: data.x - 10,\n
to: data.x,\n
easing: \'easeOutQuart\'\n
},\n
opacity: {\n
begin: seq * delays,\n
dur: durations,\n
from: 0,\n
to: 1,\n
easing: \'easeOutQuart\'\n
}\n
});\n
} else if(data.type === \'grid\') {\n
// Using data.axis we get x or y which we can use to construct our animation definition objects\n
var pos1Animation = {\n
begin: seq * delays,\n
dur: durations,\n
from: data[data.axis.units.pos + \'1\'] - 30,\n
to: data[data.axis.units.pos + \'1\'],\n
easing: \'easeOutQuart\'\n
};\n
\n
var pos2Animation = {\n
begin: seq * delays,\n
dur: durations,\n
from: data[data.axis.units.pos + \'2\'] - 100,\n
to: data[data.axis.units.pos + \'2\'],\n
easing: \'easeOutQuart\'\n
};\n
\n
var animations = {};\n
animations[data.axis.units.pos + \'1\'] = pos1Animation;\n
animations[data.axis.units.pos + \'2\'] = pos2Animation;\n
animations[\'opacity\'] = {\n
begin: seq * delays,\n
dur: durations,\n
from: 0,\n
to: 1,\n
easing: \'easeOutQuart\'\n
};\n
\n
data.element.animate(animations);\n
}\n
});\n
\n
// For the sake of the example we update the chart every time it\'s created with a delay of 10 seconds\n
chart.on(\'created\', function() {\n
if(window.__exampleAnimateTimeout) {\n
clearTimeout(window.__exampleAnimateTimeout);\n
window.__exampleAnimateTimeout = null;\n
}\n
window.__exampleAnimateTimeout = setTimeout(chart.update.bind(chart), 12000);\n
});\n
\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>3495</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-line-svg-animation.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273053.98</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-multiline-bar.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Bar(\'.ct-chart\', {\n
labels: [\'First quarter of the year\', \'Second quarter of the year\', \'Third quarter of the year\', \'Fourth quarter of the year\'],\n
series: [\n
[60000, 40000, 80000, 70000],\n
[40000, 30000, 70000, 65000],\n
[8000, 3000, 10000, 6000]\n
]\n
}, {\n
seriesBarDistance: 10,\n
axisX: {\n
offset: 60\n
},\n
axisY: {\n
offset: 80,\n
labelInterpolationFnc: function(value) {\n
return value + \' CHF\'\n
},\n
scaleMinSpace: 15\n
}\n
});</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>473</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-multiline-bar.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273052.64</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-plugin-accessibility.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Line(\'.ct-chart\', {\n
labels: [\'January\', \'February\', \'March\', \'April\', \'May\', \'June\', \'July\', \'August\', \'September\', \'October\', \'November\', \'December\'],\n
series: [\n
{name: \'Income\', data: [20000, 30000, 35000, 32000, 40000, 42000, 50000, 62000, 80000, 94000, 100000, 120000]},\n
{name: \'Expenses\', data: [10000, 15000, 12000, 14000, 20000, 23000, 22000, 24000, 21000, 18000, 30000, 32000]}\n
]\n
}, {\n
fullWidth: true,\n
lineSmooth: false,\n
chartPadding: {\n
right: 20,\n
left: 10\n
},\n
axisX: {\n
labelInterpolationFnc: function(value) {\n
return value.split(\'\').slice(0, 3).join(\'\');\n
}\n
},\n
plugins: [\n
Chartist.plugins.ctAccessibility({\n
caption: \'Fiscal year 2015\',\n
seriesHeader: \'business numbers\',\n
summary: \'A graphic that shows the business numbers of the fiscal year 2015\',\n
valueTransform: function(value) {\n
return value + \' dollar\';\n
},\n
// ONLY USE THIS IF YOU WANT TO MAKE YOUR ACCESSIBILITY TABLE ALSO VISIBLE!\n
visuallyHiddenStyles: \'position: absolute; top: 100%; width: 100%; font-size: 11px; overflow-x: auto; background-color: rgba(0, 0, 0, 0.1); padding: 10px\'\n
})\n
]\n
});\n
\n
// This is only used for the example on the Chartist example page\n
$chart.parent().css({\n
\'margin-bottom\': \'160px\'\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1300</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-plugin-accessibility.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273039.39</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-plugin-axistitle.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Line(\'.ct-chart\', {\n
labels: [\'0-15\', \'16-30\', \'31-45\', \'46-60\', \'61-75\', \'76-90\', \'91-105\', \'106-120\'],\n
series: [[1, 3, 7, 12, 1, 2, 1, 0]]\n
}, {\n
chartPadding: {\n
top: 20,\n
right: 0,\n
bottom: 30,\n
left: 0\n
},\n
axisY: {\n
onlyInteger: true\n
},\n
plugins: [\n
Chartist.plugins.ctAxisTitle({\n
axisX: {\n
axisTitle: \'Time (mins)\',\n
axisClass: \'ct-axis-title\',\n
offset: {\n
x: 0,\n
y: 50\n
},\n
textAnchor: \'middle\'\n
},\n
axisY: {\n
axisTitle: \'Goals\',\n
axisClass: \'ct-axis-title\',\n
offset: {\n
x: 0,\n
y: 0\n
},\n
textAnchor: \'middle\',\n
flipTitle: false\n
}\n
})\n
]\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>727</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-plugin-axistitle.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273054.4</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-plugin-pointlabel.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Line(\'.ct-chart\', {\n
labels: [\'M\', \'T\', \'W\', \'T\', \'F\'],\n
series: [\n
[12, 9, 7, 8, 5]\n
]\n
}, {\n
plugins: [\n
Chartist.plugins.ctPointLabels({\n
textAnchor: \'middle\'\n
})\n
]\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>204</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-plugin-pointlabel.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273049.01</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-plugin-sketchy.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Bar(\'.ct-chart\', {\n
labels: [\'Q1\', \'Q2\', \'Q3\', \'Q4\'],\n
series: [\n
[800000, 1200000, 1400000, 1300000],\n
[200000, 400000, 500000, 300000],\n
[100000, 200000, 400000, 600000]\n
]\n
}, {\n
plugins: [\n
Chartist.plugins.ctSketchy({\n
overrides: {\n
grid: {\n
baseFrequency: 0.2,\n
scale: 5,\n
numOctaves: 1\n
},\n
bar: {\n
baseFrequency: 0.02,\n
scale: 10\n
},\n
label: false\n
}\n
})\n
],\n
stackBars: true,\n
axisY: {\n
labelInterpolationFnc: function(value) {\n
return (value / 1000) + \'k\';\n
}\n
}\n
}).on(\'draw\', function(data) {\n
if(data.type === \'bar\') {\n
data.element.attr({\n
style: \'stroke-width: 30px\'\n
});\n
}\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>742</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-plugin-sketchy.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273034.9</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-plugin-threshold.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Line(\'.ct-chart\', {\n
labels: [\'Jan\', \'Feb\', \'Mar\', \'Apr\', \'Mai\', \'Jun\', \'Jul\', \'Aug\', \'Sep\', \'Oct\', \'Nov\', \'Dec\'],\n
series: [\n
[5, -4, 3, 7, 20, 10, 3, 4, 8, -10, 6, -8]\n
]\n
}, {\n
showArea: true,\n
axisY: {\n
onlyInteger: true\n
},\n
plugins: [\n
Chartist.plugins.ctThreshold({\n
threshold: 4\n
})\n
]\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>335</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-plugin-threshold.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273035.71</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-plugin-tooltip.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3],\n
series: [\n
[\n
{meta: \'description\', value: 1 },\n
{meta: \'description\', value: 5},\n
{meta: \'description\', value: 3}\n
],\n
[\n
{meta: \'other description\', value: 2},\n
{meta: \'other description\', value: 4},\n
{meta: \'other description\', value: 2}\n
]\n
]\n
}, {\n
low: 0,\n
high: 8,\n
fullWidth: true,\n
plugins: [\n
Chartist.plugins.tooltip()\n
]\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>455</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-plugin-tooltip.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273039.02</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-simple-bar.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
labels: [\'Jan\', \'Feb\', \'Mar\', \'Apr\', \'Mai\', \'Jun\', \'Jul\', \'Aug\', \'Sep\', \'Oct\', \'Nov\', \'Dec\'],\n
series: [\n
[5, 4, 3, 7, 5, 10, 3, 4, 8, 10, 6, 8],\n
[3, 2, 9, 5, 4, 6, 4, 6, 7, 8, 7, 4]\n
]\n
};\n
\n
var options = {\n
seriesBarDistance: 15\n
};\n
\n
var responsiveOptions = [\n
[\'screen and (min-width: 641px) and (max-width: 1024px)\', {\n
seriesBarDistance: 10,\n
axisX: {\n
labelInterpolationFnc: function (value) {\n
return value;\n
}\n
}\n
}],\n
[\'screen and (max-width: 640px)\', {\n
seriesBarDistance: 5,\n
axisX: {\n
labelInterpolationFnc: function (value) {\n
return value[0];\n
}\n
}\n
}]\n
];\n
\n
new Chartist.Bar(\'.ct-chart\', data, options, responsiveOptions);</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>715</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-simple-bar.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273053.09</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-simple-svg-animation.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [\'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\', \'11\', \'12\'],\n
series: [\n
[12, 4, 2, 8, 5, 4, 6, 2, 3, 3, 4, 6],\n
[4, 8, 9, 3, 7, 2, 10, 5, 8, 1, 7, 10]\n
]\n
}, {\n
low: 0,\n
showLine: false,\n
axisX: {\n
showLabel: false,\n
offset: 0\n
},\n
axisY: {\n
showLabel: false,\n
offset: 0\n
}\n
});\n
\n
// Let\'s put a sequence number aside so we can use it in the event callbacks\n
var seq = 0;\n
\n
// Once the chart is fully created we reset the sequence\n
chart.on(\'created\', function() {\n
seq = 0;\n
});\n
\n
// On each drawn element by Chartist we use the Chartist.Svg API to trigger SMIL animations\n
chart.on(\'draw\', function(data) {\n
if(data.type === \'point\') {\n
// If the drawn element is a line we do a simple opacity fade in. This could also be achieved using CSS3 animations.\n
data.element.animate({\n
opacity: {\n
// The delay when we like to start the animation\n
begin: seq++ * 80,\n
// Duration of the animation\n
dur: 500,\n
// The value where the animation should start\n
from: 0,\n
// The value where it should end\n
to: 1\n
},\n
x1: {\n
begin: seq++ * 80,\n
dur: 500,\n
from: data.x - 100,\n
to: data.x,\n
// You can specify an easing function name or use easing functions from Chartist.Svg.Easing directly\n
easing: Chartist.Svg.Easing.easeOutQuart\n
}\n
});\n
}\n
});\n
\n
// For the sake of the example we update the chart every time it\'s created with a delay of 8 seconds\n
chart.on(\'created\', function() {\n
if(window.__anim0987432598723) {\n
clearTimeout(window.__anim0987432598723);\n
window.__anim0987432598723 = null;\n
}\n
window.__anim0987432598723 = setTimeout(chart.update.bind(chart), 8000);\n
});\n
\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1782</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-simple-svg-animation.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273047.33</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>line-scatter-random.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var times = function(n) {\n
return Array.apply(null, new Array(n));\n
};\n
\n
var data = times(52).map(Math.random).reduce(function(data, rnd, index) {\n
data.labels.push(index + 1);\n
data.series.forEach(function(series) {\n
series.push(Math.random() * 100)\n
});\n
\n
return data;\n
}, {\n
labels: [],\n
series: times(4).map(function() { return new Array() })\n
});\n
\n
var options = {\n
showLine: false,\n
axisX: {\n
labelInterpolationFnc: function(value, index) {\n
return index % 13 === 0 ? \'W\' + value : null;\n
}\n
}\n
};\n
\n
var responsiveOptions = [\n
[\'screen and (min-width: 640px)\', {\n
axisX: {\n
labelInterpolationFnc: function(value, index) {\n
return index % 4 === 0 ? \'W\' + value : null;\n
}\n
}\n
}]\n
];\n
\n
new Chartist.Line(\'.ct-chart\', data, options, responsiveOptions);</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>795</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>line-scatter-random.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273038.63</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>overlapping-bars.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
labels: [\'Jan\', \'Feb\', \'Mar\', \'Apr\', \'Mai\', \'Jun\', \'Jul\', \'Aug\', \'Sep\', \'Oct\', \'Nov\', \'Dec\'],\n
series: [\n
[5, 4, 3, 7, 5, 10, 3, 4, 8, 10, 6, 8],\n
[3, 2, 9, 5, 4, 6, 4, 6, 7, 8, 7, 4]\n
]\n
};\n
\n
var options = {\n
seriesBarDistance: 10\n
};\n
\n
var responsiveOptions = [\n
[\'screen and (max-width: 640px)\', {\n
seriesBarDistance: 5,\n
axisX: {\n
labelInterpolationFnc: function (value) {\n
return value[0];\n
}\n
}\n
}]\n
];\n
\n
new Chartist.Bar(\'.ct-chart\', data, options, responsiveOptions);</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>521</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>overlapping-bars.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273041.86</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>pie-with-custom-labels.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
labels: [\'Bananas\', \'Apples\', \'Grapes\'],\n
series: [20, 15, 40]\n
};\n
\n
var options = {\n
labelInterpolationFnc: function(value) {\n
return value[0]\n
}\n
};\n
\n
var responsiveOptions = [\n
[\'screen and (min-width: 640px)\', {\n
chartPadding: 30,\n
labelOffset: 100,\n
labelDirection: \'explode\',\n
labelInterpolationFnc: function(value) {\n
return value;\n
}\n
}],\n
[\'screen and (min-width: 1024px)\', {\n
labelOffset: 80,\n
chartPadding: 20\n
}]\n
];\n
\n
new Chartist.Pie(\'.ct-chart\', data, options, responsiveOptions);</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>540</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>pie-with-custom-labels.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273039.81</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>simple-configuration-chart.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>// Our labels and three data series\n
var data = {\n
labels: [\'Week1\', \'Week2\', \'Week3\', \'Week4\', \'Week5\', \'Week6\'],\n
series: [\n
[5, 4, 3, 7, 5, 10],\n
[3, 2, 9, 5, 4, 6],\n
[2, 1, -3, -4, -2, 0]\n
]\n
};\n
\n
// We are setting a few options for our chart and override the defaults\n
var options = {\n
// Don\'t draw the line chart points\n
showPoint: false,\n
// Disable line smoothing\n
lineSmooth: false,\n
// X-Axis specific configuration\n
axisX: {\n
// We can disable the grid for this axis\n
showGrid: false,\n
// and also don\'t show the label\n
showLabel: false\n
},\n
// Y-Axis specific configuration\n
axisY: {\n
// Lets offset the chart a bit from the labels\n
offset: 60,\n
// The label interpolation function enables you to modify the values\n
// used for the labels on each axis. Here we are converting the\n
// values into million pound.\n
labelInterpolationFnc: function(value) {\n
return \'$\' + value + \'m\';\n
}\n
}\n
};\n
\n
// All you need to do is pass your configuration as third parameter to the chart function\n
new Chartist.Line(\'.ct-chart\', data, options);\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1096</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>simple-configuration-chart.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273037.79</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>simple-gauge-chart.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Pie(\'.ct-chart\', {\n
series: [20, 10, 30, 40]\n
}, {\n
donut: true,\n
donutWidth: 60,\n
startAngle: 270,\n
total: 200,\n
showLabel: false\n
});</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>152</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>simple-gauge-chart.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273036.55</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>simple-line-chart.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Line(\'.ct-chart\', {\n
labels: [\'Monday\', \'Tuesday\', \'Wednesday\', \'Thursday\', \'Friday\'],\n
series: [\n
[12, 9, 7, 8, 5],\n
[2, 1, 3.5, 7, 3],\n
[1, 3, 4, 5, 6]\n
]\n
}, {\n
fullWidth: true,\n
chartPadding: {\n
right: 40\n
}\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>246</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>simple-line-chart.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273053.57</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>simple-pie-chart.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>var data = {\n
series: [5, 3, 4]\n
};\n
\n
var sum = function(a, b) { return a + b };\n
\n
new Chartist.Pie(\'.ct-chart\', data, {\n
labelInterpolationFnc: function(value) {\n
return Math.round(value / data.series.reduce(sum) * 100) + \'%\';\n
}\n
});</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>237</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>simple-pie-chart.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273041.01</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>stacked-bar.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>new Chartist.Bar(\'.ct-chart\', {\n
labels: [\'Q1\', \'Q2\', \'Q3\', \'Q4\'],\n
series: [\n
[800000, 1200000, 1400000, 1300000],\n
[200000, 400000, 500000, 300000],\n
[100000, 200000, 400000, 600000]\n
]\n
}, {\n
stackBars: true,\n
axisY: {\n
labelInterpolationFnc: function(value) {\n
return (value / 1000) + \'k\';\n
}\n
}\n
}).on(\'draw\', function(data) {\n
if(data.type === \'bar\') {\n
data.element.attr({\n
style: \'stroke-width: 30px\'\n
});\n
}\n
});\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>458</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>stacked-bar.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273012.28</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>favicon.ico</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/vnd.microsoft.icon</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAAAAAAAAAAAAAAAAA
AAAAAAD///8A////AP///wDt8vkfnLjetnqf0/d2nNL/dpzS/3ac0v+FptbjqcHjn9zm8z////8A
////AP///wD///8A////AP///wD///8Apr7fn2uRx/9wlsz/dpzS/3ac0v92nNL/dpzS/3ac0v92
nNL/wdLqcv///wD///8A////AP///wD///8A////AM7b7ld6nc7nb5TJ/2qHyf9sicv/dZrR/3ac
0v92nNL/dpzS/7vN6H7///8A////AP///wD///8A////AMjIyEOdnZ17nZ2de8HCwkvS0+c6S1SR
7kRQef9UaIP/WnKS/2+Sw/+7zeh+////AP///wD///8A////AHl6eqczNDX/MzQ1/zM0Nf8zNDX/
QUNG7jY3OPozNDX/MzQ1/zM0Nf82OTz/e5a83uLq9TL///8A////AP///wCWl5eDy8vMP5OTlIc2
Nzj6MzQ1/zM0Nf8zNDX/MzQ1/z5GUP9he6H/YXuh/194nP+9z+l7////AP///wD///8A////APz9
/gOCpdbnaYi0/05edP9VaYX/Tl50/1ZriP90mM3/dpzS/3ac0v+yx+WO+vv9B////wD///8A////
AP///wD///8Av9Hqd3ac0v92nNL/dpzS/3ac0v92nNL/dpzS/3ac0v92nNL/u83ofv///wD///8A
////AP///wD///8A////APT3+xR6n9P3Z4u9/z1Zf/9skcT/PVl//2OGt/92nNL/dpzS/7vN6H7/
//8A////AP///wD///8A////AP///wD///8Ap73dl2mPxf9pj8X/aY/F/2mPxf9pj8X/aY/F/2mP
xf+0x+J+////AP///wD///8A////AP///wB3d3mbHx8i/yIkKf8nLDX/Jyw1/ycsNf8nLDX/Jyw1
/ycsNf8nLDX/IyUr/y0tL+5TU1bCiIiKh////wD///8A////AObm5hy2trdTHx8i/x8fIv8fHyL/
Hx8i/x8fIv8fHyL/Hx8i/3BwcqP///8A////AP///wD///8A////AP///wD///8A8PDxDx8fIv8f
HyL/Hx8i/x8fIv8fHyL/Hx8i/x8fIv9zc3Wf////AP///wD///8A////AP///wD///8A////AM3N
zjcfHyL/Hx8i/x8fIv8fHyL/Hx8i/x8fIv8fHyL/c3N1n////wD///8A////AP///wD///8A////
AP///wCBgYOOHx8i/x8fIv8fHyL/Hx8i/x8fIv8fHyL/Hx8i/0lJS8////8A////AP///wD///8A
////AP///wD///8Ah4eIiEVFSNM7Oz3eHx8i/x8fIv8fHyL/JiYo9zs7Pd5XV1m/////AP///wD/
//8A8B8AAOAPAADwDwAA/g8AAIAHAACgBwAA4AcAAPAPAADwDwAA8A8AAMAAAAD4BwAA+AcAAPgH
AADwBwAA8AcAAA==</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1150</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>favicon.ico</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>helpers</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>helpers</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272963.97</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>chartist-helpers.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>\'use strict\';\n
\n
var fs = require(\'fs\');\n
\n
// Export helpers\n
module.exports.register = function (Handlebars, opt, params) {\n
// The helpers to be exported\n
var helpers = {\n
\n
snippetPath: function (snippetId, snippetLang) {\n
return \'site/code-snippets/\' + snippetId + \'.\' + snippetLang || \'js\';\n
},\n
\n
exampleCode: function(exampleId) {\n
return new Buffer(fs.readFileSync(\'site/examples/\' + exampleId + \'.js\', {\n
encoding: \'utf8\'\n
}), \'utf8\').toString(\'base64\');\n
}\n
};\n
\n
opt = opt || {};\n
for (var helper in helpers) {\n
if (helpers.hasOwnProperty(helper)) {\n
Handlebars.registerHelper(helper, helpers[helper]);\n
}\n
}\n
};\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>668</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>chartist-helpers.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272963.29</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>common-helpers.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* Common Handlebars Helpers\n
* Copyright (c) 2014 Gion Kunz\n
* Licensed under the WTFPL License (WTFPL).\n
*/\n
\'use strict\';\n
\n
var path = require(\'path\');\n
var fs = require(\'fs\');\n
\n
// Export helpers\n
module.exports.register = function (Handlebars, opt, params) {\n
// Loading package.json for later use\n
var pkg = JSON.parse(fs.readFileSync(path.join(process.cwd(), \'package.json\')));\n
\n
function slugify(str) {\n
return str\n
.toLowerCase()\n
.replace(/[^\\w ]+/g,\'\')\n
.replace(/ +/g,\'-\');\n
}\n
\n
// The helpers to be exported\n
var helpers = {\n
\n
pkg: function (key) {\n
return pkg[key];\n
},\n
\n
escape: function(str) {\n
return Handlebars.Utils.escapeExpression(str);\n
},\n
\n
jsonStringify: function(obj) {\n
return JSON.stringify(obj);\n
},\n
\n
slugify: function(str) {\n
return slugify(str);\n
},\n
\n
concat: function() {\n
var arr = [];\n
for(var i = 0; i < arguments.length - 1; i++) {\n
arr[i] = arguments[i];\n
}\n
\n
return arr.join(\'\');\n
},\n
\n
partial: function(name, context) {\n
var partial = Handlebars.partials[name];\n
\n
// Check if partial is not found, invalid or un-compiled and handle accordingly\n
if(!partial) {\n
throw \'Could not find partial with name "\' + name + \'".\';\n
} else if(typeof partial === \'string\') {\n
// Compile partial as its still a string and update Handlebars\n
partial = Handlebars.partials[name] = Handlebars.compile(Handlebars.partials[name]);\n
} else if(typeof partial !== \'function\') {\n
throw \'Found unknown type of partial "\' + name + \'" (\' + typeof Handlebars.partials[name] +\n
\') in Handlebars partial Array => \' + Handlebars.partials;\n
}\n
\n
return new Handlebars.SafeString(partial(context || this));\n
},\n
\n
atob: function(a) {\n
return new Buffer(a, \'base64\').toString(\'utf8\');\n
},\n
\n
btoa: function(b) {\n
return new Buffer(b, \'utf8\').toString(\'base64\');\n
}\n
};\n
\n
opt = opt || {};\n
for (var helper in helpers) {\n
if (helpers.hasOwnProperty(helper)) {\n
Handlebars.registerHelper(helper, helpers[helper]);\n
}\n
}\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>2138</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>common-helpers.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272965.58</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>dox-helpers.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>\'use strict\';\n
\n
var path = require(\'path\'),\n
_ = require(\'lodash\');\n
\n
// Export helpers\n
module.exports.register = function (Handlebars, opt, params) {\n
// The helpers to be exported\n
var helpers = {\n
\n
doxTag: function(doxElement, doxTagType) {\n
return _.find(doxElement.tags, {type: doxTagType});\n
},\n
\n
doxTagProperty: function(doxElement, doxTagType, doxTagProperty) {\n
var doxTag = helpers.doxTag(doxElement, doxTagType);\n
\n
if(doxTag) {\n
return doxTag[doxTagProperty];\n
} else {\n
return doxTag;\n
}\n
},\n
\n
doxHash: function(doxElement) {\n
return [helpers.doxTagProperty(doxElement, \'memberof\', \'string\'),\n
doxElement.ctx.type,\n
doxElement.ctx.name].join(\' \')\n
.toLowerCase()\n
.replace(/[^\\w ]+/g,\'\')\n
.replace(/ +/g,\'-\');\n
},\n
\n
doxTagsOfType: function(doxElement, doxTagType) {\n
return _.filter(doxElement.tags, {type: doxTagType});\n
},\n
\n
doxTransform: function(dox) {\n
return dox.map(function(doxFile) {\n
return {\n
fileName: path.basename(doxFile.file),\n
modules: doxFile.comments.reduce(function(arr, doxElement) {\n
var doxModuleName = helpers.doxTagProperty(doxElement, \'module\', \'string\');\n
\n
if(doxModuleName) {\n
arr.push({\n
name: doxModuleName,\n
description: doxElement.description.summary,\n
isPrivate: doxElement.isPrivate,\n
members: doxFile.comments.filter(function(doxFilterElement) {\n
return helpers.doxTagProperty(doxFilterElement, \'memberof\', \'string\') === doxModuleName;\n
})\n
});\n
}\n
\n
return arr;\n
}, [])\n
};\n
});\n
}\n
\n
};\n
\n
opt = opt || {};\n
for (var helper in helpers) {\n
if (helpers.hasOwnProperty(helper)) {\n
Handlebars.registerHelper(helper, helpers[helper]);\n
}\n
}\n
};\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1929</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>dox-helpers.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272967.3</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>lorem-helper.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* Lorem Handlebars Helpers\n
* Copyright (c) 2014 Gion Kunz\n
* Licensed under the WTFPL License (WTFPL).\n
*/\n
\'use strict\';\n
\n
var seed = require(\'seed-random\');\n
\n
// Export helpers\n
module.exports.register = function (Handlebars, opt, params) {\n
var loremText = \'Lorem ipsum dolor sit amet, consectetur adipiscing elit Nullam in pharetra nisl Mauris dictum fermentum malesuada Donec tincidunt, lectus nec tempor eleifend, sem enim rhoncus nibh, nec ultricies ante lectus sit amet mi Proin cursus dolor in nisl varius elementum Aliquam blandit lobortis adipiscing Proin euismod est non feugiat venenatis Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam ac neque consectetur, ullamcorper neque quis, commodo ligula In ornare tempus feugiat Suspendisse ut pretium dui, at egestas velit Etiam ultricies, nisl quis gravida condimentum, dui nisl congue ligula, porta consectetur est sapien viverra est Donec quis ipsum quis metus luctus porttitor sed id justo Proin ultricies adipiscing dolor, luctus interdum urna ullamcorper sit amet Phasellus mollis erat egestas urna tincidunt viverra Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas Nam est ante, blandit vitae porta sed, consectetur vitae libero Sed sit amet auctor diam, eu ullamcorper nulla Aenean interdum, augue nec ullamcorper aliquam, libero justo pellentesque libero, vitae venenatis velit justo pellentesque enim Nam lobortis tortor non sagittis mollis Integer commodo eget nulla vel tincidunt Cras vitae vestibulum ipsum, a sollicitudin erat Cras feugiat vehicula magna, nec vehicula massa lacinia in Nam cursus arcu cursus felis feugiat, vel tincidunt eros aliquet Sed magna est, tincidunt a porta id, aliquam eu orci Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus Donec nec tempus eros Mauris placerat, nisi sit amet varius venenatis, arcu felis cursus risus, ut ultricies tortor lorem nec massa Integer molestie mattis tortor, nec pretium augue accumsan at Mauris nisi risus, hendrerit in libero a, accumsan tincidunt nunc Ut id volutpat massa Duis mattis tellus ut massa ultricies volutpat Curabitur non ante vel odio tempor condimentum Duis eu sollicitudin risus Pellentesque eget metus\';\n
var loremWords = loremText.split(\' \');\n
var random = seed(loremText);\n
\n
function initCap(str) {\n
return str.toLowerCase().replace(/(?:^|\\s)[a-z]/g, function (m) {\n
return m.toUpperCase();\n
});\n
}\n
\n
function randomInt(min, max) {\n
min = min || (min === 0 ? 0 : -Math.pow(2, 53));\n
max = max || (max === 0 ? 0 : Math.pow(2, 53));\n
\n
return Math.floor(random() * (max - min + 1)) + min;\n
}\n
\n
function n(c, fnc) {\n
for(var i = 0; i < c; i++) fnc(i, c);\n
}\n
\n
function validifyNumber(number, fallback) {\n
// If valid number in string, will be converted\n
number = +number;\n
// undefined, Object, NaN, null etc is not > 0\n
if(number > 0) {\n
return number;\n
} else {\n
return fallback;\n
}\n
}\n
\n
// The helpers to be exported\n
var helpers = {\n
\n
loremWord: function () {\n
return initCap(loremWords[randomInt(0) % loremWords.length].replace(/[,]/g, \'\'));\n
},\n
\n
loremWords: function (count) {\n
count = validifyNumber(count, 1);\n
\n
var words = [];\n
n(count, function() {\n
words.push(loremWords[randomInt(0, loremWords.length)]);\n
});\n
\n
return words.join(\' \');\n
},\n
\n
loremSentence: function() {\n
return helpers.loremWords(randomInt(5, 20)).replace(/^[a-z]/, function(m) {\n
return m.toUpperCase();\n
}) + \'.\';\n
},\n
\n
loremSentences: function(count) {\n
count = validifyNumber(count, 1);\n
\n
var sentences = [];\n
\n
n(count, function() {\n
sentences.push(helpers.loremSentence());\n
});\n
\n
return sentences.join(\' \');\n
},\n
\n
loremParagraph: function () {\n
return helpers.loremSentences(randomInt(4, 10));\n
}\n
};\n
\n
opt = opt || {};\n
for (var helper in helpers) {\n
if (helpers.hasOwnProperty(helper)) {\n
Handlebars.registerHelper(helper, helpers[helper]);\n
}\n
}\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>4115</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>lorem-helper.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>images</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>images</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273033.54</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>chartist-guy.gif</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/gif</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">R0lGODlhhAKsAff9ALOWWbgwCcltS/LZvT8xJEQxGfRuTrsxFSUeFvPYtDUzMexwUPTWvTgzMoxz
XeFzUzozLOrWws55WrAzGegfAJ42Hdw3Cea6md9/Xu+hg/28PPCAX/a9W/3TtLKDXotQI9q+m66H
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Vam8wV9vGfmNZTVWDL
xXeuUykQ/eg6nRoAhr5spsvk556iRlCa2nNoV10l8NYAtzHn9HWJQiZdb9XV+7Z0bWNk4/mCOrbH
TpJ72xzpcI+73OdO97rb/e54z/tWWnCDjuv974AP/GHW9vaFAFzwBT0BzYktjYhoAfGQj7zkWSP1
yX/xCZh/gmADAgA7</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>63225</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>chartist-guy.gif</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273029.85</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>chartist-guy.svg</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/svg+xml</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<svg version="1.1" id="guy" viewBox="0 0 486 486" preserveAspectRatio="xMinYMin meet">\n
<g>\n
<g id="shadows" opacity="0.1">\n
<path d="M55.997,405.221c0,3.051,41.857,5.499,93.509,5.499c51.643,0,93.494-2.448,93.494-5.499\n
c0-3.037-41.851-5.515-93.494-5.515C97.854,399.706,55.997,402.184,55.997,405.221z"/>\n
<path d="M265.91,405.218c0,1.604,25.276,2.895,56.469,2.895c31.186,0,56.458-1.291,56.458-2.895c0-1.6-25.272-2.905-56.458-2.905\n
C291.187,402.313,265.91,403.618,265.91,405.218z"/>\n
<path d="M390.533,405.218c0,1.604,5.264,2.895,11.76,2.895c6.494,0,11.756-1.291,11.756-2.895c0-1.6-5.262-2.905-11.756-2.905\n
C395.797,402.313,390.533,403.618,390.533,405.218z"/>\n
</g>\n
<g id="canvas">\n
<g>\n
<g>\n
<path fill="#844E29" d="M99.383,397.553c-1.92,5.045-5.994,8.171-9.103,6.984l0,0c-3.105-1.187-4.066-6.231-2.144-11.271\n
l27.838-73.037c1.922-5.04,5.999-8.169,9.103-6.986l0,0c3.108,1.187,4.067,6.237,2.147,11.276L99.383,397.553z"/>\n
</g>\n
<g>\n
<path fill="#844E29" d="M196.125,397.553c1.917,5.045,5.997,8.171,9.101,6.984l0,0c3.106-1.187,4.07-6.231,2.147-11.271\n
l-27.838-73.037c-1.922-5.04-5.999-8.169-9.108-6.986l0,0c-3.104,1.187-4.063,6.237-2.143,11.276L196.125,397.553z"/>\n
</g>\n
<g>\n
<rect x="50.055" y="189.846" fill="#EADBC4" width="195.399" height="136.78"/>\n
<path fill="#8C5733" d="M249.363,330.538H46.146v-144.6h203.217V330.538z M53.963,322.721h187.584V193.754H53.963V322.721z"/>\n
</g>\n
</g>\n
</g>\n
<svg id="chart-canvas" x="50.055" y="189.846" width="195.399" height="136.78" viewBox="0 0 195.399 136.78"></svg>\n
<g>\n
<path fill="#231F20" d="M365.406,347.481l0.982,53.303h-8.344l-4.399-40.897c0,0-7.466,1.87-26.572,1.87\n
c-19.109,0-28.33-1.335-28.33-1.335l-11.923,40.59l-8.343-0.133l10.16-53.469l5.705-2.122l68.967-0.797L365.406,347.481z"/>\n
</g>\n
<path fill="#231F20" d="M357.917,400.262c0,0-1.015,2.634-0.089,4.063h6.008v-0.631c0,0,0.641,0.631,3.556,0.664\n
c2.908,0.023,9.429,0.114,11.37-1.115c0,0,1.387-1.072-1.2-1.129c0,0-5.678,0.844-8.738-0.105c0,0-2.31-0.807-2.357-1.708\n
C366.466,400.3,361.666,401.316,357.917,400.262z"/>\n
<path fill="#231F20" d="M287.119,400.262c0,0,1.017,2.634,0.091,4.063h-6.014v-0.631c0,0-0.641,0.631-3.55,0.664\n
c-2.909,0.023-9.425,0.114-11.371-1.115c0,0-1.376-1.072,1.201-1.129c0,0,5.681,0.844,8.746-0.105c0,0,2.298-0.807,2.354-1.708\n
C278.576,400.3,283.386,401.316,287.119,400.262z"/>\n
<g>\n
<path fill="#231F20" d="M367.541,263.194l9.831,8.097l-11.966,77.11c0,0-18.571,3.236-38.553,3.236\n
c-19.991,0-38.216-3.312-38.216-3.312l-13.279-76.988l11.974-7.143l34.154,13.281l42.312-12.768L367.541,263.194z"/>\n
</g>\n
<path fill="#231F20" d="M374.023,270.917c0,0,34.299,3.662,49.058,46.511l-6.689,3.905c0,0-17.488-37.537-42.646-32.047\n
L374.023,270.917z"/>\n
<g>\n
<g>\n
<path fill-rule="evenodd" clip-rule="evenodd" fill="#414042" d="M455.557,147.756c-0.801,5.217-5.587,8.985-10.896,8.468\n
l-6.288-0.81c7.505-87.959,7.051-87.907-2.574-0.154l-17.126-1.765c7.509-87.96,7.059-87.907-2.57-0.154l-7.24-0.805\n
c-5.491-0.534-9.554-5.47-9.018-10.963c6.129-74.353,5.82-73.637-2.561,0.761l-0.138,1.374\n
c-0.566,5.793,3.716,10.997,9.506,11.562l16.726,1.631l-0.83,8.526l6.411,0.626l0.83-8.527l16.727,1.631\n
c5.79,0.564,10.997-3.714,11.561-9.506l0.101-1.376C464.496,72.451,463.787,74.093,455.557,147.756z"/>\n
</g>\n
<path fill-rule="evenodd" clip-rule="evenodd" fill="#844E29" d="M429.494,160.577l-6.416-0.627l-2.663,6.799L397.308,403.73\n
c0,0.01,0,0.016,0,0.023c-0.111,1.092,2.126,2.203,4.991,2.484c2.867,0.278,5.277-0.38,5.383-1.472c0.004-0.01,0-0.016,0-0.023\n
l23.113-237.035L429.494,160.577z"/>\n
</g>\n
<path fill="#D39C76" d="M422.704,316.815l1.037,1.704c0,0,2.687,1.159,3.317,2.059c0.841,1.234,1.401,2.037,1.974,3.851\n
c0.559,1.813-6.853,6.974-8.845,6.324c-1.975-0.652-2.015-3.35-2.015-3.35s-0.445,2.204-0.797,3.158\n
c-0.358,0.982-2.236,1.507-2.921-0.169c-0.728-1.647-0.025-3.652,0.306-5.063c0.323-1.405,1.542-3.278,1.542-3.278l0.266-2.204\n
L422.704,316.815z"/>\n
<g>\n
<path fill="#D39C76" d="M223.65,272.968l-2.672-1.159c0,0-2.254,0.328-3.31-0.209c-1.41-0.712-3.899-2.577-5.352-3.995\n
c-1.447-1.416-2.411-3.148-2.687-4.152c-0.464-1.767,2.708-6.679,4.91-7.092c2.188-0.384,8.052,4.366,8.052,4.366\n
s-0.71-2.315-0.864-3.397c-0.146-1.088,1.344-2.521,2.846-1.325c1.497,1.221,1.849,3.445,2.256,4.937\n
c0.401,1.505,0.205,3.858,0.205,3.858l0.854,2.196L223.65,272.968z"/>\n
<path fill="#231F20" d="M275.358,271.338c0,0-23.175,16.36-47.895-5.434l-4.644,6.707c0,0,20.482,22.947,60.228,13.9\n
L275.358,271.338z"/>\n
</g>\n
<g>\n
<path fill="#D70206" d="M364.686,283.888c-1.819-3.882-2.165-9.354-1.941-14.52c-5.225,3.139-13.096,7.187-22.706,10.078\n
c-5.585,8.248-13.825,13.896-13.825,13.896l-2.406,53.768l6.616,9.878c0,0,11.415-4.414,21.338-6.726\n
c9.915-2.306,23.438-4.831,23.438-4.831s-3.114-11.776-3-24.361c0.062-7.8,3-23.522,3-23.522S369.188,293.556,364.686,283.888z"/>\n
</g>\n
<g>\n
<path fill="#D70206" d="M324.613,292.854l0.471-0.328c0.023-0.004,0.431-0.299,1.129-0.82c-2.197-1.732-5.705-4.76-8.937-8.645\n
c-8.197,0.158-16.934-1.004-25.899-4.224c-0.318,1.837-0.773,3.569-1.466,5.051c-4.519,9.668-10.528,13.659-10.528,13.659\n
s2.938,15.723,3.01,23.522c0.104,12.585-3.01,24.361-3.01,24.361s13.522,2.525,23.445,4.831c9.926,2.312,21.35,6.726,21.35,6.726\n
l2.23-3.332l-4.224-6.309L324.613,292.854z"/>\n
</g>\n
<path fill="#231F20" d="M337.912,337.627c-0.133,2.848-2.553,5.051-5.396,4.912c-2.855-0.132-5.049-2.549-4.916-5.396\n
c0.132-2.852,2.549-5.049,5.4-4.916C335.844,332.359,338.051,334.775,337.912,337.627z"/>\n
<path fill="#231F20" d="M339.284,308.496c-0.132,2.852-2.559,5.051-5.4,4.916c-2.854-0.132-5.051-2.547-4.912-5.4\n
c0.133-2.848,2.543-5.049,5.395-4.912C337.214,303.232,339.417,305.648,339.284,308.496z"/>\n
<path fill="#231F20" d="M338.601,323.063c-0.133,2.848-2.558,5.049-5.401,4.916c-2.852-0.132-5.051-2.553-4.916-5.4\n
c0.133-2.848,2.547-5.051,5.4-4.918C336.525,317.795,338.732,320.215,338.601,323.063z"/>\n
<g id="head">\n
<g>\n
<path fill="#75543B" d="M316.574,211.633c0,0,8.435,31.83-21.068,31.83l26.222,9.832l21.53-27.049L316.574,211.633z"/>\n
<path fill="#B24949" d="M334.372,239.252c0,0-22.004-9.845-31.367,7.018l19.658,5.608L334.372,239.252z"/>\n
</g>\n
<g>\n
<path fill="#D39C76" d="M295.506,242.203c11.187,6.773,26.598,4.005,32.273,0.256c8.082-5.339,8.306-19.212,5.661-20.375\n
c-0.915-0.407-11.94,8.321-31.836,0.466l2.335-21.066l-31.826-1.407l22.467-66.457c0,0,37.447-18.722,74.884,0v67.299\n
c1.993-0.861,4.044-1.032,5.877-0.266c4.642,1.956,6.093,9.043,3.245,15.835c-2.003,4.744-5.563,8.021-9.122,8.941v39.227\n
c0,0-38.372,30.437-80.969,13.105c0,0-13.222-4.966-12.34-21.7C276.155,256.062,275.393,245.005,295.506,242.203z"/>\n
</g>\n
<path fill="#BF8862" d="M289.241,267.313c4.742,0,9.64-3.363,9.933-3.577l-0.529-0.765c-0.105,0.061-9.665,6.634-14.415,1.253\n
c-2.742-3.104-2.925-5.976-2.606-7.854c0.394-2.244,1.757-4.254,3.542-5.244c1.931-1.078,5.049-1.715,7.636-0.731\n
c1.627,0.612,2.729,1.752,3.328,3.407c0.929,2.61-0.285,4.501-1.084,5.396c-1.391,1.566-3.56,2.435-5.13,2.061\n
c-1.681-0.39-3.176-1.904-3.488-3.526c-0.17-0.822-0.075-2.017,1.306-2.996c0.844-0.587,1.613-0.769,2.287-0.587\n
c1.149,0.36,1.713,1.764,1.723,1.784l0.864-0.347c-0.023-0.081-0.731-1.847-2.315-2.321c-0.959-0.295-2.01-0.052-3.108,0.708\n
c-1.387,0.973-1.976,2.373-1.671,3.939c0.379,1.993,2.146,3.763,4.193,4.247c1.905,0.432,4.448-0.535,6.038-2.345\n
c1.619-1.808,2.07-4.059,1.268-6.341c-0.675-1.88-2.014-3.261-3.878-3.953c-2.848-1.087-6.293-0.399-8.425,0.787\n
c-2.044,1.116-3.573,3.394-4,5.905c-0.366,2.078-0.166,5.263,2.813,8.632C285.136,266.673,287.166,267.313,289.241,267.313z"/>\n
<g>\n
<path fill="#634128" d="M322.743,167.376c0,2.438,3.327,4.407,7.373,4.407c4.08,0,7.384-1.97,7.384-4.407\n
s-3.304-4.409-7.384-4.409C326.07,162.967,322.743,164.938,322.743,167.376z"/>\n
<path fill="#634128" d="M300.015,167.376c0,2.438,3.228,4.407,7.232,4.407c4.003,0,7.253-1.97,7.253-4.407\n
s-3.25-4.409-7.253-4.409C303.242,162.967,300.015,164.938,300.015,167.376z"/>\n
</g>\n
<g>\n
<path fill="#231F20" d="M370.385,133.598c-0.033-0.007-0.066-0.014-0.108-0.021c-0.062-9.229-0.081-21.111,0.133-28.556\n
c0.66-22.939,7.451-32.7,2.102-33.735c-5.353-1.034-17.218-3.519-41.704-3.519c-21.931,0-38.58,3.105-43.791,4.138\n
c-5.212,1.037,3.649,19.666,5.211,33.116c0.736,6.313,0.783,15.91,0.621,24.336c-17.873,3.106-28.286,10.71-30.616,17.658h154.12\n
C416.352,147.015,403.171,140.195,370.385,133.598z"/>\n
</g>\n
<path fill="#353433" d="M311.12,223.019c16.584,17.84,55.861,14.924,58.319-13.076c0.729-8.251-2.638-2.152-5.784,0.342\n
c-4.637,3.675-13.508,3.738-18.191,0.054c-8.121-6.398-21.927-25.92-34.344-11.528c-12.648-14.393-26.71,5.13-34.988,11.528\n
c-4.764,3.684-13.806,3.621-18.527-0.054c-3.204-2.495-6.631-8.593-5.896-0.342C254.215,237.943,294.234,240.859,311.12,223.019z"\n
/>\n
<g>\n
<polygon fill="#BF8862" points="369.464,147.015 290.052,147.015 287.353,155 369.464,155 \t\t\t"/>\n
</g>\n
</g>\n
</g>\n
</svg>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>9215</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>chartist-guy.svg</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273034.02</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>chartist-icon.svg</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/svg+xml</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<?xml version="1.0" encoding="utf-8"?>\n
<!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->\n
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">\n
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n
\t viewBox="0 0 32 32" enable-background="new 0 0 32 32" xml:space="preserve">\n
<g id="head">\n
\t<g>\n
\t\t<path fill="#75543B" d="M13.8,20.6c0,0,1.6,5-3.9,5l4.9,1.5l4-4.2L13.8,20.6z"/>\n
\t\t<path fill="#B24949" d="M17.1,25c0,0-4.1-1.5-5.9,1.1l3.7,0.9L17.1,25z"/>\n
\t</g>\n
\t<g>\n
\t\t<path fill="#D39C76" d="M9.9,25.4c2.1,1.1,5,0.6,6,0c1.5-0.8,1.5-3,1.1-3.2c-0.2-0.1-2.2,1.3-5.9,0.1l0.4-3.3l-5.9-0.2L9.7,8.4\n
\t\t\tc0,0,7-2.9,14,0v10.6c0.4-0.1,0.8-0.2,1.1,0c0.9,0.3,1.1,1.4,0.6,2.5c-0.4,0.7-1,1.3-1.7,1.4v6.2c0,0-7.2,4.8-15.1,2.1\n
\t\t\tc0,0-2.5-0.8-2.3-3.4C6.3,27.6,6.1,25.9,9.9,25.4z"/>\n
\t</g>\n
\t<g>\n
\t\t<path fill="#634128" d="M15.1,14.4c0,0.5,0.9,1,1.9,1c1.1,0,1.9-0.4,1.9-1c0-0.5-0.9-1-1.9-1C16,13.4,15.1,13.9,15.1,14.4z"/>\n
\t\t<path fill="#634128" d="M9.7,14.4c0,0.5,0.8,1,1.9,1c1,0,1.9-0.4,1.9-1s-0.8-1-1.9-1C10.5,13.5,9.7,13.9,9.7,14.4z"/>\n
\t</g>\n
\t<g>\n
\t\t<path fill="#231F20" d="M23.8,10.5C23.8,10.5,23.8,10.5,23.8,10.5c0-1.5,0-3.3,0-4.5c0.1-3.6,1.4-5.1,0.4-5.3\n
\t\t\tc-1-0.2-3.2-0.6-7.8-0.6c-4.1,0-7.2,0.5-8.2,0.6C7.3,1,9,3.9,9.3,6c0.1,1,0.1,2.5,0.1,3.8c-3.3,0.5-5.3,1.7-5.7,2.8h26.6\n
\t\t\tC30.3,12.6,30,11.5,23.8,10.5z"/>\n
\t</g>\n
\t<path fill="#353433" d="M12.8,22.4c3.1,2.8,10.4,2.3,10.9-2.1c0.1-1.3-0.5-0.3-1.1,0.1c-0.9,0.6-2.5,0.6-3.4,0\n
\t\tc-1.5-1-4.1-4.1-6.4-1.8c-2.4-2.3-5,0.8-6.5,1.8c-0.9,0.6-2.6,0.6-3.5,0c-0.6-0.4-1.2-1.3-1.1-0.1C2.2,24.7,9.6,25.2,12.8,22.4z"/>\n
</g>\n
</svg>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1707</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>chartist-icon.svg</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>layouts</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>layouts</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273063.5</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>content.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
---\n
layout: default\n
---\n
<section class="page-content {{page-class}}">\n
{{>navigation}}\n
<article class="main" role="main">\n
<header>\n
<h2>{{title}}</h2>\n
</header>\n
\n
{{#if page.side-nav}}\n
{{partial page.side-nav this}}\n
{{else}}\n
{{>side-navigation}}\n
{{/if}}\n
\n
<div class="content">\n
{{>body}}\n
</div>\n
</article>\n
</section>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>370</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>content.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273063.93</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>default.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<!doctype html>\n
<!--[if lt IE 7]>\n
<html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->\n
<!--[if IE 7]>\n
<html class="no-js lt-ie9 lt-ie8"> <![endif]-->\n
<!--[if IE 8]>\n
<html class="no-js lt-ie9"> <![endif]-->\n
<!--[if gt IE 8]><!-->\n
<html class="no-js"> <!--<![endif]-->\n
<head>\n
<meta charset="utf-8">\n
<meta http-equiv="X-UA-Compatible" content="IE=edge">\n
<title>{{ title }}</title>\n
<meta name="description" content="{{ description }}">\n
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />\n
<!-- build:css(site) styles/vendor.css -->\n
<link rel="stylesheet" href="bower_components/codemirror/lib/codemirror.css" />\n
<link rel="stylesheet" href="bower_components/foundation/css/normalize.css"/>\n
<!-- endbuild -->\n
<!-- build:css({.tmp,site}) styles/main.css -->\n
<link rel="stylesheet" href="styles/main.css">\n
<!-- endbuild -->\n
</head>\n
<body>\n
\n
{{> body }}\n
\n
<script>\n
(function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\n
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n
})(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');\n
\n
ga(\'create\', \'UA-53685926-1\', \'auto\');\n
ga(\'require\', \'displayfeatures\');\n
ga(\'send\', \'pageview\');\n
</script>\n
\n
<!-- build:js({site,src}) scripts/all.js -->\n
<!-- Vendor scripts-->\n
<script src="bower_components/modernizr/modernizr.js"></script>\n
<script src="bower_components/jquery/dist/jquery.js"></script>\n
<script src="bower_components/snap.svg/dist/snap.svg-min.js"></script>\n
<script src="bower_components/fastclick/lib/fastclick.js"></script>\n
<script src="bower_components/jquery.cookie/jquery.cookie.js"></script>\n
<script src="bower_components/jquery-placeholder/jquery.placeholder.js"></script>\n
<script src="bower_components/foundation/js/foundation.js"></script>\n
<script src="bower_components/highlightjs/highlight.pack.js"></script>\n
<script src="bower_components/codemirror/lib/codemirror.js"></script>\n
<script src="bower_components/base64/base64.js"></script>\n
<script src="bower_components/codemirror/mode/javascript/javascript.js"></script>\n
<script src="bower_components/matchMedia/matchMedia.js"></script>\n
<script src="bower_components/matchMedia/matchMedia.addListener.js"></script>\n
\n
<!-- Chartist scripts -->\n
<script src="scripts/core.js"></script>\n
<script src="scripts/interpolation.js"></script>\n
<script src="scripts/event.js"></script>\n
<script src="scripts/class.js"></script>\n
<script src="scripts/base.js"></script>\n
<script src="scripts/svg.js"></script>\n
<script src="scripts/svg-path.js"></script>\n
<script src="scripts/axes/axis.js"></script>\n
<script src="scripts/axes/auto-scale-axis.js"></script>\n
<script src="scripts/axes/fixed-scale-axis.js"></script>\n
<script src="scripts/axes/step-axis.js"></script>\n
<script src="scripts/charts/line.js"></script>\n
<script src="scripts/charts/bar.js"></script>\n
<script src="scripts/charts/pie.js"></script>\n
\n
<!-- Chartist plugins -->\n
<script src="bower_components/chartist-plugin-pointlabels/dist/chartist-plugin-pointlabels.js"></script>\n
<script src="bower_components/chartist-plugin-sketchy/dist/chartist-plugin-sketchy.js"></script>\n
<script src="bower_components/chartist-plugin-accessibility/dist/chartist-plugin-accessibility.js"></script>\n
<script src="bower_components/chartist-plugin-tooltip/dist/chartist-plugin-tooltip.js"></script>\n
<script src="bower_components/chartist-plugin-axistitle/dist/chartist-plugin-axistitle.js"></script>\n
<script src="bower_components/chartist-plugin-threshold/dist/chartist-plugin-threshold.js"></script>\n
\n
<!-- Chartist site scripts -->\n
<script src="scripts/main.js"></script>\n
<script src="scripts/chartist-guy.js"></script>\n
<!-- endbuild -->\n
\n
<!-- Take web fonts off the critical path but risk FOUT -->\n
<script type="text/javascript">\n
WebFontConfig = {\n
google: { families: [\'Oxygen:400,300,700\', \'Source+Code+Pro:400,700\'] },\n
custom: {\n
families: [ \'FontAwesome\' ],\n
urls: [ \'//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css\']\n
}\n
};\n
(function() {\n
var wf = document.createElement(\'script\');\n
wf.src = (\'https:\' == document.location.protocol ? \'https\' : \'http\') +\n
\'://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js\';\n
wf.type = \'text/javascript\';\n
wf.async = \'true\';\n
var s = document.getElementsByTagName(\'script\')[0];\n
s.parentNode.insertBefore(wf, s);\n
})();\n
</script>\n
\n
</body>\n
</html>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>4538</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>default.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273064.3</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>landing.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
---\n
layout: default\n
---\n
<section class="page-landing {{page-class}}">\n
<header class="landing-page-header">\n
<div class="introduction-title">Chartist.js\n
<small> Simple responsive charts</small>\n
</div>\n
<div class="limiter">\n
<figure>\n
<svg id="chartist-guy" data-svg-src="images/chartist-guy.svg"></svg>\n
</figure>\n
</div>\n
<div class="library-statement">\n
Only <span class="important">10KB</span> (Gzip) with <span class="important">no dependencies</span>!\n
</div>\n
<div class="call-to-action">\n
<a class="button large download" href="https://github.com/gionkunz/chartist-js/tree/develop/dist" target="_blank" data-icon="&#xf019;">Download</a>\n
<a class="button large contribute" href="https://github.com/gionkunz/chartist-js" target="_blank" data-icon="&#xf09b;">Contribute</a>\n
</div>\n
</header>\n
\n
{{> navigation }}\n
\n
<article class="main" role="main">\n
<header>\n
<h2>{{title}}</h2>\n
</header>\n
<div class="content">\n
{{> body }}\n
</div>\n
</article>\n
</section>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1055</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>landing.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>partials</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>partials</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273028.17</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>api-side-navigation.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<aside class="side-navigation">\n
<nav>\n
<ul class="side-nav">\n
{{#each (doxTransform apidox)}}\n
{{#each modules}}\n
<li class="heading">{{name}}</li>\n
{{#each members}}\n
<li><a class="text-clipping" href="#{{doxHash this}}">{{ctx.string}}</a></li>\n
{{/each}}\n
{{/each}}\n
{{/each}}\n
</ul>\n
</nav>\n
</aside>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>373</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>api-side-navigation.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273020.03</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>browser-support-table.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<table class="brwsrsup">\n
<thead>\n
<tr>\n
<td></td>\n
{{#each browsers}}\n
<th class="brwsrsup__browser">{{this}}</th>\n
{{/each}}\n
</tr>\n
</thead>\n
<tbody>\n
{{#each features}}\n
<tr>\n
<th class="brwsrsup__feature">{{name}}</th>\n
{{#each browsers}}\n
<td data-browser="{{name}}" class="brwsrsup__support brwsrsup__support--{{status}}">\n
<span class="brwsrsup__visually-hidden">{{text}}</span>\n
</td>\n
{{/each}}\n
</tr>\n
{{/each}}\n
</tbody>\n
</table>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>501</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>browser-support-table.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273027.37</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>code-snippet.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
{{#if button}}<button class="button" data-toggle-visible="#{{id}}">{{button}}</button>{{/if}}\n
{{! if path is there then we load the file and escape in path otherwise we lookup a file called id.lang (index.html,\n
test.js etc.) }}\n
<pre id="{{id}}"><code class="{{lang}}">{{#if path}}{{glob path}}{{else}}{{glob (snippetPath id lang)}}{{/if}}</code></pre>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>355</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>code-snippet.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273024.55</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>code.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
{{#if button}}<button class="button" data-toggle-visible="#{{id}}">{{button}}</button>{{/if}}\n
<pre{{#if id}} id="{{id}}"{{/if}}><code class="{{lang}}">{{code}}</code></pre>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>172</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>code.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>dox</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>dox</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273023.11</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>dox-member.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<article class="module-member {{ctx.type}}">\n
<header class="member-header">\n
<h5 class="member-title" id="{{doxHash this}}"><span class="member-tag">{{ctx.type}}</span> {{ctx.string}}</h5>\n
<button class="api-code-button" data-toggle-visible="#{{concat (doxHash this) \'-code\'}}">Show code</button>\n
</header>\n
<pre id="{{concat (doxHash this) \'-code\'}}">\n
<code class="javascript">{{code}}</code>\n
</pre>\n
<div class="member-content">\n
<div class="description">{{{description.summary}}}</div>\n
\n
{{#if (doxTagsOfType this \'param\')}}\n
<h6>Parameters</h6>\n
{{#each (doxTagsOfType this \'param\')}}\n
<div class="param">\n
<code>{{name}}</code>\n
({{#each types}}\n
<span class="param-type"><code>{{this}}</code></span>\n
{{/each}})\n
<div class="param-description">{{description}}</div>\n
</div>\n
{{/each}}\n
{{/if}}\n
\n
{{#if (doxTagsOfType this \'return\')}}\n
{{#with (doxTag this \'return\')}}\n
<h6>Returns</h6>\n
\n
<div class="return">\n
({{#each types}}\n
<span class="param-type"><code>{{this}}</code></span>\n
{{/each}})\n
<div class="param-description">{{description}}</div>\n
</div>\n
{{/with}}\n
{{/if}}\n
\n
{{#if (doxTagsOfType this \'example\')}}\n
<h6>Examples</h6>\n
{{#each (doxTagsOfType this \'example\')}}\n
<pre class="api-example"><code class="js">{{string}}</code></pre>\n
{{/each}}\n
{{/if}}\n
\n
</div>\n
\n
</article>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1499</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>dox-member.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273023.63</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>dox-module.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<section class="sub-section">\n
<header>\n
<h4 id="{{slugify (concat \'module \' name)}}">\n
Module {{name}}\n
</h4>\n
<div class="module-description">\n
{{{description}}}\n
</div>\n
<div class="module-members">\n
{{#each members}}\n
{{>dox-member}}\n
{{/each}}\n
</div>\n
</header>\n
</section>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>325</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>dox-module.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273022.57</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>dox-section.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<section class="documentation-section full">\n
<header>\n
<h3>{{fileName}}</h3>\n
</header>\n
<div class="content">\n
{{#each modules}}\n
{{>dox-module}}\n
{{/each}}\n
</div>\n
\n
<aside class="side-notes">\n
\n
</aside>\n
</section>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>237</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>dox-section.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273020.68</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>example-chart.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<div id="{{id}}" class="ct-chart{{#if classes}} {{classes}}{{/if}}" data-example="{{exampleCode id}}"></div>\n
{{#if show-code-button}}\n
<button class="button" data-toggle-visible="#{{id}}-code">{{show-code-button}}</button>\n
<pre id="{{id}}-code"><code class="js">{{atob (exampleCode id)}}</code></pre>\n
{{/if}}
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>311</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>example-chart.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273027.8</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>heading.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<h{{#if level}}{{level}}{{else}}1{{/if}}\n
id="{{#if id}}{{id}}{{else}}{{slugify title}}{{/if}}">{{title}}</h{{#if level}}{{level}}{{else}}1{{/if}}>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>150</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>heading.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273026.89</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>hint.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<div class="hint{{#if classes}} {{classes}}{{/if}}">\n
<div class="title">{{title}}</div>\n
<div class="content">{{{text}}}</div>\n
</div>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>136</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>hint.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273025.53</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>live-example.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<section class="live-example"{{#if id}} id="{{id}}"{{/if}}\n
data-live-example="{{exampleCode id}}">\n
{{#if title}}\n
<header class="live-example-header">\n
<h{{level}}>{{title}}</h{{level}}>\n
</header>\n
{{/if}}\n
<div class="chart">\n
<div class="ct-chart{{#if classes}} {{classes}}{{/if}}"></div>\n
</div>\n
<aside class="live-code">\n
<div class="introduction">\n
<p class="text">{{{intro}}}</p>\n
<button class="edit-button">Edit Example</button>\n
</div>\n
<div class="editor-area">\n
<textarea class="code-editor"></textarea>\n
<button class="close-edit-button">Close Editor</button>\n
</div>\n
</aside>\n
</section>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>665</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>live-example.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273019.37</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>navigation.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<div class="contain-to-grid sticky">\n
<nav class="top-bar" data-topbar data-options="sticky_on: large">\n
<ul class="title-area">\n
<li class="name">\n
<h1><a href="index.html">Chartist.js</a></h1>\n
</li>\n
<li class="toggle-topbar menu-icon"><a href="#">Menu</a></li>\n
</ul>\n
\n
<section class="top-bar-section">\n
<ul class="right">\n
<li><a href="//github.com/gionkunz/chartist-js/tree/master/dist" target="_blank">Download</a></li>\n
</ul>\n
\n
<ul class="left">\n
<li><a href="getting-started.html">Getting started</a></li>\n
<li><a href="api-documentation.html">API Documentation</a></li>\n
<li><a href="examples.html">Examples</a></li>\n
<li><a href="plugins.html">Plugins</a></li>\n
<li><a href="//github.com/gionkunz/chartist-js" target="_blank">Contribute</a></li>\n
</ul>\n
</section>\n
</nav>\n
</div>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>890</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>navigation.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273025.89</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>section.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<section class="documentation-section{{#unless side-notes}} full{{/unless}}">\n
<header>\n
{{>heading}}\n
</header>\n
<div class="content">\n
{{#each items}}\n
{{partial type data}}\n
{{/each}}\n
</div>\n
\n
{{#if side-notes}}\n
<aside class="side-notes">\n
{{#each side-notes}}\n
{{partial type data}}\n
{{/each}}\n
</aside>\n
{{/if}}\n
</section>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>372</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>section.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273024.12</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>side-navigation.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<aside class="side-navigation">\n
<nav>\n
<ul class="side-nav">\n
{{#each page.sections}}\n
<li class="heading">{{title}}</li>\n
{{#each items}}\n
{{#is type \'sub-section\'}}\n
<li><a class="text-clipping" href="#{{#if id}}{{id}}{{else}}{{slugify data.title}}{{/if}}">{{data.title}}</a></li>\n
{{/is}}\n
\n
{{#is type \'live-example\'}}\n
<li><a class="text-clipping" href="#{{#if id}}{{id}}{{else}}{{slugify data.title}}{{/if}}">{{data.title}}</a></li>\n
{{/is}}\n
{{/each}}\n
{{/each}}\n
</ul>\n
</nav>\n
</aside>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>591</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>side-navigation.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273021.29</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>sub-section.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<div class="sub-section">\n
{{>heading}}\n
{{#each items}}\n
{{partial type data}}\n
{{/each}}\n
</div>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>103</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>sub-section.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273026.32</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>table.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
{{#if button}}<a href="#" class="button" data-toggle-visible="#{{id}}">{{button}}</a>{{/if}}\n
<table id="{{id}}" role="presentation">\n
{{#if header}}\n
<thead>\n
<tr>\n
{{#each header}}\n
<th>{{this}}</th>\n
{{/each}}\n
</tr>\n
</thead>\n
{{/if}}\n
\n
<tbody>\n
{{#each rows}}\n
<tr>\n
{{#each this}}\n
<td>{{{this}}}</td>\n
{{/each}}\n
</tr>\n
{{/each}}\n
</tbody>\n
</table>\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>431</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>table.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273025.03</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>text.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<p>{{{text}}}</p>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>17</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>text.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273013.73</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>robots.txt</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/plain</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string># robotstxt.org\n
\n
User-agent: *\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>31</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>robots.txt</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>scripts</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>scripts</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273055.62</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>chartist-guy.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
(function(){\n
\'use strict\';\n
\n
// Chartist guy data chart data and options\n
var optionsChartistGuy = {\n
width: 195,\n
height: 137,\n
chartPadding: {\n
top: 15,\n
right: 10,\n
bottom: 10,\n
left: 10\n
},\n
axisX: {\n
offset: 15,\n
showLabel: true,\n
showGrid: true,\n
labelInterpolationFnc: function(n) {\n
return n;\n
}\n
},\n
axisY: {\n
offset: 25,\n
showLabel: true,\n
labelOffset: {\n
y: 5\n
},\n
showGrid: true,\n
scaleMinSpace: 15,\n
labelInterpolationFnc: function(n) {\n
return Math.round(n / 100000) / 10 + \'m.\';\n
}\n
}\n
};\n
\n
var chartistGuyData = {\n
labels: [\'1st\', \'2nd\', \'3rd\'],\n
series: [\n
{\n
name: \'Workers\',\n
data: [1283000, 1500000, 5706000]\n
},\n
{\n
name: \'Nobles\',\n
data: [1883000, 2050000, 3706000]\n
}\n
]\n
};\n
\n
var $chartistGuyElement = $(\'#chartist-guy\');\n
if($chartistGuyElement.length > 0) {\n
\n
// Create new snap object from SVG\n
var chartistGuySnap = Snap($chartistGuyElement.get(0));\n
// Load Chartist guy SVG\n
Snap.load($chartistGuyElement.data(\'svgSrc\'), function (fragment) {\n
chartistGuySnap.append(fragment);\n
\n
// Add line chart to canvas of Chartist guy :-)\n
window.Chartist.Line($chartistGuyElement.find(\'#chart-canvas\').get(0), chartistGuyData, optionsChartistGuy);\n
});\n
}\n
}());\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1409</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>chartist-guy.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273055.24</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>main.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
\'use strict\';\n
\n
// Initialize highlight.js\n
window.hljs.initHighlightingOnLoad();\n
\n
function evalChartistCode(code, chartElement) {\n
// Modify the code to use a proper selector using the ID of the example as well as return the Chartist object\n
var modified = code.replace(/.*Chartist\\s*\\.\\s*(.+)\\(\\s*[\'"](.+)[\'"]/, function(match, type) {\n
return [\'var chart = new Chartist.\', type, \'(chartElement\'].join(\'\');\n
}) + \'; return chart;\';\n
\n
// Remove any declaration of $chart as we are passing $chart to our function eval\n
modified = modified.replace(/var \\$chart.+;/, \'\');\n
\n
var $chartElement = $(chartElement).empty();\n
\n
try {\n
// Create function from the modified code and execute it\n
return (new Function([\'chartElement\', \'$chart\'], modified)(chartElement, $chartElement)); // jshint ignore:line\n
} catch(err) {\n
// Maybe show error in the future\n
}\n
}\n
\n
// Generic data-* driven control behaviour\n
$(function() {\n
$(\'[data-toggle-visible]\').each(function() {\n
var $element = $(this),\n
$target = $($element.data(\'toggleVisible\'));\n
\n
$target.addClass(\'invisible\');\n
$element.on(\'click\', function(e) {\n
$target.toggleClass(\'invisible\');\n
e.preventDefault();\n
});\n
});\n
\n
$(\'[data-sticky]\').each(function() {\n
var $element = $(this),\n
initialOffset = $element.offset().top,\n
margin = $element.data(\'sticky\') || 0;\n
\n
$(window).on(\'scroll\', function() {\n
var scrollTop = $(window).scrollTop();\n
\n
if(scrollTop > initialOffset - margin) {\n
$element.css({\n
position: \'relative\',\n
top: scrollTop + margin - initialOffset\n
});\n
} else {\n
$element.css({\n
position: \'\',\n
top: \'\'\n
});\n
}\n
});\n
});\n
\n
$(\'[data-example]\').each(function() {\n
var $element = $(this),\n
code = window.atob($element.data(\'example\'));\n
\n
// Execute the Chartist code immediately\n
evalChartistCode(code, $element.get(0));\n
});\n
\n
$(\'[data-live-example]\').each(function() {\n
var $element = $(this),\n
$editor = $element.find(\'.code-editor\'),\n
initialCode = window.atob($element.data(\'liveExample\')),\n
chartist,\n
cm;\n
\n
function updateChart() {\n
if(chartist) {\n
chartist.update();\n
}\n
}\n
\n
function initializeCodeMirror() {\n
if(cm) {\n
return;\n
}\n
\n
cm = window.CodeMirror.fromTextArea($editor.get(0), {\n
mode: \'javascript\',\n
theme: \'chartist\',\n
lineWrapping: true,\n
indentUnit: 2,\n
tabSize: 2\n
});\n
\n
cm.on(\'change\', function(event) {\n
// Execute the Chartist code once the code gets updated\n
chartist = evalChartistCode(event.doc.getValue(), $element.find(\'.ct-chart\').get(0));\n
});\n
}\n
\n
$element.find(\'.edit-button\').on(\'click\', function() {\n
$element.addClass(\'edit-mode\');\n
updateChart();\n
initializeCodeMirror();\n
});\n
\n
$element.find(\'.close-edit-button\').on(\'click\', function() {\n
$element.removeClass(\'edit-mode\');\n
updateChart();\n
});\n
\n
$editor.val(initialCode);\n
\n
// Execute the Chartist code immediately\n
chartist = evalChartistCode(initialCode, $element.find(\'.ct-chart\').get(0));\n
});\n
});\n
\n
// Initialize foundation\n
$(document).foundation({\n
topbar: {\n
scrolltop: false\n
}\n
});\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>3296</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>main.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>styles</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>styles</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273011.02</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>main.scss</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
@import "settings/chartist-docs";\n
@import "settings/foundation";\n
@import "settings/font-awesome-variables";\n
\n
@import "modules";\n
\n
@import "../../src/styles/settings/chartist-settings";\n
@import "../../src/styles/chartist";\n
\n
@import "compass-mixins/lib/compass/css3";\n
@import "foundation/scss/normalize";\n
@import "foundation/scss/foundation";\n
@import "base";\n
@import "landing";\n
@import "highlight";\n
@import "code-mirror-theme";\n
@import "api-doc";\n
@import "live-example";\n
@import "example-charts";\n
\n
.button {\n
text-transform: uppercase;\n
box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);\n
}\n
\n
.invisible {\n
display: block !important;\n
max-height: 0;\n
overflow: hidden;\n
visibility: hidden;\n
}\n
\n
.text-clipping {\n
white-space: nowrap;\n
text-overflow: ellipsis;\n
overflow: hidden;\n
}\n
\n
.hint {\n
position: relative;\n
margin-top: rem-calc(nth($modular-scale, 5));\n
margin-bottom: rem-calc(nth($modular-scale, 5));\n
padding: rem-calc(nth($modular-scale, 5));\n
background: $color-gray;\n
color: lighten($color-white, 10%);\n
\n
> .title {\n
font-size: rem-calc(nth($modular-scale, 4));\n
text-transform: uppercase;\n
font-weight: 600;\n
margin-bottom: 0.5rem;\n
color: lighten($color-black, 20%);\n
}\n
\n
a {\n
color: $color-yellow;\n
&:hover {\n
color: lighten($color-yellow, 10%);\n
}\n
}\n
\n
&[class*="hint-"] {\n
padding-left: 5.2rem;\n
\n
&.hint-cross-browser {\n
@include icon($fa-var-arrows-alt, 3rem);\n
}\n
\n
&:before {\n
position: absolute;\n
left: rem-calc(nth($modular-scale, 5));\n
top: rem-calc(nth($modular-scale, 5));\n
font-size: 3rem;\n
color: lighten($color-black, 5%);\n
}\n
}\n
}\n
\n
.tooltip {\n
position: absolute;\n
display: inline-block;\n
min-width: 5em;\n
padding: 0.5em;\n
background: $color-yellow;\n
color: $color-black;\n
font-weight: 700;\n
text-align: center;\n
pointer-events: none;\n
z-index: 1;\n
\n
&:after {\n
content: "";\n
position: absolute;\n
top: 100%;\n
left: 50%;\n
width: 0;\n
height: 0;\n
margin-left: -15px;\n
border: 15px solid transparent;\n
border-top-color: $color-yellow;\n
}\n
}\n
\n
code {\n
font-family: "Source Code Pro", "Courier New", monospace !important;\n
word-wrap: break-word;\n
}\n
\n
.sticky.contain-to-grid {\n
box-shadow: 0 3px 0 rgba(0, 0, 0, 0.3);\n
\n
&.fixed, .page-content & {\n
.top-bar .name h1 a:before {\n
content: "";\n
display: inline-block;\n
width: 34px;\n
height: 34px;\n
margin-top: -4px;\n
margin-right: 10px;\n
vertical-align: middle;\n
border-radius: 50%;\n
border: 2px solid #F4C63D;\n
background-size: 32px 32px;\n
background: #F4C63D url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwIDAgMzIgMzIiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnIGlkPSJoZWFkIj48cGF0aCBmaWxsPSIjNzU1NDNCIiBkPSJNMTMuOCAyMC42czEuNiA1LTMuOS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S0xLTQuMS00LjEtNi40LTEuOC0yLjQtMi4zLTUgLjgtNi41IDEuOC0uOS42LTIuNi42LTMuNSAwLS42LS40LTEuMi0xLjMtMS4xLS4xLjUgNC40IDcuOSA0LjkgMTEuMSAyLjF6Ii8+PC9nPjwvc3ZnPg==") no-repeat center;\n
}\n
}\n
}\n
\n
.ct-chart {\n
margin-bottom: 1rem;\n
}\n
\n
.ct-chart-pie .ct-label, .ct-chart-donut .ct-label {\n
font-size: 1em;\n
\n
@media #{$small-only} {\n
fill: rgba(255, 255, 255, 0.8);\n
}\n
}\n
\n
.main {\n
@include grid-row();\n
\n
@media #{$medium-up} {\n
margin-top: rem-calc(nth($modular-scale, 8));\n
}\n
\n
> header {\n
@include grid-column(12);\n
margin-top: rem-calc(nth($modular-scale, 5));\n
\n
.page-content & {\n
margin-bottom: rem-calc(nth($modular-scale, 8));\n
}\n
}\n
\n
> .side-navigation {\n
display: none;\n
\n
@media #{$medium-up} {\n
display: block;\n
@include grid-column(4);\n
\n
> nav {\n
max-width: 250px;\n
\n
> .side-nav {\n
background-color: mix(black, $color-white, 5%);\n
box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);\n
\n
> .heading {\n
font-size: rem-calc(nth($modular-scale, 4));\n
text-transform: uppercase;\n
font-weight: 600;\n
margin-top: rem-calc(nth($modular-scale, 7));\n
margin-bottom: rem-calc(nth($modular-scale, 4));\n
color: $color-black;\n
\n
&:first-child {\n
margin-top: 0;\n
}\n
}\n
\n
> li:not(.heading) > a {\n
\n
&:before {\n
content: "\\2013\\00A0";\n
}\n
}\n
\n
> li a:not(.button) {\n
padding: 0;\n
\n
&:hover {\n
background: none;\n
}\n
}\n
}\n
}\n
}\n
}\n
\n
> .content {\n
@include grid-column(12);\n
\n
@media #{$medium-up} {\n
@include grid-column(8);\n
}\n
\n
> .documentation-section {\n
@include grid-row(nest);\n
\n
margin-top: rem-calc(nth($modular-scale, 4));\n
margin-bottom: rem-calc(nth($modular-scale, 6));\n
\n
&:first-child {\n
margin-top: 0;\n
}\n
\n
@media #{$medium-up} {\n
margin-top: rem-calc(nth($modular-scale, 6));\n
margin-bottom: rem-calc(nth($modular-scale, 8));\n
}\n
\n
> header {\n
@include grid-column(12);\n
}\n
\n
> .content {\n
@include grid-column(12);\n
\n
@media #{$medium-up} {\n
@include grid-column(8);\n
}\n
\n
@media #{$large-up} {\n
@include grid-column(9);\n
}\n
\n
.sub-section {\n
margin-bottom: 3rem;\n
}\n
\n
> .ct-chart {\n
&.dark {\n
background-color: $color-gray;\n
}\n
}\n
}\n
\n
> .side-notes {\n
@include grid-column(12);\n
\n
@media #{$medium-up} {\n
@include grid-column(4);\n
}\n
\n
@media #{$large-up} {\n
@include grid-column(3);\n
}\n
}\n
\n
&.full {\n
> .content {\n
@media #{$medium-up} {\n
@include grid-column(12);\n
}\n
}\n
\n
> .side-notes {\n
@media #{$medium-up} {\n
@include grid-column(12);\n
}\n
}\n
}\n
}\n
\n
> ul.example-gallery {\n
@include block-grid(1);\n
\n
@media #{$medium-up} {\n
@include block-grid(2);\n
}\n
}\n
}\n
\n
.full & {\n
> .side-navigation {\n
@include grid-column(12);\n
}\n
\n
> .content {\n
@include grid-column(12);\n
}\n
}\n
}\n
\n
@include keyframes(dashoffset) {\n
0% {\n
stroke-dashoffset: 0px;\n
}\n
\n
100% {\n
stroke-dashoffset: -20px;\n
}\n
}\n
\n
@include keyframes(bouncing-stroke) {\n
0% {\n
stroke-width: 5px;\n
}\n
\n
50% {\n
stroke-width: 10px;\n
}\n
\n
100% {\n
stroke-width: 5px;\n
}\n
}\n
\n
@include keyframes(exploding-stroke) {\n
0% {\n
stroke-width: 2px;\n
opacity: 1;\n
}\n
\n
100% {\n
stroke-width: 20px;\n
opacity: 0;\n
}\n
}\n
\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>7716</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>main.scss</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>modules</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>modules</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>settings</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>settings</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>templates</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>templates</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273017.95</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>api-documentation.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
---\n
layout: content\n
side-nav: api-side-navigation\n
page-class: api-documentation\n
title: Chartist - API Documentation\n
description: Detailed documentation of the Chartist.js code and API\n
preventIndent: true\n
---\n
{{#each (doxTransform apidox)}}\n
{{>dox-section}}\n
{{/each}}\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>269</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>api-documentation.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273015.0</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>examples.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
---\n
layout: content\n
page-class: examples\n
title: Chartist - Examples\n
description: Demos and examples of Chartist.js with live editing functionality\n
preventIndent: true\n
---\n
{{#each page.sections}}\n
{{>section}}\n
{{/each}}\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>220</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>examples.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273015.88</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>getting-started.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
---\n
layout: content\n
page-class: getting-started\n
title: Chartist - Getting started\n
description: Learn how to use Chartist.js\n
preventIndent: true\n
---\n
{{#each page.sections}}\n
{{>section}}\n
{{/each}}\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>197</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>getting-started.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273016.56</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>index.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
---\n
layout: landing\n
page-class: full\n
title: Chartist - Simple responsive charts\n
description: Create responsive, scalable and good looking charts with chartist.js.\n
preventIndent: true\n
---\n
<p>You may think that this is just yet an other charting library. But Chartist.js is the product of\n
a community that was disappointed about the abilities provided by other charting libraries. Of course there are hundreds\n
of other great charting libraries but after using them there were always tweaks you would have wished for that were not\n
included.</p>\n
\n
<h3>Highly customizable responsive charts</h3>\n
<ul class="example-gallery">\n
{{#each page.gallery-examples}}\n
<li>\n
{{> example-chart }}\n
</li>\n
{{/each}}\n
</ul>\n
\n
<h3>Facts about Chartist</h3>\n
<p>The following facts should give you an overview why to choose Chartists as your front-end chart generator:</p>\n
<ul class="list">\n
<li>Simple handling while using convention over configuration</li>\n
<li>Great flexibility while using clear separation of concerns (Style with CSS & control with JS)</li>\n
<li>Usage of SVG (Yes! SVG is the future of illustration in web!)</li>\n
<li>Fully responsive and DPI independent</li>\n
<li>Responsive configuration with media queries</li>\n
<li>Fully built and customizable with Sass</li>\n
</ul>\n
\n
{{#each page.sections}}\n
{{>section}}\n
{{/each}}\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1338</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>index.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273017.25</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>plugins.hbs</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
---\n
layout: content\n
page-class: plugins\n
title: Chartist - Plugins\n
description: Use plugins to extend the functionality of your charts\n
preventIndent: true\n
---\n
{{#each page.sections}}\n
{{>section}}\n
{{/each}}\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>207</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>plugins.hbs</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>src</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>src</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>scripts</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>scripts</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>axes</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>axes</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273072.27</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>auto-scale-axis.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>/**\n
* The auto scale axis uses standard linear scale projection of values along an axis. It uses order of magnitude to find a scale automatically and evaluates the available space in order to find the perfect amount of ticks for your chart.\n
* **Options**\n
* The following options are used by this axis in addition to the default axis options outlined in the axis configuration of the chart default settings.\n
* ```javascript\n
* var options = {\n
* // If high is specified then the axis will display values explicitly up to this value and the computed maximum from the data is ignored\n
* high: 100,\n
* // If low is specified then the axis will display values explicitly down to this value and the computed minimum from the data is ignored\n
* low: 0,\n
* // This option will be used when finding the right scale division settings. The amount of ticks on the scale will be determined so that as many ticks as possible will be displayed, while not violating this minimum required space (in pixel).\n
* scaleMinSpace: 20,\n
* // Can be set to true or false. If set to true, the scale will be generated with whole numbers only.\n
* onlyInteger: true,\n
* // The reference value can be used to make sure that this value will always be on the chart. This is especially useful on bipolar charts where the bipolar center always needs to be part of the chart.\n
* referenceValue: 5\n
* };\n
* ```\n
*\n
* @module Chartist.AutoScaleAxis\n
*/\n
/* global Chartist */\n
(function (window, document, Chartist) {\n
\'use strict\';\n
\n
function AutoScaleAxis(axisUnit, data, chartRect, options) {\n
// Usually we calculate highLow based on the data but this can be overriden by a highLow object in the options\n
var highLow = options.highLow || Chartist.getHighLow(data.normalized, options, axisUnit.pos);\n
this.bounds = Chartist.getBounds(chartRect[axisUnit.rectEnd] - chartRect[axisUnit.rectStart], highLow, options.scaleMinSpace || 20, options.onlyInteger);\n
this.range = {\n
min: this.bounds.min,\n
max: this.bounds.max\n
};\n
\n
Chartist.AutoScaleAxis.super.constructor.call(this,\n
axisUnit,\n
chartRect,\n
this.bounds.values,\n
options);\n
}\n
\n
function projectValue(value) {\n
return this.axisLength * (+Chartist.getMultiValue(value, this.units.pos) - this.bounds.min) / this.bounds.range;\n
}\n
\n
Chartist.AutoScaleAxis = Chartist.Axis.extend({\n
constructor: AutoScaleAxis,\n
projectValue: projectValue\n
});\n
\n
}(window, document, Chartist));\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>2479</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>auto-scale-axis.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273071.64</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>axis.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/* global Chartist */\n
(function (window, document, Chartist) {\n
\'use strict\';\n
\n
var axisUnits = {\n
x: {\n
pos: \'x\',\n
len: \'width\',\n
dir: \'horizontal\',\n
rectStart: \'x1\',\n
rectEnd: \'x2\',\n
rectOffset: \'y2\'\n
},\n
y: {\n
pos: \'y\',\n
len: \'height\',\n
dir: \'vertical\',\n
rectStart: \'y2\',\n
rectEnd: \'y1\',\n
rectOffset: \'x1\'\n
}\n
};\n
\n
function Axis(units, chartRect, ticks, options) {\n
this.units = units;\n
this.counterUnits = units === axisUnits.x ? axisUnits.y : axisUnits.x;\n
this.chartRect = chartRect;\n
this.axisLength = chartRect[units.rectEnd] - chartRect[units.rectStart];\n
this.gridOffset = chartRect[units.rectOffset];\n
this.ticks = ticks;\n
this.options = options;\n
}\n
\n
function createGridAndLabels(gridGroup, labelGroup, useForeignObject, chartOptions, eventEmitter) {\n
var axisOptions = chartOptions[\'axis\' + this.units.pos.toUpperCase()];\n
var projectedValues = this.ticks.map(this.projectValue.bind(this));\n
var labelValues = this.ticks.map(axisOptions.labelInterpolationFnc);\n
\n
projectedValues.forEach(function(projectedValue, index) {\n
var labelOffset = {\n
x: 0,\n
y: 0\n
};\n
\n
// TODO: Find better solution for solving this problem\n
// Calculate how much space we have available for the label\n
var labelLength;\n
if(projectedValues[index + 1]) {\n
// If we still have one label ahead, we can calculate the distance to the next tick / label\n
labelLength = projectedValues[index + 1] - projectedValue;\n
} else {\n
// If we don\'t have a label ahead and we have only two labels in total, we just take the remaining distance to\n
// on the whole axis length. We limit that to a minimum of 30 pixel, so that labels close to the border will\n
// still be visible inside of the chart padding.\n
labelLength = Math.max(this.axisLength - projectedValue, 30);\n
}\n
\n
// Skip grid lines and labels where interpolated label values are falsey (execpt for 0)\n
if(!labelValues[index] && labelValues[index] !== 0) {\n
return;\n
}\n
\n
// Transform to global coordinates using the chartRect\n
// We also need to set the label offset for the createLabel function\n
if(this.units.pos === \'x\') {\n
projectedValue = this.chartRect.x1 + projectedValue;\n
labelOffset.x = chartOptions.axisX.labelOffset.x;\n
\n
// If the labels should be positioned in start position (top side for vertical axis) we need to set a\n
// different offset as for positioned with end (bottom)\n
if(chartOptions.axisX.position === \'start\') {\n
labelOffset.y = this.chartRect.padding.top + chartOptions.axisX.labelOffset.y + (useForeignObject ? 5 : 20);\n
} else {\n
labelOffset.y = this.chartRect.y1 + chartOptions.axisX.labelOffset.y + (useForeignObject ? 5 : 20);\n
}\n
} else {\n
projectedValue = this.chartRect.y1 - projectedValue;\n
labelOffset.y = chartOptions.axisY.labelOffset.y - (useForeignObject ? labelLength : 0);\n
\n
// If the labels should be positioned in start position (left side for horizontal axis) we need to set a\n
// different offset as for positioned with end (right side)\n
if(chartOptions.axisY.position === \'start\') {\n
labelOffset.x = useForeignObject ? this.chartRect.padding.left + chartOptions.axisY.labelOffset.x : this.chartRect.x1 - 10;\n
} else {\n
labelOffset.x = this.chartRect.x2 + chartOptions.axisY.labelOffset.x + 10;\n
}\n
}\n
\n
if(axisOptions.showGrid) {\n
Chartist.createGrid(projectedValue, index, this, this.gridOffset, this.chartRect[this.counterUnits.len](), gridGroup, [\n
chartOptions.classNames.grid,\n
chartOptions.classNames[this.units.dir]\n
], eventEmitter);\n
}\n
\n
if(axisOptions.showLabel) {\n
Chartist.createLabel(projectedValue, labelLength, index, labelValues, this, axisOptions.offset, labelOffset, labelGroup, [\n
chartOptions.classNames.label,\n
chartOptions.classNames[this.units.dir],\n
chartOptions.classNames[axisOptions.position]\n
], useForeignObject, eventEmitter);\n
}\n
}.bind(this));\n
}\n
\n
Chartist.Axis = Chartist.Class.extend({\n
constructor: Axis,\n
createGridAndLabels: createGridAndLabels,\n
projectValue: function(value, index, data) {\n
throw new Error(\'Base axis can\\\'t be instantiated!\');\n
}\n
});\n
\n
Chartist.Axis.units = axisUnits;\n
\n
}(window, document, Chartist));\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>4545</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>axis.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273071.22</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>fixed-scale-axis.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>/**\n
* The fixed scale axis uses standard linear projection of values along an axis. It makes use of a divisor option to divide the range provided from the minimum and maximum value or the options high and low that will override the computed minimum and maximum.\n
* **Options**\n
* The following options are used by this axis in addition to the default axis options outlined in the axis configuration of the chart default settings.\n
* ```javascript\n
* var options = {\n
* // If high is specified then the axis will display values explicitly up to this value and the computed maximum from the data is ignored\n
* high: 100,\n
* // If low is specified then the axis will display values explicitly down to this value and the computed minimum from the data is ignored\n
* low: 0,\n
* // If specified then the value range determined from minimum to maximum (or low and high) will be divided by this number and ticks will be generated at those division points. The default divisor is 1.\n
* divisor: 4,\n
* // If ticks is explicitly set, then the axis will not compute the ticks with the divisor, but directly use the data in ticks to determine at what points on the axis a tick need to be generated.\n
* ticks: [1, 10, 20, 30]\n
* };\n
* ```\n
*\n
* @module Chartist.FixedScaleAxis\n
*/\n
/* global Chartist */\n
(function (window, document, Chartist) {\n
\'use strict\';\n
\n
function FixedScaleAxis(axisUnit, data, chartRect, options) {\n
var highLow = options.highLow || Chartist.getHighLow(data.normalized, options, axisUnit.pos);\n
this.divisor = options.divisor || 1;\n
this.ticks = options.ticks || Chartist.times(this.divisor).map(function(value, index) {\n
return highLow.low + (highLow.high - highLow.low) / this.divisor * index;\n
}.bind(this));\n
this.range = {\n
min: highLow.low,\n
max: highLow.high\n
};\n
\n
Chartist.FixedScaleAxis.super.constructor.call(this,\n
axisUnit,\n
chartRect,\n
this.ticks,\n
options);\n
\n
this.stepLength = this.axisLength / this.divisor;\n
}\n
\n
function projectValue(value) {\n
return this.axisLength * (+Chartist.getMultiValue(value, this.units.pos) - this.range.min) / (this.range.max - this.range.min);\n
}\n
\n
Chartist.FixedScaleAxis = Chartist.Axis.extend({\n
constructor: FixedScaleAxis,\n
projectValue: projectValue\n
});\n
\n
}(window, document, Chartist));\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>2341</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>fixed-scale-axis.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273070.77</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>step-axis.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>/**\n
* The step axis for step based charts like bar chart or step based line charts. It uses a fixed amount of ticks that will be equally distributed across the whole axis length. The projection is done using the index of the data value rather than the value itself and therefore it\'s only useful for distribution purpose.\n
* **Options**\n
* The following options are used by this axis in addition to the default axis options outlined in the axis configuration of the chart default settings.\n
* ```javascript\n
* var options = {\n
* // Ticks to be used to distribute across the axis length. As this axis type relies on the index of the value rather than the value, arbitrary data that can be converted to a string can be used as ticks.\n
* ticks: [\'One\', \'Two\', \'Three\'],\n
* // If set to true the full width will be used to distribute the values where the last value will be at the maximum of the axis length. If false the spaces between the ticks will be evenly distributed instead.\n
* stretch: true\n
* };\n
* ```\n
*\n
* @module Chartist.StepAxis\n
*/\n
/* global Chartist */\n
(function (window, document, Chartist) {\n
\'use strict\';\n
\n
function StepAxis(axisUnit, data, chartRect, options) {\n
Chartist.StepAxis.super.constructor.call(this,\n
axisUnit,\n
chartRect,\n
options.ticks,\n
options);\n
\n
this.stepLength = this.axisLength / (options.ticks.length - (options.stretch ? 1 : 0));\n
}\n
\n
function projectValue(value, index) {\n
return this.stepLength * index;\n
}\n
\n
Chartist.StepAxis = Chartist.Axis.extend({\n
constructor: StepAxis,\n
projectValue: projectValue\n
});\n
\n
}(window, document, Chartist));\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1634</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>step-axis.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273076.76</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>base.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>/**\n
* Base for all chart types. The methods in Chartist.Base are inherited to all chart types.\n
*\n
* @module Chartist.Base\n
*/\n
/* global Chartist */\n
(function(window, document, Chartist) {\n
\'use strict\';\n
\n
// TODO: Currently we need to re-draw the chart on window resize. This is usually very bad and will affect performance.\n
// This is done because we can\'t work with relative coordinates when drawing the chart because SVG Path does not\n
// work with relative positions yet. We need to check if we can do a viewBox hack to switch to percentage.\n
// See http://mozilla.6506.n7.nabble.com/Specyfing-paths-with-percentages-unit-td247474.html\n
// Update: can be done using the above method tested here: http://codepen.io/gionkunz/pen/KDvLj\n
// The problem is with the label offsets that can\'t be converted into percentage and affecting the chart container\n
/**\n
* Updates the chart which currently does a full reconstruction of the SVG DOM\n
*\n
* @param {Object} [data] Optional data you\'d like to set for the chart before it will update. If not specified the update method will use the data that is already configured with the chart.\n
* @param {Object} [options] Optional options you\'d like to add to the previous options for the chart before it will update. If not specified the update method will use the options that have been already configured with the chart.\n
* @param {Boolean} [override] If set to true, the passed options will be used to extend the options that have been configured already. Otherwise the chart default options will be used as the base\n
* @memberof Chartist.Base\n
*/\n
function update(data, options, override) {\n
if(data) {\n
this.data = data;\n
// Event for data transformation that allows to manipulate the data before it gets rendered in the charts\n
this.eventEmitter.emit(\'data\', {\n
type: \'update\',\n
data: this.data\n
});\n
}\n
\n
if(options) {\n
this.options = Chartist.extend({}, override ? this.options : this.defaultOptions, options);\n
\n
// If chartist was not initialized yet, we just set the options and leave the rest to the initialization\n
// Otherwise we re-create the optionsProvider at this point\n
if(!this.initializeTimeoutId) {\n
this.optionsProvider.removeMediaQueryListeners();\n
this.optionsProvider = Chartist.optionsProvider(this.options, this.responsiveOptions, this.eventEmitter);\n
}\n
}\n
\n
// Only re-created the chart if it has been initialized yet\n
if(!this.initializeTimeoutId) {\n
this.createChart(this.optionsProvider.getCurrentOptions());\n
}\n
\n
// Return a reference to the chart object to chain up calls\n
return this;\n
}\n
\n
/**\n
* This method can be called on the API object of each chart and will un-register all event listeners that were added to other components. This currently includes a window.resize listener as well as media query listeners if any responsive options have been provided. Use this function if you need to destroy and recreate Chartist charts dynamically.\n
*\n
* @memberof Chartist.Base\n
*/\n
function detach() {\n
// Only detach if initialization already occurred on this chart. If this chart still hasn\'t initialized (therefore\n
// the initializationTimeoutId is still a valid timeout reference, we will clear the timeout\n
if(!this.initializeTimeoutId) {\n
window.removeEventListener(\'resize\', this.resizeListener);\n
this.optionsProvider.removeMediaQueryListeners();\n
} else {\n
window.clearTimeout(this.initializeTimeoutId);\n
}\n
\n
return this;\n
}\n
\n
/**\n
* Use this function to register event handlers. The handler callbacks are synchronous and will run in the main thread rather than the event loop.\n
*\n
* @memberof Chartist.Base\n
* @param {String} event Name of the event. Check the examples for supported events.\n
* @param {Function} handler The handler function that will be called when an event with the given name was emitted. This function will receive a data argument which contains event data. See the example for more details.\n
*/\n
function on(event, handler) {\n
this.eventEmitter.addEventHandler(event, handler);\n
return this;\n
}\n
\n
/**\n
* Use this function to un-register event handlers. If the handler function parameter is omitted all handlers for the given event will be un-registered.\n
*\n
* @memberof Chartist.Base\n
* @param {String} event Name of the event for which a handler should be removed\n
* @param {Function} [handler] The handler function that that was previously used to register a new event handler. This handler will be removed from the event handler list. If this parameter is omitted then all event handlers for the given event are removed from the list.\n
*/\n
function off(event, handler) {\n
this.eventEmitter.removeEventHandler(event, handler);\n
return this;\n
}\n
\n
function initialize() {\n
// Add window resize listener that re-creates the chart\n
window.addEventListener(\'resize\', this.resizeListener);\n
\n
// Obtain current options based on matching media queries (if responsive options are given)\n
// This will also register a listener that is re-creating the chart based on media changes\n
this.optionsProvider = Chartist.optionsProvider(this.options, this.responsiveOptions, this.eventEmitter);\n
// Register options change listener that will trigger a chart update\n
this.eventEmitter.addEventHandler(\'optionsChanged\', function() {\n
this.update();\n
}.bind(this));\n
\n
// Before the first chart creation we need to register us with all plugins that are configured\n
// Initialize all relevant plugins with our chart object and the plugin options specified in the config\n
if(this.options.plugins) {\n
this.options.plugins.forEach(function(plugin) {\n
if(plugin instanceof Array) {\n
plugin[0](this, plugin[1]);\n
} else {\n
plugin(this);\n
}\n
}.bind(this));\n
}\n
\n
// Event for data transformation that allows to manipulate the data before it gets rendered in the charts\n
this.eventEmitter.emit(\'data\', {\n
type: \'initial\',\n
data: this.data\n
});\n
\n
// Create the first chart\n
this.createChart(this.optionsProvider.getCurrentOptions());\n
\n
// As chart is initialized from the event loop now we can reset our timeout reference\n
// This is important if the chart gets initialized on the same element twice\n
this.initializeTimeoutId = undefined;\n
}\n
\n
/**\n
* Constructor of chart base class.\n
*\n
* @param query\n
* @param data\n
* @param defaultOptions\n
* @param options\n
* @param responsiveOptions\n
* @constructor\n
*/\n
function Base(query, data, defaultOptions, options, responsiveOptions) {\n
this.container = Chartist.querySelector(query);\n
this.data = data;\n
this.defaultOptions = defaultOptions;\n
this.options = options;\n
this.responsiveOptions = responsiveOptions;\n
this.eventEmitter = Chartist.EventEmitter();\n
this.supportsForeignObject = Chartist.Svg.isSupported(\'Extensibility\');\n
this.supportsAnimations = Chartist.Svg.isSupported(\'AnimationEventsAttribute\');\n
this.resizeListener = function resizeListener(){\n
this.update();\n
}.bind(this);\n
\n
if(this.container) {\n
// If chartist was already initialized in this container we are detaching all event listeners first\n
if(this.container.__chartist__) {\n
this.container.__chartist__.detach();\n
}\n
\n
this.container.__chartist__ = this;\n
}\n
\n
// Using event loop for first draw to make it possible to register event listeners in the same call stack where\n
// the chart was created.\n
this.initializeTimeoutId = setTimeout(initialize.bind(this), 0);\n
}\n
\n
// Creating the chart base class\n
Chartist.Base = Chartist.Class.extend({\n
constructor: Base,\n
optionsProvider: undefined,\n
container: undefined,\n
svg: undefined,\n
eventEmitter: undefined,\n
createChart: function() {\n
throw new Error(\'Base chart type can\\\'t be instantiated!\');\n
},\n
update: update,\n
detach: detach,\n
on: on,\n
off: off,\n
version: Chartist.version,\n
supportsForeignObject: false\n
});\n
\n
}(window, document, Chartist));\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>8187</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>base.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>charts</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>charts</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273075.66</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>bar.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* The bar chart module of Chartist that can be used to draw unipolar or bipolar bar and grouped bar charts.\n
*\n
* @module Chartist.Bar\n
*/\n
/* global Chartist */\n
(function(window, document, Chartist){\n
\'use strict\';\n
\n
/**\n
* Default options in bar charts. Expand the code view to see a detailed list of options with comments.\n
*\n
* @memberof Chartist.Bar\n
*/\n
var defaultOptions = {\n
// Options for X-Axis\n
axisX: {\n
// The offset of the chart drawing area to the border of the container\n
offset: 30,\n
// Position where labels are placed. Can be set to `start` or `end` where `start` is equivalent to left or top on vertical axis and `end` is equivalent to right or bottom on horizontal axis.\n
position: \'end\',\n
// Allows you to correct label positioning on this axis by positive or negative x and y offset.\n
labelOffset: {\n
x: 0,\n
y: 0\n
},\n
// If labels should be shown or not\n
showLabel: true,\n
// If the axis grid should be drawn or not\n
showGrid: true,\n
// Interpolation function that allows you to intercept the value from the axis label\n
labelInterpolationFnc: Chartist.noop,\n
// This value specifies the minimum width in pixel of the scale steps\n
scaleMinSpace: 30,\n
// Use only integer values (whole numbers) for the scale steps\n
onlyInteger: false\n
},\n
// Options for Y-Axis\n
axisY: {\n
// The offset of the chart drawing area to the border of the container\n
offset: 40,\n
// Position where labels are placed. Can be set to `start` or `end` where `start` is equivalent to left or top on vertical axis and `end` is equivalent to right or bottom on horizontal axis.\n
position: \'start\',\n
// Allows you to correct label positioning on this axis by positive or negative x and y offset.\n
labelOffset: {\n
x: 0,\n
y: 0\n
},\n
// If labels should be shown or not\n
showLabel: true,\n
// If the axis grid should be drawn or not\n
showGrid: true,\n
// Interpolation function that allows you to intercept the value from the axis label\n
labelInterpolationFnc: Chartist.noop,\n
// This value specifies the minimum height in pixel of the scale steps\n
scaleMinSpace: 20,\n
// Use only integer values (whole numbers) for the scale steps\n
onlyInteger: false\n
},\n
// Specify a fixed width for the chart as a string (i.e. \'100px\' or \'50%\')\n
width: undefined,\n
// Specify a fixed height for the chart as a string (i.e. \'100px\' or \'50%\')\n
height: undefined,\n
// Overriding the natural high of the chart allows you to zoom in or limit the charts highest displayed value\n
high: undefined,\n
// Overriding the natural low of the chart allows you to zoom in or limit the charts lowest displayed value\n
low: undefined,\n
// Use only integer values (whole numbers) for the scale steps\n
onlyInteger: false,\n
// Padding of the chart drawing area to the container element and labels as a number or padding object {top: 5, right: 5, bottom: 5, left: 5}\n
chartPadding: {\n
top: 15,\n
right: 15,\n
bottom: 5,\n
left: 10\n
},\n
// Specify the distance in pixel of bars in a group\n
seriesBarDistance: 15,\n
// If set to true this property will cause the series bars to be stacked and form a total for each series point. This will also influence the y-axis and the overall bounds of the chart. In stacked mode the seriesBarDistance property will have no effect.\n
stackBars: false,\n
// Inverts the axes of the bar chart in order to draw a horizontal bar chart. Be aware that you also need to invert your axis settings as the Y Axis will now display the labels and the X Axis the values.\n
horizontalBars: false,\n
// If set to true then each bar will represent a series and the data array is expected to be a one dimensional array of data values rather than a series array of series. This is useful if the bar chart should represent a profile rather than some data over time.\n
distributeSeries: false,\n
// If true the whole data is reversed including labels, the series order as well as the whole series data arrays.\n
reverseData: false,\n
// Override the class names that get used to generate the SVG structure of the chart\n
classNames: {\n
chart: \'ct-chart-bar\',\n
horizontalBars: \'ct-horizontal-bars\',\n
label: \'ct-label\',\n
labelGroup: \'ct-labels\',\n
series: \'ct-series\',\n
bar: \'ct-bar\',\n
grid: \'ct-grid\',\n
gridGroup: \'ct-grids\',\n
vertical: \'ct-vertical\',\n
horizontal: \'ct-horizontal\',\n
start: \'ct-start\',\n
end: \'ct-end\'\n
}\n
};\n
\n
/**\n
* Creates a new chart\n
*\n
*/\n
function createChart(options) {\n
var data = {\n
raw: this.data,\n
normalized: options.distributeSeries ? Chartist.getDataArray(this.data, options.reverseData, options.horizontalBars ? \'x\' : \'y\').map(function(value) {\n
return [value];\n
}) : Chartist.getDataArray(this.data, options.reverseData, options.horizontalBars ? \'x\' : \'y\')\n
};\n
\n
var highLow;\n
\n
// Create new svg element\n
this.svg = Chartist.createSvg(\n
this.container,\n
options.width,\n
options.height,\n
options.classNames.chart + (options.horizontalBars ? \' \' + options.classNames.horizontalBars : \'\')\n
);\n
\n
// Drawing groups in correct order\n
var gridGroup = this.svg.elem(\'g\').addClass(options.classNames.gridGroup);\n
var seriesGroup = this.svg.elem(\'g\');\n
var labelGroup = this.svg.elem(\'g\').addClass(options.classNames.labelGroup);\n
\n
if(options.stackBars) {\n
// If stacked bars we need to calculate the high low from stacked values from each series\n
var serialSums = Chartist.serialMap(data.normalized, function serialSums() {\n
return Array.prototype.slice.call(arguments).map(function(value) {\n
return value;\n
}).reduce(function(prev, curr) {\n
return {\n
x: prev.x + curr.x || 0,\n
y: prev.y + curr.y || 0\n
};\n
}, {x: 0, y: 0});\n
});\n
\n
highLow = Chartist.getHighLow([serialSums], Chartist.extend({}, options, {\n
referenceValue: 0\n
}), options.horizontalBars ? \'x\' : \'y\');\n
} else {\n
highLow = Chartist.getHighLow(data.normalized, Chartist.extend({}, options, {\n
referenceValue: 0\n
}), options.horizontalBars ? \'x\' : \'y\');\n
}\n
// Overrides of high / low from settings\n
highLow.high = +options.high || (options.high === 0 ? 0 : highLow.high);\n
highLow.low = +options.low || (options.low === 0 ? 0 : highLow.low);\n
\n
var chartRect = Chartist.createChartRect(this.svg, options, defaultOptions.padding);\n
\n
var valueAxis,\n
labelAxisTicks,\n
labelAxis,\n
axisX,\n
axisY;\n
\n
// We need to set step count based on some options combinations\n
if(options.distributeSeries && options.stackBars) {\n
// If distributed series are enabled and bars need to be stacked, we\'ll only have one bar and therefore should\n
// use only the first label for the step axis\n
labelAxisTicks = data.raw.labels.slice(0, 1);\n
} else {\n
// If distributed series are enabled but stacked bars aren\'t, we should use the series labels\n
// If we are drawing a regular bar chart with two dimensional series data, we just use the labels array\n
// as the bars are normalized\n
labelAxisTicks = data.raw.labels;\n
}\n
\n
// Set labelAxis and valueAxis based on the horizontalBars setting. This setting will flip the axes if necessary.\n
if(options.horizontalBars) {\n
if(options.axisX.type === undefined) {\n
valueAxis = axisX = new Chartist.AutoScaleAxis(Chartist.Axis.units.x, data, chartRect, Chartist.extend({}, options.axisX, {\n
highLow: highLow,\n
referenceValue: 0\n
}));\n
} else {\n
valueAxis = axisX = options.axisX.type.call(Chartist, Chartist.Axis.units.x, data, chartRect, Chartist.extend({}, options.axisX, {\n
highLow: highLow,\n
referenceValue: 0\n
}));\n
}\n
\n
if(options.axisY.type === undefined) {\n
labelAxis = axisY = new Chartist.StepAxis(Chartist.Axis.units.y, data, chartRect, {\n
ticks: labelAxisTicks\n
});\n
} else {\n
labelAxis = axisY = options.axisY.type.call(Chartist, Chartist.Axis.units.y, data, chartRect, options.axisY);\n
}\n
} else {\n
if(options.axisX.type === undefined) {\n
labelAxis = axisX = new Chartist.StepAxis(Chartist.Axis.units.x, data, chartRect, {\n
ticks: labelAxisTicks\n
});\n
} else {\n
labelAxis = axisX = options.axisX.type.call(Chartist, Chartist.Axis.units.x, data, chartRect, options.axisX);\n
}\n
\n
if(options.axisY.type === undefined) {\n
valueAxis = axisY = new Chartist.AutoScaleAxis(Chartist.Axis.units.y, data, chartRect, Chartist.extend({}, options.axisY, {\n
highLow: highLow,\n
referenceValue: 0\n
}));\n
} else {\n
valueAxis = axisY = options.axisY.type.call(Chartist, Chartist.Axis.units.y, data, chartRect, Chartist.extend({}, options.axisY, {\n
highLow: highLow,\n
referenceValue: 0\n
}));\n
}\n
}\n
\n
// Projected 0 point\n
var zeroPoint = options.horizontalBars ? (chartRect.x1 + valueAxis.projectValue(0)) : (chartRect.y1 - valueAxis.projectValue(0));\n
// Used to track the screen coordinates of stacked bars\n
var stackedBarValues = [];\n
\n
labelAxis.createGridAndLabels(gridGroup, labelGroup, this.supportsForeignObject, options, this.eventEmitter);\n
valueAxis.createGridAndLabels(gridGroup, labelGroup, this.supportsForeignObject, options, this.eventEmitter);\n
\n
// Draw the series\n
data.raw.series.forEach(function(series, seriesIndex) {\n
// Calculating bi-polar value of index for seriesOffset. For i = 0..4 biPol will be -1.5, -0.5, 0.5, 1.5 etc.\n
var biPol = seriesIndex - (data.raw.series.length - 1) / 2;\n
// Half of the period width between vertical grid lines used to position bars\n
var periodHalfLength;\n
// Current series SVG element\n
var seriesElement;\n
\n
// We need to set periodHalfLength based on some options combinations\n
if(options.distributeSeries && !options.stackBars) {\n
// If distributed series are enabled but stacked bars aren\'t, we need to use the length of the normaizedData array\n
// which is the series count and divide by 2\n
periodHalfLength = labelAxis.axisLength / data.normalized.length / 2;\n
} else if(options.distributeSeries && options.stackBars) {\n
// If distributed series and stacked bars are enabled we\'ll only get one bar so we should just divide the axis\n
// length by 2\n
periodHalfLength = labelAxis.axisLength / 2;\n
} else {\n
// On regular bar charts we should just use the series length\n
periodHalfLength = labelAxis.axisLength / data.normalized[seriesIndex].length / 2;\n
}\n
\n
// Adding the series group to the series element\n
seriesElement = seriesGroup.elem(\'g\');\n
\n
// Write attributes to series group element. If series name or meta is undefined the attributes will not be written\n
seriesElement.attr({\n
\'series-name\': series.name,\n
\'meta\': Chartist.serialize(series.meta)\n
}, Chartist.xmlNs.uri);\n
\n
// Use series class from series data or if not set generate one\n
seriesElement.addClass([\n
options.classNames.series,\n
(series.className || options.classNames.series + \'-\' + Chartist.alphaNumerate(seriesIndex))\n
].join(\' \'));\n
\n
data.normalized[seriesIndex].forEach(function(value, valueIndex) {\n
var projected,\n
bar,\n
previousStack,\n
labelAxisValueIndex;\n
\n
// We need to set labelAxisValueIndex based on some options combinations\n
if(options.distributeSeries && !options.stackBars) {\n
// If distributed series are enabled but stacked bars aren\'t, we can use the seriesIndex for later projection\n
// on the step axis for label positioning\n
labelAxisValueIndex = seriesIndex;\n
} else if(options.distributeSeries && options.stackBars) {\n
// If distributed series and stacked bars are enabled, we will only get one bar and therefore always use\n
// 0 for projection on the label step axis\n
labelAxisValueIndex = 0;\n
} else {\n
// On regular bar charts we just use the value index to project on the label step axis\n
labelAxisValueIndex = valueIndex;\n
}\n
\n
// We need to transform coordinates differently based on the chart layout\n
if(options.horizontalBars) {\n
projected = {\n
x: chartRect.x1 + valueAxis.projectValue(value && value.x ? value.x : 0, valueIndex, data.normalized[seriesIndex]),\n
y: chartRect.y1 - labelAxis.projectValue(value && value.y ? value.y : 0, labelAxisValueIndex, data.normalized[seriesIndex])\n
};\n
} else {\n
projected = {\n
x: chartRect.x1 + labelAxis.projectValue(value && value.x ? value.x : 0, labelAxisValueIndex, data.normalized[seriesIndex]),\n
y: chartRect.y1 - valueAxis.projectValue(value && value.y ? value.y : 0, valueIndex, data.normalized[seriesIndex])\n
}\n
}\n
\n
// If the label axis is a step based axis we will offset the bar into the middle of between two steps using\n
// the periodHalfLength value. Also we do arrange the different series so that they align up to each other using\n
// the seriesBarDistance. If we don\'t have a step axis, the bar positions can be chosen freely so we should not\n
// add any automated positioning.\n
if(labelAxis instanceof Chartist.StepAxis) {\n
// Offset to center bar between grid lines, but only if the step axis is not stretched\n
if(!labelAxis.options.stretch) {\n
projected[labelAxis.units.pos] += periodHalfLength * (options.horizontalBars ? -1 : 1);\n
}\n
// Using bi-polar offset for multiple series if no stacked bars or series distribution is used\n
projected[labelAxis.units.pos] += (options.stackBars || options.distributeSeries) ? 0 : biPol * options.seriesBarDistance * (options.horizontalBars ? -1 : 1);\n
}\n
\n
// Enter value in stacked bar values used to remember previous screen value for stacking up bars\n
previousStack = stackedBarValues[valueIndex] || zeroPoint;\n
stackedBarValues[valueIndex] = previousStack - (zeroPoint - projected[labelAxis.counterUnits.pos]);\n
\n
// Skip if value is undefined\n
if(value === undefined) {\n
return;\n
}\n
\n
var positions = {};\n
positions[labelAxis.units.pos + \'1\'] = projected[labelAxis.units.pos];\n
positions[labelAxis.units.pos + \'2\'] = projected[labelAxis.units.pos];\n
// If bars are stacked we use the stackedBarValues reference and otherwise base all bars off the zero line\n
positions[labelAxis.counterUnits.pos + \'1\'] = options.stackBars ? previousStack : zeroPoint;\n
positions[labelAxis.counterUnits.pos + \'2\'] = options.stackBars ? stackedBarValues[valueIndex] : projected[labelAxis.counterUnits.pos];\n
\n
// Limit x and y so that they are within the chart rect\n
positions.x1 = Math.min(Math.max(positions.x1, chartRect.x1), chartRect.x2);\n
positions.x2 = Math.min(Math.max(positions.x2, chartRect.x1), chartRect.x2);\n
positions.y1 = Math.min(Math.max(positions.y1, chartRect.y2), chartRect.y1);\n
positions.y2 = Math.min(Math.max(positions.y2, chartRect.y2), chartRect.y1);\n
\n
// Create bar element\n
bar = seriesElement.elem(\'line\', positions, options.classNames.bar).attr({\n
\'value\': [value.x, value.y].filter(function(v) {\n
return v;\n
}).join(\',\'),\n
\'meta\': Chartist.getMetaData(series, valueIndex)\n
}, Chartist.xmlNs.uri);\n
\n
this.eventEmitter.emit(\'draw\', Chartist.extend({\n
type: \'bar\',\n
value: value,\n
index: valueIndex,\n
meta: Chartist.getMetaData(series, valueIndex),\n
series: series,\n
seriesIndex: seriesIndex,\n
axisX: axisX,\n
axisY: axisY,\n
chartRect: chartRect,\n
group: seriesElement,\n
element: bar\n
}, positions));\n
}.bind(this));\n
}.bind(this));\n
\n
this.eventEmitter.emit(\'created\', {\n
bounds: valueAxis.bounds,\n
chartRect: chartRect,\n
axisX: axisX,\n
axisY: axisY,\n
svg: this.svg,\n
options: options\n
});\n
}\n
\n
/**\n
* This method creates a new bar chart and returns API object that you can use for later changes.\n
*\n
* @memberof Chartist.Bar\n
* @param {String|Node} query A selector query string or directly a DOM element\n
* @param {Object} data The data object that needs to consist of a labels and a series array\n
* @param {Object} [options] The options object with options that override the default options. Check the examples for a detailed list.\n
* @param {Array} [responsiveOptions] Specify an array of responsive option arrays which are a media query and options object pair => [[mediaQueryString, optionsObject],[more...]]\n
* @return {Object} An object which exposes the API for the created chart\n
*\n
* @example\n
* // Create a simple bar chart\n
* var data = {\n
* labels: [\'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\'],\n
* series: [\n
* [5, 2, 4, 2, 0]\n
* ]\n
* };\n
*\n
* // In the global name space Chartist we call the Bar function to initialize a bar chart. As a first parameter we pass in a selector where we would like to get our chart created and as a second parameter we pass our data object.\n
* new Chartist.Bar(\'.ct-chart\', data);\n
*\n
* @example\n
* // This example creates a bipolar grouped bar chart where the boundaries are limitted to -10 and 10\n
* new Chartist.Bar(\'.ct-chart\', {\n
* labels: [1, 2, 3, 4, 5, 6, 7],\n
* series: [\n
* [1, 3, 2, -5, -3, 1, -6],\n
* [-5, -2, -4, -1, 2, -3, 1]\n
* ]\n
* }, {\n
* seriesBarDistance: 12,\n
* low: -10,\n
* high: 10\n
* });\n
*\n
*/\n
function Bar(query, data, options, responsiveOptions) {\n
Chartist.Bar.super.constructor.call(this,\n
query,\n
data,\n
defaultOptions,\n
Chartist.extend({}, defaultOptions, options),\n
responsiveOptions);\n
}\n
\n
// Creating bar chart type in Chartist namespace\n
Chartist.Bar = Chartist.Base.extend({\n
constructor: Bar,\n
createChart: createChart\n
});\n
\n
}(window, document, Chartist));\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>18536</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>bar.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273076.26</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>line.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* The Chartist line chart can be used to draw Line or Scatter charts. If used in the browser you can access the global `Chartist` namespace where you find the `Line` function as a main entry point.\n
*\n
* For examples on how to use the line chart please check the examples of the `Chartist.Line` method.\n
*\n
* @module Chartist.Line\n
*/\n
/* global Chartist */\n
(function(window, document, Chartist){\n
\'use strict\';\n
\n
/**\n
* Default options in line charts. Expand the code view to see a detailed list of options with comments.\n
*\n
* @memberof Chartist.Line\n
*/\n
var defaultOptions = {\n
// Options for X-Axis\n
axisX: {\n
// The offset of the labels to the chart area\n
offset: 30,\n
// Position where labels are placed. Can be set to `start` or `end` where `start` is equivalent to left or top on vertical axis and `end` is equivalent to right or bottom on horizontal axis.\n
position: \'end\',\n
// Allows you to correct label positioning on this axis by positive or negative x and y offset.\n
labelOffset: {\n
x: 0,\n
y: 0\n
},\n
// If labels should be shown or not\n
showLabel: true,\n
// If the axis grid should be drawn or not\n
showGrid: true,\n
// Interpolation function that allows you to intercept the value from the axis label\n
labelInterpolationFnc: Chartist.noop,\n
// Set the axis type to be used to project values on this axis. If not defined, Chartist.StepAxis will be used for the X-Axis, where the ticks option will be set to the labels in the data and the stretch option will be set to the global fullWidth option. This type can be changed to any axis constructor available (e.g. Chartist.FixedScaleAxis), where all axis options should be present here.\n
type: undefined\n
},\n
// Options for Y-Axis\n
axisY: {\n
// The offset of the labels to the chart area\n
offset: 40,\n
// Position where labels are placed. Can be set to `start` or `end` where `start` is equivalent to left or top on vertical axis and `end` is equivalent to right or bottom on horizontal axis.\n
position: \'start\',\n
// Allows you to correct label positioning on this axis by positive or negative x and y offset.\n
labelOffset: {\n
x: 0,\n
y: 0\n
},\n
// If labels should be shown or not\n
showLabel: true,\n
// If the axis grid should be drawn or not\n
showGrid: true,\n
// Interpolation function that allows you to intercept the value from the axis label\n
labelInterpolationFnc: Chartist.noop,\n
// Set the axis type to be used to project values on this axis. If not defined, Chartist.AutoScaleAxis will be used for the Y-Axis, where the high and low options will be set to the global high and low options. This type can be changed to any axis constructor available (e.g. Chartist.FixedScaleAxis), where all axis options should be present here.\n
type: undefined,\n
// This value specifies the minimum height in pixel of the scale steps\n
scaleMinSpace: 20,\n
// Use only integer values (whole numbers) for the scale steps\n
onlyInteger: false\n
},\n
// Specify a fixed width for the chart as a string (i.e. \'100px\' or \'50%\')\n
width: undefined,\n
// Specify a fixed height for the chart as a string (i.e. \'100px\' or \'50%\')\n
height: undefined,\n
// If the line should be drawn or not\n
showLine: true,\n
// If dots should be drawn or not\n
showPoint: true,\n
// If the line chart should draw an area\n
showArea: false,\n
// The base for the area chart that will be used to close the area shape (is normally 0)\n
areaBase: 0,\n
// Specify if the lines should be smoothed. This value can be true or false where true will result in smoothing using the default smoothing interpolation function Chartist.Interpolation.cardinal and false results in Chartist.Interpolation.none. You can also choose other smoothing / interpolation functions available in the Chartist.Interpolation module, or write your own interpolation function. Check the examples for a brief description.\n
lineSmooth: true,\n
// Overriding the natural low of the chart allows you to zoom in or limit the charts lowest displayed value\n
low: undefined,\n
// Overriding the natural high of the chart allows you to zoom in or limit the charts highest displayed value\n
high: undefined,\n
// Padding of the chart drawing area to the container element and labels as a number or padding object {top: 5, right: 5, bottom: 5, left: 5}\n
chartPadding: {\n
top: 15,\n
right: 15,\n
bottom: 5,\n
left: 10\n
},\n
// When set to true, the last grid line on the x-axis is not drawn and the chart elements will expand to the full available width of the chart. For the last label to be drawn correctly you might need to add chart padding or offset the last label with a draw event handler.\n
fullWidth: false,\n
// If true the whole data is reversed including labels, the series order as well as the whole series data arrays.\n
reverseData: false,\n
// Override the class names that get used to generate the SVG structure of the chart\n
classNames: {\n
chart: \'ct-chart-line\',\n
label: \'ct-label\',\n
labelGroup: \'ct-labels\',\n
series: \'ct-series\',\n
line: \'ct-line\',\n
point: \'ct-point\',\n
area: \'ct-area\',\n
grid: \'ct-grid\',\n
gridGroup: \'ct-grids\',\n
vertical: \'ct-vertical\',\n
horizontal: \'ct-horizontal\',\n
start: \'ct-start\',\n
end: \'ct-end\'\n
}\n
};\n
\n
/**\n
* Creates a new chart\n
*\n
*/\n
function createChart(options) {\n
var data = {\n
raw: this.data,\n
normalized: Chartist.getDataArray(this.data, options.reverseData, true)\n
};\n
\n
// Create new svg object\n
this.svg = Chartist.createSvg(this.container, options.width, options.height, options.classNames.chart);\n
// Create groups for labels, grid and series\n
var gridGroup = this.svg.elem(\'g\').addClass(options.classNames.gridGroup);\n
var seriesGroup = this.svg.elem(\'g\');\n
var labelGroup = this.svg.elem(\'g\').addClass(options.classNames.labelGroup);\n
\n
var chartRect = Chartist.createChartRect(this.svg, options, defaultOptions.padding);\n
var axisX, axisY;\n
\n
if(options.axisX.type === undefined) {\n
axisX = new Chartist.StepAxis(Chartist.Axis.units.x, data, chartRect, Chartist.extend({}, options.axisX, {\n
ticks: data.raw.labels,\n
stretch: options.fullWidth\n
}));\n
} else {\n
axisX = options.axisX.type.call(Chartist, Chartist.Axis.units.x, data, chartRect, options.axisX);\n
}\n
\n
if(options.axisY.type === undefined) {\n
axisY = new Chartist.AutoScaleAxis(Chartist.Axis.units.y, data, chartRect, Chartist.extend({}, options.axisY, {\n
high: Chartist.isNum(options.high) ? options.high : options.axisY.high,\n
low: Chartist.isNum(options.low) ? options.low : options.axisY.low\n
}));\n
} else {\n
axisY = options.axisY.type.call(Chartist, Chartist.Axis.units.y, data, chartRect, options.axisY);\n
}\n
\n
axisX.createGridAndLabels(gridGroup, labelGroup, this.supportsForeignObject, options, this.eventEmitter);\n
axisY.createGridAndLabels(gridGroup, labelGroup, this.supportsForeignObject, options, this.eventEmitter);\n
\n
// Draw the series\n
data.raw.series.forEach(function(series, seriesIndex) {\n
var seriesElement = seriesGroup.elem(\'g\');\n
\n
// Write attributes to series group element. If series name or meta is undefined the attributes will not be written\n
seriesElement.attr({\n
\'series-name\': series.name,\n
\'meta\': Chartist.serialize(series.meta)\n
}, Chartist.xmlNs.uri);\n
\n
// Use series class from series data or if not set generate one\n
seriesElement.addClass([\n
options.classNames.series,\n
(series.className || options.classNames.series + \'-\' + Chartist.alphaNumerate(seriesIndex))\n
].join(\' \'));\n
\n
var pathCoordinates = [],\n
pathData = [];\n
\n
data.normalized[seriesIndex].forEach(function(value, valueIndex) {\n
var p = {\n
x: chartRect.x1 + axisX.projectValue(value, valueIndex, data.normalized[seriesIndex]),\n
y: chartRect.y1 - axisY.projectValue(value, valueIndex, data.normalized[seriesIndex])\n
};\n
pathCoordinates.push(p.x, p.y);\n
pathData.push({\n
value: value,\n
valueIndex: valueIndex,\n
meta: Chartist.getMetaData(series, valueIndex)\n
});\n
}.bind(this));\n
\n
var seriesOptions = {\n
lineSmooth: Chartist.getSeriesOption(series, options, \'lineSmooth\'),\n
showPoint: Chartist.getSeriesOption(series, options, \'showPoint\'),\n
showLine: Chartist.getSeriesOption(series, options, \'showLine\'),\n
showArea: Chartist.getSeriesOption(series, options, \'showArea\'),\n
areaBase: Chartist.getSeriesOption(series, options, \'areaBase\')\n
};\n
\n
var smoothing = typeof seriesOptions.lineSmooth === \'function\' ?\n
seriesOptions.lineSmooth : (seriesOptions.lineSmooth ? Chartist.Interpolation.cardinal() : Chartist.Interpolation.none());\n
// Interpolating path where pathData will be used to annotate each path element so we can trace back the original\n
// index, value and meta data\n
var path = smoothing(pathCoordinates, pathData);\n
\n
// If we should show points we need to create them now to avoid secondary loop\n
// Points are drawn from the pathElements returned by the interpolation function\n
// Small offset for Firefox to render squares correctly\n
if (seriesOptions.showPoint) {\n
\n
path.pathElements.forEach(function(pathElement) {\n
var point = seriesElement.elem(\'line\', {\n
x1: pathElement.x,\n
y1: pathElement.y,\n
x2: pathElement.x + 0.01,\n
y2: pathElement.y\n
}, options.classNames.point).attr({\n
\'value\': [pathElement.data.value.x, pathElement.data.value.y].filter(function(v) {\n
return v;\n
}).join(\',\'),\n
\'meta\': pathElement.data.meta\n
}, Chartist.xmlNs.uri);\n
\n
this.eventEmitter.emit(\'draw\', {\n
type: \'point\',\n
value: pathElement.data.value,\n
index: pathElement.data.valueIndex,\n
meta: pathElement.data.meta,\n
series: series,\n
seriesIndex: seriesIndex,\n
axisX: axisX,\n
axisY: axisY,\n
group: seriesElement,\n
element: point,\n
x: pathElement.x,\n
y: pathElement.y\n
});\n
}.bind(this));\n
}\n
\n
if(seriesOptions.showLine) {\n
var line = seriesElement.elem(\'path\', {\n
d: path.stringify()\n
}, options.classNames.line, true);\n
\n
this.eventEmitter.emit(\'draw\', {\n
type: \'line\',\n
values: data.normalized[seriesIndex],\n
path: path.clone(),\n
chartRect: chartRect,\n
index: seriesIndex,\n
series: series,\n
seriesIndex: seriesIndex,\n
axisX: axisX,\n
axisY: axisY,\n
group: seriesElement,\n
element: line\n
});\n
}\n
\n
// Area currently only works with axes that support a range!\n
if(seriesOptions.showArea && axisY.range) {\n
// If areaBase is outside the chart area (< min or > max) we need to set it respectively so that\n
// the area is not drawn outside the chart area.\n
var areaBase = Math.max(Math.min(seriesOptions.areaBase, axisY.range.max), axisY.range.min);\n
\n
// We project the areaBase value into screen coordinates\n
var areaBaseProjected = chartRect.y1 - axisY.projectValue(areaBase);\n
\n
// In order to form the area we\'ll first split the path by move commands so we can chunk it up into segments\n
path.splitByCommand(\'M\').filter(function onlySolidSegments(pathSegment) {\n
// We filter only "solid" segments that contain more than one point. Otherwise there\'s no need for an area\n
return pathSegment.pathElements.length > 1;\n
}).map(function convertToArea(solidPathSegments) {\n
// Receiving the filtered solid path segments we can now convert those segments into fill areas\n
var firstElement = solidPathSegments.pathElements[0];\n
var lastElement = solidPathSegments.pathElements[solidPathSegments.pathElements.length - 1];\n
\n
// Cloning the solid path segment with closing option and removing the first move command from the clone\n
// We then insert a new move that should start at the area base and draw a straight line up or down\n
// at the end of the path we add an additional straight line to the projected area base value\n
// As the closing option is set our path will be automatically closed\n
return solidPathSegments.clone(true)\n
.position(0)\n
.remove(1)\n
.move(firstElement.x, areaBaseProjected)\n
.line(firstElement.x, firstElement.y)\n
.position(solidPathSegments.pathElements.length + 1)\n
.line(lastElement.x, areaBaseProjected);\n
\n
}).forEach(function createArea(areaPath) {\n
// For each of our newly created area paths, we\'ll now create path elements by stringifying our path objects\n
// and adding the created DOM elements to the correct series group\n
var area = seriesElement.elem(\'path\', {\n
d: areaPath.stringify()\n
}, options.classNames.area, true).attr({\n
\'values\': data.normalized[seriesIndex]\n
}, Chartist.xmlNs.uri);\n
\n
// Emit an event for each area that was drawn\n
this.eventEmitter.emit(\'draw\', {\n
type: \'area\',\n
values: data.normalized[seriesIndex],\n
path: areaPath.clone(),\n
series: series,\n
seriesIndex: seriesIndex,\n
axisX: axisX,\n
axisY: axisY,\n
chartRect: chartRect,\n
index: seriesIndex,\n
group: seriesElement,\n
element: area\n
});\n
}.bind(this));\n
}\n
}.bind(this));\n
\n
this.eventEmitter.emit(\'created\', {\n
bounds: axisY.bounds,\n
chartRect: chartRect,\n
axisX: axisX,\n
axisY: axisY,\n
svg: this.svg,\n
options: options\n
});\n
}\n
\n
/**\n
* This method creates a new line chart.\n
*\n
* @memberof Chartist.Line\n
* @param {String|Node} query A selector query string or directly a DOM element\n
* @param {Object} data The data object that needs to consist of a labels and a series array\n
* @param {Object} [options] The options object with options that override the default options. Check the examples for a detailed list.\n
* @param {Array} [responsiveOptions] Specify an array of responsive option arrays which are a media query and options object pair => [[mediaQueryString, optionsObject],[more...]]\n
* @return {Object} An object which exposes the API for the created chart\n
*\n
* @example\n
* // Create a simple line chart\n
* var data = {\n
* // A labels array that can contain any sort of values\n
* labels: [\'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\'],\n
* // Our series array that contains series objects or in this case series data arrays\n
* series: [\n
* [5, 2, 4, 2, 0]\n
* ]\n
* };\n
*\n
* // As options we currently only set a static size of 300x200 px\n
* var options = {\n
* width: \'300px\',\n
* height: \'200px\'\n
* };\n
*\n
* // In the global name space Chartist we call the Line function to initialize a line chart. As a first parameter we pass in a selector where we would like to get our chart created. Second parameter is the actual data object and as a third parameter we pass in our options\n
* new Chartist.Line(\'.ct-chart\', data, options);\n
*\n
* @example\n
* // Use specific interpolation function with configuration from the Chartist.Interpolation module\n
*\n
* var chart = new Chartist.Line(\'.ct-chart\', {\n
* labels: [1, 2, 3, 4, 5],\n
* series: [\n
* [1, 1, 8, 1, 7]\n
* ]\n
* }, {\n
* lineSmooth: Chartist.Interpolation.cardinal({\n
* tension: 0.2\n
* })\n
* });\n
*\n
* @example\n
* // Create a line chart with responsive options\n
*\n
* var data = {\n
* // A labels array that can contain any sort of values\n
* labels: [\'Monday\', \'Tuesday\', \'Wednesday\', \'Thursday\', \'Friday\'],\n
* // Our series array that contains series objects or in this case series data arrays\n
* series: [\n
* [5, 2, 4, 2, 0]\n
* ]\n
* };\n
*\n
* // In adition to the regular options we specify responsive option overrides that will override the default configutation based on the matching media queries.\n
* var responsiveOptions = [\n
* [\'screen and (min-width: 641px) and (max-width: 1024px)\', {\n
* showPoint: false,\n
* axisX: {\n
* labelInterpolationFnc: function(value) {\n
* // Will return Mon, Tue, Wed etc. on medium screens\n
* return value.slice(0, 3);\n
* }\n
* }\n
* }],\n
* [\'screen and (max-width: 640px)\', {\n
* showLine: false,\n
* axisX: {\n
* labelInterpolationFnc: function(value) {\n
* // Will return M, T, W etc. on small screens\n
* return value[0];\n
* }\n
* }\n
* }]\n
* ];\n
*\n
* new Chartist.Line(\'.ct-chart\', data, null, responsiveOptions);\n
*\n
*/\n
function Line(query, data, options, responsiveOptions) {\n
Chartist.Line.super.constructor.call(this,\n
query,\n
data,\n
defaultOptions,\n
Chartist.extend({}, defaultOptions, options),\n
responsiveOptions);\n
}\n
\n
// Creating line chart type in Chartist namespace\n
Chartist.Line = Chartist.Base.extend({\n
constructor: Line,\n
createChart: createChart\n
});\n
\n
}(window, document, Chartist));\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>17720</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>line.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273074.87</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>pie.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* The pie chart module of Chartist that can be used to draw pie, donut or gauge charts\n
*\n
* @module Chartist.Pie\n
*/\n
/* global Chartist */\n
(function(window, document, Chartist) {\n
\'use strict\';\n
\n
/**\n
* Default options in line charts. Expand the code view to see a detailed list of options with comments.\n
*\n
* @memberof Chartist.Pie\n
*/\n
var defaultOptions = {\n
// Specify a fixed width for the chart as a string (i.e. \'100px\' or \'50%\')\n
width: undefined,\n
// Specify a fixed height for the chart as a string (i.e. \'100px\' or \'50%\')\n
height: undefined,\n
// Padding of the chart drawing area to the container element and labels as a number or padding object {top: 5, right: 5, bottom: 5, left: 5}\n
chartPadding: 5,\n
// Override the class names that are used to generate the SVG structure of the chart\n
classNames: {\n
chartPie: \'ct-chart-pie\',\n
chartDonut: \'ct-chart-donut\',\n
series: \'ct-series\',\n
slicePie: \'ct-slice-pie\',\n
sliceDonut: \'ct-slice-donut\',\n
label: \'ct-label\'\n
},\n
// The start angle of the pie chart in degrees where 0 points north. A higher value offsets the start angle clockwise.\n
startAngle: 0,\n
// An optional total you can specify. By specifying a total value, the sum of the values in the series must be this total in order to draw a full pie. You can use this parameter to draw only parts of a pie or gauge charts.\n
total: undefined,\n
// If specified the donut CSS classes will be used and strokes will be drawn instead of pie slices.\n
donut: false,\n
// Specify the donut stroke width, currently done in javascript for convenience. May move to CSS styles in the future.\n
donutWidth: 60,\n
// If a label should be shown or not\n
showLabel: true,\n
// Label position offset from the standard position which is half distance of the radius. This value can be either positive or negative. Positive values will position the label away from the center.\n
labelOffset: 0,\n
// This option can be set to \'inside\', \'outside\' or \'center\'. Positioned with \'inside\' the labels will be placed on half the distance of the radius to the border of the Pie by respecting the \'labelOffset\'. The \'outside\' option will place the labels at the border of the pie and \'center\' will place the labels in the absolute center point of the chart. The \'center\' option only makes sense in conjunction with the \'labelOffset\' option.\n
labelPosition: \'inside\',\n
// An interpolation function for the label value\n
labelInterpolationFnc: Chartist.noop,\n
// Label direction can be \'neutral\', \'explode\' or \'implode\'. The labels anchor will be positioned based on those settings as well as the fact if the labels are on the right or left side of the center of the chart. Usually explode is useful when labels are positioned far away from the center.\n
labelDirection: \'neutral\',\n
// If true the whole data is reversed including labels, the series order as well as the whole series data arrays.\n
reverseData: false\n
};\n
\n
/**\n
* Determines SVG anchor position based on direction and center parameter\n
*\n
* @param center\n
* @param label\n
* @param direction\n
* @return {string}\n
*/\n
function determineAnchorPosition(center, label, direction) {\n
var toTheRight = label.x > center.x;\n
\n
if(toTheRight && direction === \'explode\' ||\n
!toTheRight && direction === \'implode\') {\n
return \'start\';\n
} else if(toTheRight && direction === \'implode\' ||\n
!toTheRight && direction === \'explode\') {\n
return \'end\';\n
} else {\n
return \'middle\';\n
}\n
}\n
\n
/**\n
* Creates the pie chart\n
*\n
* @param options\n
*/\n
function createChart(options) {\n
var seriesGroups = [],\n
labelsGroup,\n
chartRect,\n
radius,\n
labelRadius,\n
totalDataSum,\n
startAngle = options.startAngle,\n
dataArray = Chartist.getDataArray(this.data, options.reverseData);\n
\n
// Create SVG.js draw\n
this.svg = Chartist.createSvg(this.container, options.width, options.height,options.donut ? options.classNames.chartDonut : options.classNames.chartPie);\n
// Calculate charting rect\n
chartRect = Chartist.createChartRect(this.svg, options, defaultOptions.padding);\n
// Get biggest circle radius possible within chartRect\n
radius = Math.min(chartRect.width() / 2, chartRect.height() / 2);\n
// Calculate total of all series to get reference value or use total reference from optional options\n
totalDataSum = options.total || dataArray.reduce(function(previousValue, currentValue) {\n
return previousValue + currentValue;\n
}, 0);\n
\n
// If this is a donut chart we need to adjust our radius to enable strokes to be drawn inside\n
// Unfortunately this is not possible with the current SVG Spec\n
// See this proposal for more details: http://lists.w3.org/Archives/Public/www-svg/2003Oct/0000.html\n
radius -= options.donut ? options.donutWidth / 2 : 0;\n
\n
// If labelPosition is set to `outside` or a donut chart is drawn then the label position is at the radius,\n
// if regular pie chart it\'s half of the radius\n
if(options.labelPosition === \'outside\' || options.donut) {\n
labelRadius = radius;\n
} else if(options.labelPosition === \'center\') {\n
// If labelPosition is center we start with 0 and will later wait for the labelOffset\n
labelRadius = 0;\n
} else {\n
// Default option is \'inside\' where we use half the radius so the label will be placed in the center of the pie\n
// slice\n
labelRadius = radius / 2;\n
}\n
// Add the offset to the labelRadius where a negative offset means closed to the center of the chart\n
labelRadius += options.labelOffset;\n
\n
// Calculate end angle based on total sum and current data value and offset with padding\n
var center = {\n
x: chartRect.x1 + chartRect.width() / 2,\n
y: chartRect.y2 + chartRect.height() / 2\n
};\n
\n
// Check if there is only one non-zero value in the series array.\n
var hasSingleValInSeries = this.data.series.filter(function(val) {\n
return val.hasOwnProperty(\'value\') ? val.value !== 0 : val !== 0;\n
}).length === 1;\n
\n
//if we need to show labels we create the label group now\n
if(options.showLabel) {\n
labelsGroup = this.svg.elem(\'g\', null, null, true);\n
}\n
\n
// Draw the series\n
// initialize series groups\n
for (var i = 0; i < this.data.series.length; i++) {\n
var series = this.data.series[i];\n
seriesGroups[i] = this.svg.elem(\'g\', null, null, true);\n
\n
// If the series is an object and contains a name or meta data we add a custom attribute\n
seriesGroups[i].attr({\n
\'series-name\': series.name\n
}, Chartist.xmlNs.uri);\n
\n
// Use series class from series data or if not set generate one\n
seriesGroups[i].addClass([\n
options.classNames.series,\n
(series.className || options.classNames.series + \'-\' + Chartist.alphaNumerate(i))\n
].join(\' \'));\n
\n
var endAngle = startAngle + dataArray[i] / totalDataSum * 360;\n
// If we need to draw the arc for all 360 degrees we need to add a hack where we close the circle\n
// with Z and use 359.99 degrees\n
if(endAngle - startAngle === 360) {\n
endAngle -= 0.01;\n
}\n
\n
var start = Chartist.polarToCartesian(center.x, center.y, radius, startAngle - (i === 0 || hasSingleValInSeries ? 0 : 0.2)),\n
end = Chartist.polarToCartesian(center.x, center.y, radius, endAngle);\n
\n
// Create a new path element for the pie chart. If this isn\'t a donut chart we should close the path for a correct stroke\n
var path = new Chartist.Svg.Path(!options.donut)\n
.move(end.x, end.y)\n
.arc(radius, radius, 0, endAngle - startAngle > 180, 0, start.x, start.y);\n
\n
// If regular pie chart (no donut) we add a line to the center of the circle for completing the pie\n
if(!options.donut) {\n
path.line(center.x, center.y);\n
}\n
\n
// Create the SVG path\n
// If this is a donut chart we add the donut class, otherwise just a regular slice\n
var pathElement = seriesGroups[i].elem(\'path\', {\n
d: path.stringify()\n
}, options.donut ? options.classNames.sliceDonut : options.classNames.slicePie);\n
\n
// Adding the pie series value to the path\n
pathElement.attr({\n
\'value\': dataArray[i],\n
\'meta\': Chartist.serialize(series.meta)\n
}, Chartist.xmlNs.uri);\n
\n
// If this is a donut, we add the stroke-width as style attribute\n
if(options.donut) {\n
pathElement.attr({\n
\'style\': \'stroke-width: \' + (+options.donutWidth) + \'px\'\n
});\n
}\n
\n
// Fire off draw event\n
this.eventEmitter.emit(\'draw\', {\n
type: \'slice\',\n
value: dataArray[i],\n
totalDataSum: totalDataSum,\n
index: i,\n
meta: series.meta,\n
series: series,\n
group: seriesGroups[i],\n
element: pathElement,\n
path: path.clone(),\n
center: center,\n
radius: radius,\n
startAngle: startAngle,\n
endAngle: endAngle\n
});\n
\n
// If we need to show labels we need to add the label for this slice now\n
if(options.showLabel) {\n
// Position at the labelRadius distance from center and between start and end angle\n
var labelPosition = Chartist.polarToCartesian(center.x, center.y, labelRadius, startAngle + (endAngle - startAngle) / 2),\n
interpolatedValue = options.labelInterpolationFnc(this.data.labels ? this.data.labels[i] : dataArray[i], i);\n
\n
if(interpolatedValue || interpolatedValue === 0) {\n
var labelElement = labelsGroup.elem(\'text\', {\n
dx: labelPosition.x,\n
dy: labelPosition.y,\n
\'text-anchor\': determineAnchorPosition(center, labelPosition, options.labelDirection)\n
}, options.classNames.label).text(\'\' + interpolatedValue);\n
\n
// Fire off draw event\n
this.eventEmitter.emit(\'draw\', {\n
type: \'label\',\n
index: i,\n
group: labelsGroup,\n
element: labelElement,\n
text: \'\' + interpolatedValue,\n
x: labelPosition.x,\n
y: labelPosition.y\n
});\n
}\n
}\n
\n
// Set next startAngle to current endAngle. Use slight offset so there are no transparent hairline issues\n
// (except for last slice)\n
startAngle = endAngle;\n
}\n
\n
this.eventEmitter.emit(\'created\', {\n
chartRect: chartRect,\n
svg: this.svg,\n
options: options\n
});\n
}\n
\n
/**\n
* This method creates a new pie chart and returns an object that can be used to redraw the chart.\n
*\n
* @memberof Chartist.Pie\n
* @param {String|Node} query A selector query string or directly a DOM element\n
* @param {Object} data The data object in the pie chart needs to have a series property with a one dimensional data array. The values will be normalized against each other and don\'t necessarily need to be in percentage. The series property can also be an array of value objects that contain a value property and a className property to override the CSS class name for the series group.\n
* @param {Object} [options] The options object with options that override the default options. Check the examples for a detailed list.\n
* @param {Array} [responsiveOptions] Specify an array of responsive option arrays which are a media query and options object pair => [[mediaQueryString, optionsObject],[more...]]\n
* @return {Object} An object with a version and an update method to manually redraw the chart\n
*\n
* @example\n
* // Simple pie chart example with four series\n
* new Chartist.Pie(\'.ct-chart\', {\n
* series: [10, 2, 4, 3]\n
* });\n
*\n
* @example\n
* // Drawing a donut chart\n
* new Chartist.Pie(\'.ct-chart\', {\n
* series: [10, 2, 4, 3]\n
* }, {\n
* donut: true\n
* });\n
*\n
* @example\n
* // Using donut, startAngle and total to draw a gauge chart\n
* new Chartist.Pie(\'.ct-chart\', {\n
* series: [20, 10, 30, 40]\n
* }, {\n
* donut: true,\n
* donutWidth: 20,\n
* startAngle: 270,\n
* total: 200\n
* });\n
*\n
* @example\n
* // Drawing a pie chart with padding and labels that are outside the pie\n
* new Chartist.Pie(\'.ct-chart\', {\n
* series: [20, 10, 30, 40]\n
* }, {\n
* chartPadding: 30,\n
* labelOffset: 50,\n
* labelDirection: \'explode\'\n
* });\n
*\n
* @example\n
* // Overriding the class names for individual series as well as a name and meta data.\n
* // The name will be written as ct:series-name attribute and the meta data will be serialized and written\n
* // to a ct:meta attribute.\n
* new Chartist.Pie(\'.ct-chart\', {\n
* series: [{\n
* value: 20,\n
* name: \'Series 1\',\n
* className: \'my-custom-class-one\',\n
* meta: \'Meta One\'\n
* }, {\n
* value: 10,\n
* name: \'Series 2\',\n
* className: \'my-custom-class-two\',\n
* meta: \'Meta Two\'\n
* }, {\n
* value: 70,\n
* name: \'Series 3\',\n
* className: \'my-custom-class-three\',\n
* meta: \'Meta Three\'\n
* }]\n
* });\n
*/\n
function Pie(query, data, options, responsiveOptions) {\n
Chartist.Pie.super.constructor.call(this,\n
query,\n
data,\n
defaultOptions,\n
Chartist.extend({}, defaultOptions, options),\n
responsiveOptions);\n
}\n
\n
// Creating pie chart type in Chartist namespace\n
Chartist.Pie = Chartist.Base.extend({\n
constructor: Pie,\n
createChart: createChart,\n
determineAnchorPosition: determineAnchorPosition\n
});\n
\n
}(window, document, Chartist));\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>13500</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>pie.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273077.19</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>class.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* This module provides some basic prototype inheritance utilities.\n
*\n
* @module Chartist.Class\n
*/\n
/* global Chartist */\n
(function(window, document, Chartist) {\n
\'use strict\';\n
\n
function listToArray(list) {\n
var arr = [];\n
if (list.length) {\n
for (var i = 0; i < list.length; i++) {\n
arr.push(list[i]);\n
}\n
}\n
return arr;\n
}\n
\n
/**\n
* Method to extend from current prototype.\n
*\n
* @memberof Chartist.Class\n
* @param {Object} properties The object that serves as definition for the prototype that gets created for the new class. This object should always contain a constructor property that is the desired constructor for the newly created class.\n
* @param {Object} [superProtoOverride] By default extens will use the current class prototype or Chartist.class. With this parameter you can specify any super prototype that will be used.\n
* @return {Function} Constructor function of the new class\n
*\n
* @example\n
* var Fruit = Class.extend({\n
* color: undefined,\n
* sugar: undefined,\n
*\n
* constructor: function(color, sugar) {\n
* this.color = color;\n
* this.sugar = sugar;\n
* },\n
*\n
* eat: function() {\n
* this.sugar = 0;\n
* return this;\n
* }\n
* });\n
*\n
* var Banana = Fruit.extend({\n
* length: undefined,\n
*\n
* constructor: function(length, sugar) {\n
* Banana.super.constructor.call(this, \'Yellow\', sugar);\n
* this.length = length;\n
* }\n
* });\n
*\n
* var banana = new Banana(20, 40);\n
* console.log(\'banana instanceof Fruit\', banana instanceof Fruit);\n
* console.log(\'Fruit is prototype of banana\', Fruit.prototype.isPrototypeOf(banana));\n
* console.log(\'bananas prototype is Fruit\', Object.getPrototypeOf(banana) === Fruit.prototype);\n
* console.log(banana.sugar);\n
* console.log(banana.eat().sugar);\n
* console.log(banana.color);\n
*/\n
function extend(properties, superProtoOverride) {\n
var superProto = superProtoOverride || this.prototype || Chartist.Class;\n
var proto = Object.create(superProto);\n
\n
Chartist.Class.cloneDefinitions(proto, properties);\n
\n
var constr = function() {\n
var fn = proto.constructor || function () {},\n
instance;\n
\n
// If this is linked to the Chartist namespace the constructor was not called with new\n
// To provide a fallback we will instantiate here and return the instance\n
instance = this === Chartist ? Object.create(proto) : this;\n
fn.apply(instance, Array.prototype.slice.call(arguments, 0));\n
\n
// If this constructor was not called with new we need to return the instance\n
// This will not harm when the constructor has been called with new as the returned value is ignored\n
return instance;\n
};\n
\n
constr.prototype = proto;\n
constr.super = superProto;\n
constr.extend = this.extend;\n
\n
return constr;\n
}\n
\n
// Variable argument list clones args > 0 into args[0] and retruns modified args[0]\n
function cloneDefinitions() {\n
var args = listToArray(arguments);\n
var target = args[0];\n
\n
args.splice(1, args.length - 1).forEach(function (source) {\n
Object.getOwnPropertyNames(source).forEach(function (propName) {\n
// If this property already exist in target we delete it first\n
delete target[propName];\n
// Define the property with the descriptor from source\n
Object.defineProperty(target, propName,\n
Object.getOwnPropertyDescriptor(source, propName));\n
});\n
});\n
\n
return target;\n
}\n
\n
Chartist.Class = {\n
extend: extend,\n
cloneDefinitions: cloneDefinitions\n
};\n
\n
}(window, document, Chartist));\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>3671</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>class.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273073.86</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>core.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* The core module of Chartist that is mainly providing static functions and higher level functions for chart modules.\n
*\n
* @module Chartist.Core\n
*/\n
var Chartist = {\n
version: \'<%= pkg.version %>\'\n
};\n
\n
(function (window, document, Chartist) {\n
\'use strict\';\n
\n
/**\n
* Helps to simplify functional style code\n
*\n
* @memberof Chartist.Core\n
* @param {*} n This exact value will be returned by the noop function\n
* @return {*} The same value that was provided to the n parameter\n
*/\n
Chartist.noop = function (n) {\n
return n;\n
};\n
\n
/**\n
* Generates a-z from a number 0 to 26\n
*\n
* @memberof Chartist.Core\n
* @param {Number} n A number from 0 to 26 that will result in a letter a-z\n
* @return {String} A character from a-z based on the input number n\n
*/\n
Chartist.alphaNumerate = function (n) {\n
// Limit to a-z\n
return String.fromCharCode(97 + n % 26);\n
};\n
\n
/**\n
* Simple recursive object extend\n
*\n
* @memberof Chartist.Core\n
* @param {Object} target Target object where the source will be merged into\n
* @param {Object...} sources This object (objects) will be merged into target and then target is returned\n
* @return {Object} An object that has the same reference as target but is extended and merged with the properties of source\n
*/\n
Chartist.extend = function (target) {\n
target = target || {};\n
\n
var sources = Array.prototype.slice.call(arguments, 1);\n
sources.forEach(function(source) {\n
for (var prop in source) {\n
if (typeof source[prop] === \'object\' && source[prop] !== null && !(source[prop] instanceof Array)) {\n
target[prop] = Chartist.extend({}, target[prop], source[prop]);\n
} else {\n
target[prop] = source[prop];\n
}\n
}\n
});\n
\n
return target;\n
};\n
\n
/**\n
* Replaces all occurrences of subStr in str with newSubStr and returns a new string.\n
*\n
* @memberof Chartist.Core\n
* @param {String} str\n
* @param {String} subStr\n
* @param {String} newSubStr\n
* @return {String}\n
*/\n
Chartist.replaceAll = function(str, subStr, newSubStr) {\n
return str.replace(new RegExp(subStr, \'g\'), newSubStr);\n
};\n
\n
/**\n
* Converts a string to a number while removing the unit if present. If a number is passed then this will be returned unmodified.\n
*\n
* @memberof Chartist.Core\n
* @param {String|Number} value\n
* @return {Number} Returns the string as number or NaN if the passed length could not be converted to pixel\n
*/\n
Chartist.stripUnit = function(value) {\n
if(typeof value === \'string\') {\n
value = value.replace(/[^0-9\\+-\\.]/g, \'\');\n
}\n
\n
return +value;\n
};\n
\n
/**\n
* Converts a number to a string with a unit. If a string is passed then this will be returned unmodified.\n
*\n
* @memberof Chartist.Core\n
* @param {Number} value\n
* @param {String} unit\n
* @return {String} Returns the passed number value with unit.\n
*/\n
Chartist.ensureUnit = function(value, unit) {\n
if(typeof value === \'number\') {\n
value = value + unit;\n
}\n
\n
return value;\n
};\n
\n
/**\n
* This is a wrapper around document.querySelector that will return the query if it\'s already of type Node\n
*\n
* @memberof Chartist.Core\n
* @param {String|Node} query The query to use for selecting a Node or a DOM node that will be returned directly\n
* @return {Node}\n
*/\n
Chartist.querySelector = function(query) {\n
return query instanceof Node ? query : document.querySelector(query);\n
};\n
\n
/**\n
* Functional style helper to produce array with given length initialized with undefined values\n
*\n
* @memberof Chartist.Core\n
* @param length\n
* @return {Array}\n
*/\n
Chartist.times = function(length) {\n
return Array.apply(null, new Array(length));\n
};\n
\n
/**\n
* Sum helper to be used in reduce functions\n
*\n
* @memberof Chartist.Core\n
* @param previous\n
* @param current\n
* @return {*}\n
*/\n
Chartist.sum = function(previous, current) {\n
return previous + (current ? current : 0);\n
};\n
\n
/**\n
* Multiply helper to be used in `Array.map` for multiplying each value of an array with a factor.\n
*\n
* @memberof Chartist.Core\n
* @param {Number} factor\n
* @returns {Function} Function that can be used in `Array.map` to multiply each value in an array\n
*/\n
Chartist.mapMultiply = function(factor) {\n
return function(num) {\n
return num * factor;\n
};\n
};\n
\n
/**\n
* Add helper to be used in `Array.map` for adding a addend to each value of an array.\n
*\n
* @memberof Chartist.Core\n
* @param {Number} addend\n
* @returns {Function} Function that can be used in `Array.map` to add a addend to each value in an array\n
*/\n
Chartist.mapAdd = function(addend) {\n
return function(num) {\n
return num + addend;\n
};\n
};\n
\n
/**\n
* Map for multi dimensional arrays where their nested arrays will be mapped in serial. The output array will have the length of the largest nested array. The callback function is called with variable arguments where each argument is the nested array value (or undefined if there are no more values).\n
*\n
* @memberof Chartist.Core\n
* @param arr\n
* @param cb\n
* @return {Array}\n
*/\n
Chartist.serialMap = function(arr, cb) {\n
var result = [],\n
length = Math.max.apply(null, arr.map(function(e) {\n
return e.length;\n
}));\n
\n
Chartist.times(length).forEach(function(e, index) {\n
var args = arr.map(function(e) {\n
return e[index];\n
});\n
\n
result[index] = cb.apply(null, args);\n
});\n
\n
return result;\n
};\n
\n
/**\n
* This helper function can be used to round values with certain precision level after decimal. This is used to prevent rounding errors near float point precision limit.\n
*\n
* @memberof Chartist.Core\n
* @param {Number} value The value that should be rounded with precision\n
* @param {Number} [digits] The number of digits after decimal used to do the rounding\n
* @returns {number} Rounded value\n
*/\n
Chartist.roundWithPrecision = function(value, digits) {\n
var precision = Math.pow(10, digits || Chartist.precision);\n
return Math.round(value * precision) / precision;\n
};\n
\n
/**\n
* Precision level used internally in Chartist for rounding. If you require more decimal places you can increase this number.\n
*\n
* @memberof Chartist.Core\n
* @type {number}\n
*/\n
Chartist.precision = 8;\n
\n
/**\n
* A map with characters to escape for strings to be safely used as attribute values.\n
*\n
* @memberof Chartist.Core\n
* @type {Object}\n
*/\n
Chartist.escapingMap = {\n
\'&\': \'&amp;\',\n
\'<\': \'&lt;\',\n
\'>\': \'&gt;\',\n
\'"\': \'&quot;\',\n
\'\\\'\': \'&#039;\'\n
};\n
\n
/**\n
* This function serializes arbitrary data to a string. In case of data that can\'t be easily converted to a string, this function will create a wrapper object and serialize the data using JSON.stringify. The outcoming string will always be escaped using Chartist.escapingMap.\n
* If called with null or undefined the function will return immediately with null or undefined.\n
*\n
* @memberof Chartist.Core\n
* @param {Number|String|Object} data\n
* @return {String}\n
*/\n
Chartist.serialize = function(data) {\n
if(data === null || data === undefined) {\n
return data;\n
} else if(typeof data === \'number\') {\n
data = \'\'+data;\n
} else if(typeof data === \'object\') {\n
data = JSON.stringify({data: data});\n
}\n
\n
return Object.keys(Chartist.escapingMap).reduce(function(result, key) {\n
return Chartist.replaceAll(result, key, Chartist.escapingMap[key]);\n
}, data);\n
};\n
\n
/**\n
* This function de-serializes a string previously serialized with Chartist.serialize. The string will always be unescaped using Chartist.escapingMap before it\'s returned. Based on the input value the return type can be Number, String or Object. JSON.parse is used with try / catch to see if the unescaped string can be parsed into an Object and this Object will be returned on success.\n
*\n
* @memberof Chartist.Core\n
* @param {String} data\n
* @return {String|Number|Object}\n
*/\n
Chartist.deserialize = function(data) {\n
if(typeof data !== \'string\') {\n
return data;\n
}\n
\n
data = Object.keys(Chartist.escapingMap).reduce(function(result, key) {\n
return Chartist.replaceAll(result, Chartist.escapingMap[key], key);\n
}, data);\n
\n
try {\n
data = JSON.parse(data);\n
data = data.data !== undefined ? data.data : data;\n
} catch(e) {}\n
\n
return data;\n
};\n
\n
/**\n
* Create or reinitialize the SVG element for the chart\n
*\n
* @memberof Chartist.Core\n
* @param {Node} container The containing DOM Node object that will be used to plant the SVG element\n
* @param {String} width Set the width of the SVG element. Default is 100%\n
* @param {String} height Set the height of the SVG element. Default is 100%\n
* @param {String} className Specify a class to be added to the SVG element\n
* @return {Object} The created/reinitialized SVG element\n
*/\n
Chartist.createSvg = function (container, width, height, className) {\n
var svg;\n
\n
width = width || \'100%\';\n
height = height || \'100%\';\n
\n
// Check if there is a previous SVG element in the container that contains the Chartist XML namespace and remove it\n
// Since the DOM API does not support namespaces we need to manually search the returned list http://www.w3.org/TR/selectors-api/\n
Array.prototype.slice.call(container.querySelectorAll(\'svg\')).filter(function filterChartistSvgObjects(svg) {\n
return svg.getAttributeNS(\'http://www.w3.org/2000/xmlns/\', Chartist.xmlNs.prefix);\n
}).forEach(function removePreviousElement(svg) {\n
container.removeChild(svg);\n
});\n
\n
// Create svg object with width and height or use 100% as default\n
svg = new Chartist.Svg(\'svg\').attr({\n
width: width,\n
height: height\n
}).addClass(className).attr({\n
style: \'width: \' + width + \'; height: \' + height + \';\'\n
});\n
\n
// Add the DOM node to our container\n
container.appendChild(svg._node);\n
\n
return svg;\n
};\n
\n
\n
/**\n
* Reverses the series, labels and series data arrays.\n
*\n
* @memberof Chartist.Core\n
* @param data\n
*/\n
Chartist.reverseData = function(data) {\n
data.labels.reverse();\n
data.series.reverse();\n
for (var i = 0; i < data.series.length; i++) {\n
if(typeof(data.series[i]) === \'object\' && data.series[i].data !== undefined) {\n
data.series[i].data.reverse();\n
} else if(data.series[i] instanceof Array) {\n
data.series[i].reverse();\n
}\n
}\n
};\n
\n
/**\n
* Convert data series into plain array\n
*\n
* @memberof Chartist.Core\n
* @param {Object} data The series object that contains the data to be visualized in the chart\n
* @param {Boolean} reverse If true the whole data is reversed by the getDataArray call. This will modify the data object passed as first parameter. The labels as well as the series order is reversed. The whole series data arrays are reversed too.\n
* @param {Boolean} multi Create a multi dimensional array from a series data array where a value object with `x` and `y` values will be created.\n
* @return {Array} A plain array that contains the data to be visualized in the chart\n
*/\n
Chartist.getDataArray = function (data, reverse, multi) {\n
// If the data should be reversed but isn\'t we need to reverse it\n
// If it\'s reversed but it shouldn\'t we need to reverse it back\n
// That\'s required to handle data updates correctly and to reflect the responsive configurations\n
if(reverse && !data.reversed || !reverse && data.reversed) {\n
Chartist.reverseData(data);\n
data.reversed = !data.reversed;\n
}\n
\n
// Recursively walks through nested arrays and convert string values to numbers and objects with value properties\n
// to values. Check the tests in data core -> data normalization for a detailed specification of expected values\n
function recursiveConvert(value) {\n
if(Chartist.isFalseyButZero(value)) {\n
// This is a hole in data and we should return undefined\n
return undefined;\n
} else if((value.data || value) instanceof Array) {\n
return (value.data || value).map(recursiveConvert);\n
} else if(value.hasOwnProperty(\'value\')) {\n
return recursiveConvert(value.value);\n
} else {\n
if(multi) {\n
var multiValue = {};\n
\n
// Single series value arrays are assumed to specify the Y-Axis value\n
// For example: [1, 2] => [{x: undefined, y: 1}, {x: undefined, y: 2}]\n
// If multi is a string then it\'s assumed that it specified which dimension should be filled as default\n
if(typeof multi === \'string\') {\n
multiValue[multi] = Chartist.getNumberOrUndefined(value);\n
} else {\n
multiValue.y = Chartist.getNumberOrUndefined(value);\n
}\n
\n
multiValue.x = value.hasOwnProperty(\'x\') ? Chartist.getNumberOrUndefined(value.x) : multiValue.x;\n
multiValue.y = value.hasOwnProperty(\'y\') ? Chartist.getNumberOrUndefined(value.y) : multiValue.y;\n
\n
return multiValue;\n
\n
} else {\n
return Chartist.getNumberOrUndefined(value);\n
}\n
}\n
}\n
\n
return data.series.map(recursiveConvert);\n
};\n
\n
/**\n
* Converts a number into a padding object.\n
*\n
* @memberof Chartist.Core\n
* @param {Object|Number} padding\n
* @param {Number} [fallback] This value is used to fill missing values if a incomplete padding object was passed\n
* @returns {Object} Returns a padding object containing top, right, bottom, left properties filled with the padding number passed in as argument. If the argument is something else than a number (presumably already a correct padding object) then this argument is directly returned.\n
*/\n
Chartist.normalizePadding = function(padding, fallback) {\n
fallback = fallback || 0;\n
\n
return typeof padding === \'number\' ? {\n
top: padding,\n
right: padding,\n
bottom: padding,\n
left: padding\n
} : {\n
top: typeof padding.top === \'number\' ? padding.top : fallback,\n
right: typeof padding.right === \'number\' ? padding.right : fallback,\n
bottom: typeof padding.bottom === \'number\' ? padding.bottom : fallback,\n
left: typeof padding.left === \'number\' ? padding.left : fallback\n
};\n
};\n
\n
Chartist.getMetaData = function(series, index) {\n
var value = series.data ? series.data[index] : series[index];\n
return value ? Chartist.serialize(value.meta) : undefined;\n
};\n
\n
/**\n
* Calculate the order of magnitude for the chart scale\n
*\n
* @memberof Chartist.Core\n
* @param {Number} value The value Range of the chart\n
* @return {Number} The order of magnitude\n
*/\n
Chartist.orderOfMagnitude = function (value) {\n
return Math.floor(Math.log(Math.abs(value)) / Math.LN10);\n
};\n
\n
/**\n
* Project a data length into screen coordinates (pixels)\n
*\n
* @memberof Chartist.Core\n
* @param {Object} axisLength The svg element for the chart\n
* @param {Number} length Single data value from a series array\n
* @param {Object} bounds All the values to set the bounds of the chart\n
* @return {Number} The projected data length in pixels\n
*/\n
Chartist.projectLength = function (axisLength, length, bounds) {\n
return length / bounds.range * axisLength;\n
};\n
\n
/**\n
* Get the height of the area in the chart for the data series\n
*\n
* @memberof Chartist.Core\n
* @param {Object} svg The svg element for the chart\n
* @param {Object} options The Object that contains all the optional values for the chart\n
* @return {Number} The height of the area in the chart for the data series\n
*/\n
Chartist.getAvailableHeight = function (svg, options) {\n
return Math.max((Chartist.stripUnit(options.height) || svg.height()) - (options.chartPadding.top + options.chartPadding.bottom) - options.axisX.offset, 0);\n
};\n
\n
/**\n
* Get highest and lowest value of data array. This Array contains the data that will be visualized in the chart.\n
*\n
* @memberof Chartist.Core\n
* @param {Array} data The array that contains the data to be visualized in the chart\n
* @param {Object} options The Object that contains the chart options\n
* @param {String} dimension Axis dimension \'x\' or \'y\' used to access the correct value and high / low configuration\n
* @return {Object} An object that contains the highest and lowest value that will be visualized on the chart.\n
*/\n
Chartist.getHighLow = function (data, options, dimension) {\n
// TODO: Remove workaround for deprecated global high / low config. Axis high / low configuration is preferred\n
options = Chartist.extend({}, options, dimension ? options[\'axis\' + dimension.toUpperCase()] : {});\n
\n
var highLow = {\n
high: options.high === undefined ? -Number.MAX_VALUE : +options.high,\n
low: options.low === undefined ? Number.MAX_VALUE : +options.low\n
};\n
var findHigh = options.high === undefined;\n
var findLow = options.low === undefined;\n
\n
// Function to recursively walk through arrays and find highest and lowest number\n
function recursiveHighLow(data) {\n
if(data === undefined) {\n
return undefined;\n
} else if(data instanceof Array) {\n
for (var i = 0; i < data.length; i++) {\n
recursiveHighLow(data[i]);\n
}\n
} else {\n
var value = dimension ? +data[dimension] : +data;\n
\n
if (findHigh && value > highLow.high) {\n
highLow.high = value;\n
}\n
\n
if (findLow && value < highLow.low) {\n
highLow.low = value;\n
}\n
}\n
}\n
\n
// Start to find highest and lowest number recursively\n
if(findHigh || findLow) {\n
recursiveHighLow(data);\n
}\n
\n
// Overrides of high / low based on reference value, it will make sure that the invisible reference value is\n
// used to generate the chart. This is useful when the chart always needs to contain the position of the\n
// invisible reference value in the view i.e. for bipolar scales.\n
if (options.referenceValue || options.referenceValue === 0) {\n
highLow.high = Math.max(options.referenceValue, highLow.high);\n
highLow.low = Math.min(options.referenceValue, highLow.low);\n
}\n
\n
// If high and low are the same because of misconfiguration or flat data (only the same value) we need\n
// to set the high or low to 0 depending on the polarity\n
if (highLow.high <= highLow.low) {\n
// If both values are 0 we set high to 1\n
if (highLow.low === 0) {\n
highLow.high = 1;\n
} else if (highLow.low < 0) {\n
// If we have the same negative value for the bounds we set bounds.high to 0\n
highLow.high = 0;\n
} else {\n
// If we have the same positive value for the bounds we set bounds.low to 0\n
highLow.low = 0;\n
}\n
}\n
\n
return highLow;\n
};\n
\n
/**\n
* Checks if the value is a valid number or string with a number.\n
*\n
* @memberof Chartist.Core\n
* @param value\n
* @returns {Boolean}\n
*/\n
Chartist.isNum = function(value) {\n
return !isNaN(value) && isFinite(value);\n
};\n
\n
/**\n
* Returns true on all falsey values except the numeric value 0.\n
*\n
* @memberof Chartist.Core\n
* @param value\n
* @returns {boolean}\n
*/\n
Chartist.isFalseyButZero = function(value) {\n
return !value && value !== 0;\n
};\n
\n
/**\n
* Returns a number if the passed parameter is a valid number or the function will return undefined. On all other values than a valid number, this function will return undefined.\n
*\n
* @memberof Chartist.Core\n
* @param value\n
* @returns {*}\n
*/\n
Chartist.getNumberOrUndefined = function(value) {\n
return isNaN(+value) ? undefined : +value;\n
};\n
\n
/**\n
* Gets a value from a dimension `value.x` or `value.y` while returning value directly if it\'s a valid numeric value. If the value is not numeric and it\'s falsey this function will return undefined.\n
*\n
* @param value\n
* @param dimension\n
* @returns {*}\n
*/\n
Chartist.getMultiValue = function(value, dimension) {\n
if(Chartist.isNum(value)) {\n
return +value;\n
} else if(value) {\n
return value[dimension || \'y\'] || 0;\n
} else {\n
return 0;\n
}\n
};\n
\n
/**\n
* Pollard Rho Algorithm to find smallest factor of an integer value. There are more efficient algorithms for factorization, but this one is quite efficient and not so complex.\n
*\n
* @memberof Chartist.Core\n
* @param {Number} num An integer number where the smallest factor should be searched for\n
* @returns {Number} The smallest integer factor of the parameter num.\n
*/\n
Chartist.rho = function(num) {\n
if(num === 1) {\n
return num;\n
}\n
\n
function gcd(p, q) {\n
if (p % q === 0) {\n
return q;\n
} else {\n
return gcd(q, p % q);\n
}\n
}\n
\n
function f(x) {\n
return x * x + 1;\n
}\n
\n
var x1 = 2, x2 = 2, divisor;\n
if (num % 2 === 0) {\n
return 2;\n
}\n
\n
do {\n
x1 = f(x1) % num;\n
x2 = f(f(x2)) % num;\n
divisor = gcd(Math.abs(x1 - x2), num);\n
} while (divisor === 1);\n
\n
return divisor;\n
};\n
\n
/**\n
* Calculate and retrieve all the bounds for the chart and return them in one array\n
*\n
* @memberof Chartist.Core\n
* @param {Number} axisLength The length of the Axis used for\n
* @param {Object} highLow An object containing a high and low property indicating the value range of the chart.\n
* @param {Number} scaleMinSpace The minimum projected length a step should result in\n
* @param {Boolean} onlyInteger\n
* @return {Object} All the values to set the bounds of the chart\n
*/\n
Chartist.getBounds = function (axisLength, highLow, scaleMinSpace, onlyInteger) {\n
var i,\n
optimizationCounter = 0,\n
newMin,\n
newMax,\n
bounds = {\n
high: highLow.high,\n
low: highLow.low\n
};\n
\n
bounds.valueRange = bounds.high - bounds.low;\n
bounds.oom = Chartist.orderOfMagnitude(bounds.valueRange);\n
bounds.step = Math.pow(10, bounds.oom);\n
bounds.min = Math.floor(bounds.low / bounds.step) * bounds.step;\n
bounds.max = Math.ceil(bounds.high / bounds.step) * bounds.step;\n
bounds.range = bounds.max - bounds.min;\n
bounds.numberOfSteps = Math.round(bounds.range / bounds.step);\n
\n
// Optimize scale step by checking if subdivision is possible based on horizontalGridMinSpace\n
// If we are already below the scaleMinSpace value we will scale up\n
var length = Chartist.projectLength(axisLength, bounds.step, bounds);\n
var scaleUp = length < scaleMinSpace;\n
var smallestFactor = onlyInteger ? Chartist.rho(bounds.range) : 0;\n
\n
// First check if we should only use integer steps and if step 1 is still larger than scaleMinSpace so we can use 1\n
if(onlyInteger && Chartist.projectLength(axisLength, 1, bounds) >= scaleMinSpace) {\n
bounds.step = 1;\n
} else if(onlyInteger && smallestFactor < bounds.step && Chartist.projectLength(axisLength, smallestFactor, bounds) >= scaleMinSpace) {\n
// If step 1 was too small, we can try the smallest factor of range\n
// If the smallest factor is smaller than the current bounds.step and the projected length of smallest factor\n
// is larger than the scaleMinSpace we should go for it.\n
bounds.step = smallestFactor;\n
} else {\n
// Trying to divide or multiply by 2 and find the best step value\n
while (true) {\n
if (scaleUp && Chartist.projectLength(axisLength, bounds.step, bounds) <= scaleMinSpace) {\n
bounds.step *= 2;\n
} else if (!scaleUp && Chartist.projectLength(axisLength, bounds.step / 2, bounds) >= scaleMinSpace) {\n
bounds.step /= 2;\n
if(onlyInteger && bounds.step % 1 !== 0) {\n
bounds.step *= 2;\n
break;\n
}\n
} else {\n
break;\n
}\n
\n
if(optimizationCounter++ > 1000) {\n
throw new Error(\'Exceeded maximum number of iterations while optimizing scale step!\');\n
}\n
}\n
}\n
\n
// Narrow min and max based on new step\n
newMin = bounds.min;\n
newMax = bounds.max;\n
while(newMin + bounds.step <= bounds.low) {\n
newMin += bounds.step;\n
}\n
while(newMax - bounds.step >= bounds.high) {\n
newMax -= bounds.step;\n
}\n
bounds.min = newMin;\n
bounds.max = newMax;\n
bounds.range = bounds.max - bounds.min;\n
\n
bounds.values = [];\n
for (i = bounds.min; i <= bounds.max; i += bounds.step) {\n
bounds.values.push(Chartist.roundWithPrecision(i));\n
}\n
\n
return bounds;\n
};\n
\n
/**\n
* Calculate cartesian coordinates of polar coordinates\n
*\n
* @memberof Chartist.Core\n
* @param {Number} centerX X-axis coordinates of center point of circle segment\n
* @param {Number} centerY X-axis coordinates of center point of circle segment\n
* @param {Number} radius Radius of circle segment\n
* @param {Number} angleInDegrees Angle of circle segment in degrees\n
* @return {Number} Coordinates of point on circumference\n
*/\n
Chartist.polarToCartesian = function (centerX, centerY, radius, angleInDegrees) {\n
var angleInRadians = (angleInDegrees - 90) * Math.PI / 180.0;\n
\n
return {\n
x: centerX + (radius * Math.cos(angleInRadians)),\n
y: centerY + (radius * Math.sin(angleInRadians))\n
};\n
};\n
\n
/**\n
* Initialize chart drawing rectangle (area where chart is drawn) x1,y1 = bottom left / x2,y2 = top right\n
*\n
* @memberof Chartist.Core\n
* @param {Object} svg The svg element for the chart\n
* @param {Object} options The Object that contains all the optional values for the chart\n
* @param {Number} [fallbackPadding] The fallback padding if partial padding objects are used\n
* @return {Object} The chart rectangles coordinates inside the svg element plus the rectangles measurements\n
*/\n
Chartist.createChartRect = function (svg, options, fallbackPadding) {\n
var hasAxis = !!(options.axisX || options.axisY);\n
var yAxisOffset = hasAxis ? options.axisY.offset : 0;\n
var xAxisOffset = hasAxis ? options.axisX.offset : 0;\n
// If width or height results in invalid value (including 0) we fallback to the unitless settings or even 0\n
var width = svg.width() || Chartist.stripUnit(options.width) || 0;\n
var height = svg.height() || Chartist.stripUnit(options.height) || 0;\n
var normalizedPadding = Chartist.normalizePadding(options.chartPadding, fallbackPadding);\n
\n
// If settings were to small to cope with offset (legacy) and padding, we\'ll adjust\n
width = Math.max(width, yAxisOffset + normalizedPadding.left + normalizedPadding.right);\n
height = Math.max(height, xAxisOffset + normalizedPadding.top + normalizedPadding.bottom);\n
\n
var chartRect = {\n
padding: normalizedPadding,\n
width: function () {\n
return this.x2 - this.x1;\n
},\n
height: function () {\n
return this.y1 - this.y2;\n
}\n
};\n
\n
if(hasAxis) {\n
if (options.axisX.position === \'start\') {\n
chartRect.y2 = normalizedPadding.top + xAxisOffset;\n
chartRect.y1 = Math.max(height - normalizedPadding.bottom, chartRect.y2 + 1);\n
} else {\n
chartRect.y2 = normalizedPadding.top;\n
chartRect.y1 = Math.max(height - normalizedPadding.bottom - xAxisOffset, chartRect.y2 + 1);\n
}\n
\n
if (options.axisY.position === \'start\') {\n
chartRect.x1 = normalizedPadding.left + yAxisOffset;\n
chartRect.x2 = Math.max(width - normalizedPadding.right, chartRect.x1 + 1);\n
} else {\n
chartRect.x1 = normalizedPadding.left;\n
chartRect.x2 = Math.max(width - normalizedPadding.right - yAxisOffset, chartRect.x1 + 1);\n
}\n
} else {\n
chartRect.x1 = normalizedPadding.left;\n
chartRect.x2 = Math.max(width - normalizedPadding.right, chartRect.x1 + 1);\n
chartRect.y2 = normalizedPadding.top;\n
chartRect.y1 = Math.max(height - normalizedPadding.bottom, chartRect.y2 + 1);\n
}\n
\n
return chartRect;\n
};\n
\n
/**\n
* Creates a grid line based on a projected value.\n
*\n
* @memberof Chartist.Core\n
* @param position\n
* @param index\n
* @param axis\n
* @param offset\n
* @param length\n
* @param group\n
* @param classes\n
* @param eventEmitter\n
*/\n
Chartist.createGrid = function(position, index, axis, offset, length, group, classes, eventEmitter) {\n
var positionalData = {};\n
positionalData[axis.units.pos + \'1\'] = position;\n
positionalData[axis.units.pos + \'2\'] = position;\n
positionalData[axis.counterUnits.pos + \'1\'] = offset;\n
positionalData[axis.counterUnits.pos + \'2\'] = offset + length;\n
\n
var gridElement = group.elem(\'line\', positionalData, classes.join(\' \'));\n
\n
// Event for grid draw\n
eventEmitter.emit(\'draw\',\n
Chartist.extend({\n
type: \'grid\',\n
axis: axis,\n
index: index,\n
group: group,\n
element: gridElement\n
}, positionalData)\n
);\n
};\n
\n
/**\n
* Creates a label based on a projected value and an axis.\n
*\n
* @memberof Chartist.Core\n
* @param position\n
* @param length\n
* @param index\n
* @param labels\n
* @param axis\n
* @param axisOffset\n
* @param labelOffset\n
* @param group\n
* @param classes\n
* @param useForeignObject\n
* @param eventEmitter\n
*/\n
Chartist.createLabel = function(position, length, index, labels, axis, axisOffset, labelOffset, group, classes, useForeignObject, eventEmitter) {\n
var labelElement;\n
var positionalData = {};\n
\n
positionalData[axis.units.pos] = position + labelOffset[axis.units.pos];\n
positionalData[axis.counterUnits.pos] = labelOffset[axis.counterUnits.pos];\n
positionalData[axis.units.len] = length;\n
positionalData[axis.counterUnits.len] = axisOffset - 10;\n
\n
if(useForeignObject) {\n
// We need to set width and height explicitly to px as span will not expand with width and height being\n
// 100% in all browsers\n
var content = \'<span class="\' + classes.join(\' \') + \'" style="\' +\n
axis.units.len + \': \' + Math.round(positionalData[axis.units.len]) + \'px; \' +\n
axis.counterUnits.len + \': \' + Math.round(positionalData[axis.counterUnits.len]) + \'px">\' +\n
labels[index] + \'</span>\';\n
\n
labelElement = group.foreignObject(content, Chartist.extend({\n
style: \'overflow: visible;\'\n
}, positionalData));\n
} else {\n
labelElement = group.elem(\'text\', positionalData, classes.join(\' \')).text(labels[index]);\n
}\n
\n
eventEmitter.emit(\'draw\', Chartist.extend({\n
type: \'label\',\n
axis: axis,\n
index: index,\n
group: group,\n
element: labelElement,\n
text: labels[index]\n
}, positionalData));\n
};\n
\n
/**\n
* Helper to read series specific options from options object. It automatically falls back to the global option if\n
* there is no option in the series options.\n
*\n
* @param {Object} series Series object\n
* @param {Object} options Chartist options object\n
* @param {string} key The options key that should be used to obtain the options\n
* @returns {*}\n
*/\n
Chartist.getSeriesOption = function(series, options, key) {\n
if(series.name && options.series && options.series[series.name]) {\n
var seriesOptions = options.series[series.name];\n
return seriesOptions.hasOwnProperty(key) ? seriesOptions[key] : options[key];\n
} else {\n
return options[key];\n
}\n
};\n
\n
/**\n
* Provides options handling functionality with callback for options changes triggered by responsive options and media query matches\n
*\n
* @memberof Chartist.Core\n
* @param {Object} options Options set by user\n
* @param {Array} responsiveOptions Optional functions to add responsive behavior to chart\n
* @param {Object} eventEmitter The event emitter that will be used to emit the options changed events\n
* @return {Object} The consolidated options object from the defaults, base and matching responsive options\n
*/\n
Chartist.optionsProvider = function (options, responsiveOptions, eventEmitter) {\n
var baseOptions = Chartist.extend({}, options),\n
currentOptions,\n
mediaQueryListeners = [],\n
i;\n
\n
function updateCurrentOptions(preventChangedEvent) {\n
var previousOptions = currentOptions;\n
currentOptions = Chartist.extend({}, baseOptions);\n
\n
if (responsiveOptions) {\n
for (i = 0; i < responsiveOptions.length; i++) {\n
var mql = window.matchMedia(responsiveOptions[i][0]);\n
if (mql.matches) {\n
currentOptions = Chartist.extend(currentOptions, responsiveOptions[i][1]);\n
}\n
}\n
}\n
\n
if(eventEmitter && !preventChangedEvent) {\n
eventEmitter.emit(\'optionsChanged\', {\n
previousOptions: previousOptions,\n
currentOptions: currentOptions\n
});\n
}\n
}\n
\n
function removeMediaQueryListeners() {\n
mediaQueryListeners.forEach(function(mql) {\n
mql.removeListener(updateCurrentOptions);\n
});\n
}\n
\n
if (!window.matchMedia) {\n
throw \'window.matchMedia not found! Make sure you\\\'re using a polyfill.\';\n
} else if (responsiveOptions) {\n
\n
for (i = 0; i < responsiveOptions.length; i++) {\n
var mql = window.matchMedia(responsiveOptions[i][0]);\n
mql.addListener(updateCurrentOptions);\n
mediaQueryListeners.push(mql);\n
}\n
}\n
// Execute initially so we get the correct options\n
updateCurrentOptions(true);\n
\n
return {\n
removeMediaQueryListeners: removeMediaQueryListeners,\n
getCurrentOptions: function getCurrentOptions() {\n
return Chartist.extend({}, currentOptions);\n
}\n
};\n
};\n
\n
}(window, document, Chartist));\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>33352</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>core.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273072.82</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>event.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>/**\n
* A very basic event module that helps to generate and catch events.\n
*\n
* @module Chartist.Event\n
*/\n
/* global Chartist */\n
(function (window, document, Chartist) {\n
\'use strict\';\n
\n
Chartist.EventEmitter = function () {\n
var handlers = [];\n
\n
/**\n
* Add an event handler for a specific event\n
*\n
* @memberof Chartist.Event\n
* @param {String} event The event name\n
* @param {Function} handler A event handler function\n
*/\n
function addEventHandler(event, handler) {\n
handlers[event] = handlers[event] || [];\n
handlers[event].push(handler);\n
}\n
\n
/**\n
* Remove an event handler of a specific event name or remove all event handlers for a specific event.\n
*\n
* @memberof Chartist.Event\n
* @param {String} event The event name where a specific or all handlers should be removed\n
* @param {Function} [handler] An optional event handler function. If specified only this specific handler will be removed and otherwise all handlers are removed.\n
*/\n
function removeEventHandler(event, handler) {\n
// Only do something if there are event handlers with this name existing\n
if(handlers[event]) {\n
// If handler is set we will look for a specific handler and only remove this\n
if(handler) {\n
handlers[event].splice(handlers[event].indexOf(handler), 1);\n
if(handlers[event].length === 0) {\n
delete handlers[event];\n
}\n
} else {\n
// If no handler is specified we remove all handlers for this event\n
delete handlers[event];\n
}\n
}\n
}\n
\n
/**\n
* Use this function to emit an event. All handlers that are listening for this event will be triggered with the data parameter.\n
*\n
* @memberof Chartist.Event\n
* @param {String} event The event name that should be triggered\n
* @param {*} data Arbitrary data that will be passed to the event handler callback functions\n
*/\n
function emit(event, data) {\n
// Only do something if there are event handlers with this name existing\n
if(handlers[event]) {\n
handlers[event].forEach(function(handler) {\n
handler(data);\n
});\n
}\n
\n
// Emit event to star event handlers\n
if(handlers[\'*\']) {\n
handlers[\'*\'].forEach(function(starHandler) {\n
starHandler(event, data);\n
});\n
}\n
}\n
\n
return {\n
addEventHandler: addEventHandler,\n
removeEventHandler: removeEventHandler,\n
emit: emit\n
};\n
};\n
\n
}(window, document, Chartist));\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>2542</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>event.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273070.04</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>interpolation.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* Chartist path interpolation functions.\n
*\n
* @module Chartist.Interpolation\n
*/\n
/* global Chartist */\n
(function(window, document, Chartist) {\n
\'use strict\';\n
\n
Chartist.Interpolation = {};\n
\n
/**\n
* This interpolation function does not smooth the path and the result is only containing lines and no curves.\n
*\n
* @memberof Chartist.Interpolation\n
* @return {Function}\n
*/\n
Chartist.Interpolation.none = function() {\n
return function none(pathCoordinates, valueData) {\n
var path = new Chartist.Svg.Path();\n
// We need to assume that the first value is a "hole"\n
var hole = true;\n
\n
for(var i = 1; i < pathCoordinates.length; i += 2) {\n
var data = valueData[(i - 1) / 2];\n
\n
// If the current value is undefined we should treat it as a hole start\n
if(data.value === undefined) {\n
hole = true;\n
} else {\n
// If this value is valid we need to check if we\'re coming out of a hole\n
if(hole) {\n
// If we are coming out of a hole we should first make a move and also reset the hole flag\n
path.move(pathCoordinates[i - 1], pathCoordinates[i], false, data);\n
hole = false;\n
} else {\n
path.line(pathCoordinates[i - 1], pathCoordinates[i], false, data);\n
}\n
}\n
}\n
\n
return path;\n
};\n
};\n
\n
/**\n
* Simple smoothing creates horizontal handles that are positioned with a fraction of the length between two data points. You can use the divisor option to specify the amount of smoothing.\n
*\n
* Simple smoothing can be used instead of `Chartist.Smoothing.cardinal` if you\'d like to get rid of the artifacts it produces sometimes. Simple smoothing produces less flowing lines but is accurate by hitting the points and it also doesn\'t swing below or above the given data point.\n
*\n
* All smoothing functions within Chartist are factory functions that accept an options parameter. The simple interpolation function accepts one configuration parameter `divisor`, between 1 and ∞, which controls the smoothing characteristics.\n
*\n
* @example\n
* var chart = new Chartist.Line(\'.ct-chart\', {\n
* labels: [1, 2, 3, 4, 5],\n
* series: [[1, 2, 8, 1, 7]]\n
* }, {\n
* lineSmooth: Chartist.Interpolation.simple({\n
* divisor: 2\n
* })\n
* });\n
*\n
*\n
* @memberof Chartist.Interpolation\n
* @param {Object} options The options of the simple interpolation factory function.\n
* @return {Function}\n
*/\n
Chartist.Interpolation.simple = function(options) {\n
var defaultOptions = {\n
divisor: 2\n
};\n
options = Chartist.extend({}, defaultOptions, options);\n
\n
var d = 1 / Math.max(1, options.divisor);\n
\n
return function simple(pathCoordinates, valueData) {\n
var path = new Chartist.Svg.Path();\n
var hole = true;\n
\n
for(var i = 2; i < pathCoordinates.length; i += 2) {\n
var prevX = pathCoordinates[i - 2];\n
var prevY = pathCoordinates[i - 1];\n
var currX = pathCoordinates[i];\n
var currY = pathCoordinates[i + 1];\n
var length = (currX - prevX) * d;\n
var prevData = valueData[(i / 2) - 1];\n
var currData = valueData[i / 2];\n
\n
if(prevData.value === undefined) {\n
hole = true;\n
} else {\n
\n
if(hole) {\n
path.move(prevX, prevY, false, prevData);\n
}\n
\n
if(currData.value !== undefined) {\n
path.curve(\n
prevX + length,\n
prevY,\n
currX - length,\n
currY,\n
currX,\n
currY,\n
false,\n
currData\n
);\n
\n
hole = false;\n
}\n
}\n
}\n
\n
return path;\n
};\n
};\n
\n
/**\n
* Cardinal / Catmull-Rome spline interpolation is the default smoothing function in Chartist. It produces nice results where the splines will always meet the points. It produces some artifacts though when data values are increased or decreased rapidly. The line may not follow a very accurate path and if the line should be accurate this smoothing function does not produce the best results.\n
*\n
* Cardinal splines can only be created if there are more than two data points. If this is not the case this smoothing will fallback to `Chartist.Smoothing.none`.\n
*\n
* All smoothing functions within Chartist are factory functions that accept an options parameter. The cardinal interpolation function accepts one configuration parameter `tension`, between 0 and 1, which controls the smoothing intensity.\n
*\n
* @example\n
* var chart = new Chartist.Line(\'.ct-chart\', {\n
* labels: [1, 2, 3, 4, 5],\n
* series: [[1, 2, 8, 1, 7]]\n
* }, {\n
* lineSmooth: Chartist.Interpolation.cardinal({\n
* tension: 1\n
* })\n
* });\n
*\n
* @memberof Chartist.Interpolation\n
* @param {Object} options The options of the cardinal factory function.\n
* @return {Function}\n
*/\n
Chartist.Interpolation.cardinal = function(options) {\n
var defaultOptions = {\n
tension: 1\n
};\n
\n
options = Chartist.extend({}, defaultOptions, options);\n
\n
var t = Math.min(1, Math.max(0, options.tension)),\n
c = 1 - t;\n
\n
// This function will help us to split pathCoordinates and valueData into segments that also contain pathCoordinates\n
// and valueData. This way the existing functions can be reused and the segment paths can be joined afterwards.\n
// This functionality is necessary to treat "holes" in the line charts\n
function splitIntoSegments(pathCoordinates, valueData) {\n
var segments = [];\n
var hole = true;\n
\n
for(var i = 0; i < pathCoordinates.length; i += 2) {\n
// If this value is a "hole" we set the hole flag\n
if(valueData[i / 2].value === undefined) {\n
hole = true;\n
} else {\n
// If it\'s a valid value we need to check if we\'re coming out of a hole and create a new empty segment\n
if(hole) {\n
segments.push({\n
pathCoordinates: [],\n
valueData: []\n
});\n
// As we have a valid value now, we are not in a "hole" anymore\n
hole = false;\n
}\n
\n
// Add to the segment pathCoordinates and valueData\n
segments[segments.length - 1].pathCoordinates.push(pathCoordinates[i], pathCoordinates[i + 1]);\n
segments[segments.length - 1].valueData.push(valueData[i / 2]);\n
}\n
}\n
\n
return segments;\n
}\n
\n
return function cardinal(pathCoordinates, valueData) {\n
// First we try to split the coordinates into segments\n
// This is necessary to treat "holes" in line charts\n
var segments = splitIntoSegments(pathCoordinates, valueData);\n
\n
// If the split resulted in more that one segment we need to interpolate each segment individually and join them\n
// afterwards together into a single path.\n
if(segments.length > 1) {\n
var paths = [];\n
// For each segment we will recurse the cardinal function\n
segments.forEach(function(segment) {\n
paths.push(cardinal(segment.pathCoordinates, segment.valueData));\n
});\n
// Join the segment path data into a single path and return\n
return Chartist.Svg.Path.join(paths);\n
} else {\n
// If there was only one segment we can proceed regularly by using pathCoordinates and valueData from the first\n
// segment\n
pathCoordinates = segments[0].pathCoordinates;\n
valueData = segments[0].valueData;\n
\n
// If less than two points we need to fallback to no smoothing\n
if(pathCoordinates.length <= 4) {\n
return Chartist.Interpolation.none()(pathCoordinates, valueData);\n
}\n
\n
var path = new Chartist.Svg.Path().move(pathCoordinates[0], pathCoordinates[1], false, valueData[0]),\n
z;\n
\n
for (var i = 0, iLen = pathCoordinates.length; iLen - 2 * !z > i; i += 2) {\n
var p = [\n
{x: +pathCoordinates[i - 2], y: +pathCoordinates[i - 1]},\n
{x: +pathCoordinates[i], y: +pathCoordinates[i + 1]},\n
{x: +pathCoordinates[i + 2], y: +pathCoordinates[i + 3]},\n
{x: +pathCoordinates[i + 4], y: +pathCoordinates[i + 5]}\n
];\n
if (z) {\n
if (!i) {\n
p[0] = {x: +pathCoordinates[iLen - 2], y: +pathCoordinates[iLen - 1]};\n
} else if (iLen - 4 === i) {\n
p[3] = {x: +pathCoordinates[0], y: +pathCoordinates[1]};\n
} else if (iLen - 2 === i) {\n
p[2] = {x: +pathCoordinates[0], y: +pathCoordinates[1]};\n
p[3] = {x: +pathCoordinates[2], y: +pathCoordinates[3]};\n
}\n
} else {\n
if (iLen - 4 === i) {\n
p[3] = p[2];\n
} else if (!i) {\n
p[0] = {x: +pathCoordinates[i], y: +pathCoordinates[i + 1]};\n
}\n
}\n
\n
path.curve(\n
(t * (-p[0].x + 6 * p[1].x + p[2].x) / 6) + (c * p[2].x),\n
(t * (-p[0].y + 6 * p[1].y + p[2].y) / 6) + (c * p[2].y),\n
(t * (p[1].x + 6 * p[2].x - p[3].x) / 6) + (c * p[2].x),\n
(t * (p[1].y + 6 * p[2].y - p[3].y) / 6) + (c * p[2].y),\n
p[2].x,\n
p[2].y,\n
false,\n
valueData[(i + 2) / 2]\n
);\n
}\n
\n
return path;\n
}\n
};\n
};\n
\n
/**\n
* Step interpolation will cause the line chart to move in steps rather than diagonal or smoothed lines. This interpolation will create additional points that will also be drawn when the `showPoint` option is enabled.\n
*\n
* All smoothing functions within Chartist are factory functions that accept an options parameter. The step interpolation function accepts one configuration parameter `postpone`, that can be `true` or `false`. The default value is `true` and will cause the step to occur where the value actually changes. If a different behaviour is needed where the step is shifted to the left and happens before the actual value, this option can be set to `false`.\n
*\n
* @example\n
* var chart = new Chartist.Line(\'.ct-chart\', {\n
* labels: [1, 2, 3, 4, 5],\n
* series: [[1, 2, 8, 1, 7]]\n
* }, {\n
* lineSmooth: Chartist.Interpolation.step({\n
* postpone: true\n
* })\n
* });\n
*\n
* @memberof Chartist.Interpolation\n
* @param options\n
* @returns {Function}\n
*/\n
Chartist.Interpolation.step = function(options) {\n
var defaultOptions = {\n
postpone: true\n
};\n
\n
options = Chartist.extend({}, defaultOptions, options);\n
\n
return function step(pathCoordinates, valueData) {\n
var path = new Chartist.Svg.Path();\n
var hole = true;\n
\n
for (var i = 2; i < pathCoordinates.length; i += 2) {\n
var prevX = pathCoordinates[i - 2];\n
var prevY = pathCoordinates[i - 1];\n
var currX = pathCoordinates[i];\n
var currY = pathCoordinates[i + 1];\n
var prevData = valueData[(i / 2) - 1];\n
var currData = valueData[i / 2];\n
\n
// If last point is a "hole"\n
if(prevData.value === undefined) {\n
hole = true;\n
} else {\n
// If last point is not a "hole" but we just came back out of a "hole" we need to move first\n
if(hole) {\n
path.move(prevX, prevY, false, prevData);\n
}\n
\n
// If the current point is also not a hole we can draw the step lines\n
if(currData.value !== undefined) {\n
if(options.postpone) {\n
// If postponed we should draw the step line with the value of the previous value\n
path.line(currX, prevY, false, prevData);\n
} else {\n
// If not postponed we should draw the step line with the value of the current value\n
path.line(prevX, currY, false, currData);\n
}\n
// Line to the actual point (this should only be a Y-Axis movement\n
path.line(currX, currY, false, currData);\n
// Reset the "hole" flag as previous and current point have valid values\n
hole = false;\n
}\n
}\n
}\n
\n
return path;\n
};\n
};\n
\n
}(window, document, Chartist));\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>12080</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>interpolation.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273077.81</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>svg-path.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* Chartist SVG path module for SVG path description creation and modification.\n
*\n
* @module Chartist.Svg.Path\n
*/\n
/* global Chartist */\n
(function(window, document, Chartist) {\n
\'use strict\';\n
\n
/**\n
* Contains the descriptors of supported element types in a SVG path. Currently only move, line and curve are supported.\n
*\n
* @memberof Chartist.Svg.Path\n
* @type {Object}\n
*/\n
var elementDescriptions = {\n
m: [\'x\', \'y\'],\n
l: [\'x\', \'y\'],\n
c: [\'x1\', \'y1\', \'x2\', \'y2\', \'x\', \'y\'],\n
a: [\'rx\', \'ry\', \'xAr\', \'lAf\', \'sf\', \'x\', \'y\']\n
};\n
\n
/**\n
* Default options for newly created SVG path objects.\n
*\n
* @memberof Chartist.Svg.Path\n
* @type {Object}\n
*/\n
var defaultOptions = {\n
// The accuracy in digit count after the decimal point. This will be used to round numbers in the SVG path. If this option is set to false then no rounding will be performed.\n
accuracy: 3\n
};\n
\n
function element(command, params, pathElements, pos, relative, data) {\n
var pathElement = Chartist.extend({\n
command: relative ? command.toLowerCase() : command.toUpperCase()\n
}, params, data ? { data: data } : {} );\n
\n
pathElements.splice(pos, 0, pathElement);\n
}\n
\n
function forEachParam(pathElements, cb) {\n
pathElements.forEach(function(pathElement, pathElementIndex) {\n
elementDescriptions[pathElement.command.toLowerCase()].forEach(function(paramName, paramIndex) {\n
cb(pathElement, paramName, pathElementIndex, paramIndex, pathElements);\n
});\n
});\n
}\n
\n
/**\n
* Used to construct a new path object.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {Boolean} close If set to true then this path will be closed when stringified (with a Z at the end)\n
* @param {Object} options Options object that overrides the default objects. See default options for more details.\n
* @constructor\n
*/\n
function SvgPath(close, options) {\n
this.pathElements = [];\n
this.pos = 0;\n
this.close = close;\n
this.options = Chartist.extend({}, defaultOptions, options);\n
}\n
\n
/**\n
* Gets or sets the current position (cursor) inside of the path. You can move around the cursor freely but limited to 0 or the count of existing elements. All modifications with element functions will insert new elements at the position of this cursor.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {Number} [pos] If a number is passed then the cursor is set to this position in the path element array.\n
* @return {Chartist.Svg.Path|Number} If the position parameter was passed then the return value will be the path object for easy call chaining. If no position parameter was passed then the current position is returned.\n
*/\n
function position(pos) {\n
if(pos !== undefined) {\n
this.pos = Math.max(0, Math.min(this.pathElements.length, pos));\n
return this;\n
} else {\n
return this.pos;\n
}\n
}\n
\n
/**\n
* Removes elements from the path starting at the current position.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {Number} count Number of path elements that should be removed from the current position.\n
* @return {Chartist.Svg.Path} The current path object for easy call chaining.\n
*/\n
function remove(count) {\n
this.pathElements.splice(this.pos, count);\n
return this;\n
}\n
\n
/**\n
* Use this function to add a new move SVG path element.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {Number} x The x coordinate for the move element.\n
* @param {Number} y The y coordinate for the move element.\n
* @param {Boolean} [relative] If set to true the move element will be created with relative coordinates (lowercase letter)\n
* @param {*} [data] Any data that should be stored with the element object that will be accessible in pathElement\n
* @return {Chartist.Svg.Path} The current path object for easy call chaining.\n
*/\n
function move(x, y, relative, data) {\n
element(\'M\', {\n
x: +x,\n
y: +y\n
}, this.pathElements, this.pos++, relative, data);\n
return this;\n
}\n
\n
/**\n
* Use this function to add a new line SVG path element.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {Number} x The x coordinate for the line element.\n
* @param {Number} y The y coordinate for the line element.\n
* @param {Boolean} [relative] If set to true the line element will be created with relative coordinates (lowercase letter)\n
* @param {*} [data] Any data that should be stored with the element object that will be accessible in pathElement\n
* @return {Chartist.Svg.Path} The current path object for easy call chaining.\n
*/\n
function line(x, y, relative, data) {\n
element(\'L\', {\n
x: +x,\n
y: +y\n
}, this.pathElements, this.pos++, relative, data);\n
return this;\n
}\n
\n
/**\n
* Use this function to add a new curve SVG path element.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {Number} x1 The x coordinate for the first control point of the bezier curve.\n
* @param {Number} y1 The y coordinate for the first control point of the bezier curve.\n
* @param {Number} x2 The x coordinate for the second control point of the bezier curve.\n
* @param {Number} y2 The y coordinate for the second control point of the bezier curve.\n
* @param {Number} x The x coordinate for the target point of the curve element.\n
* @param {Number} y The y coordinate for the target point of the curve element.\n
* @param {Boolean} [relative] If set to true the curve element will be created with relative coordinates (lowercase letter)\n
* @param {*} [data] Any data that should be stored with the element object that will be accessible in pathElement\n
* @return {Chartist.Svg.Path} The current path object for easy call chaining.\n
*/\n
function curve(x1, y1, x2, y2, x, y, relative, data) {\n
element(\'C\', {\n
x1: +x1,\n
y1: +y1,\n
x2: +x2,\n
y2: +y2,\n
x: +x,\n
y: +y\n
}, this.pathElements, this.pos++, relative, data);\n
return this;\n
}\n
\n
/**\n
* Use this function to add a new non-bezier curve SVG path element.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {Number} rx The radius to be used for the x-axis of the arc.\n
* @param {Number} ry The radius to be used for the y-axis of the arc.\n
* @param {Number} xAr Defines the orientation of the arc\n
* @param {Number} lAf Large arc flag\n
* @param {Number} sf Sweep flag\n
* @param {Number} x The x coordinate for the target point of the curve element.\n
* @param {Number} y The y coordinate for the target point of the curve element.\n
* @param {Boolean} [relative] If set to true the curve element will be created with relative coordinates (lowercase letter)\n
* @param {*} [data] Any data that should be stored with the element object that will be accessible in pathElement\n
* @return {Chartist.Svg.Path} The current path object for easy call chaining.\n
*/\n
function arc(rx, ry, xAr, lAf, sf, x, y, relative, data) {\n
element(\'A\', {\n
rx: +rx,\n
ry: +ry,\n
xAr: +xAr,\n
lAf: +lAf,\n
sf: +sf,\n
x: +x,\n
y: +y\n
}, this.pathElements, this.pos++, relative, data);\n
return this;\n
}\n
\n
/**\n
* Parses an SVG path seen in the d attribute of path elements, and inserts the parsed elements into the existing path object at the current cursor position. Any closing path indicators (Z at the end of the path) will be ignored by the parser as this is provided by the close option in the options of the path object.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {String} path Any SVG path that contains move (m), line (l) or curve (c) components.\n
* @return {Chartist.Svg.Path} The current path object for easy call chaining.\n
*/\n
function parse(path) {\n
// Parsing the SVG path string into an array of arrays [[\'M\', \'10\', \'10\'], [\'L\', \'100\', \'100\']]\n
var chunks = path.replace(/([A-Za-z])([0-9])/g, \'$1 $2\')\n
.replace(/([0-9])([A-Za-z])/g, \'$1 $2\')\n
.split(/[\\s,]+/)\n
.reduce(function(result, element) {\n
if(element.match(/[A-Za-z]/)) {\n
result.push([]);\n
}\n
\n
result[result.length - 1].push(element);\n
return result;\n
}, []);\n
\n
// If this is a closed path we remove the Z at the end because this is determined by the close option\n
if(chunks[chunks.length - 1][0].toUpperCase() === \'Z\') {\n
chunks.pop();\n
}\n
\n
// Using svgPathElementDescriptions to map raw path arrays into objects that contain the command and the parameters\n
// For example {command: \'M\', x: \'10\', y: \'10\'}\n
var elements = chunks.map(function(chunk) {\n
var command = chunk.shift(),\n
description = elementDescriptions[command.toLowerCase()];\n
\n
return Chartist.extend({\n
command: command\n
}, description.reduce(function(result, paramName, index) {\n
result[paramName] = +chunk[index];\n
return result;\n
}, {}));\n
});\n
\n
// Preparing a splice call with the elements array as var arg params and insert the parsed elements at the current position\n
var spliceArgs = [this.pos, 0];\n
Array.prototype.push.apply(spliceArgs, elements);\n
Array.prototype.splice.apply(this.pathElements, spliceArgs);\n
// Increase the internal position by the element count\n
this.pos += elements.length;\n
\n
return this;\n
}\n
\n
/**\n
* This function renders to current SVG path object into a final SVG string that can be used in the d attribute of SVG path elements. It uses the accuracy option to round big decimals. If the close parameter was set in the constructor of this path object then a path closing Z will be appended to the output string.\n
*\n
* @memberof Chartist.Svg.Path\n
* @return {String}\n
*/\n
function stringify() {\n
var accuracyMultiplier = Math.pow(10, this.options.accuracy);\n
\n
return this.pathElements.reduce(function(path, pathElement) {\n
var params = elementDescriptions[pathElement.command.toLowerCase()].map(function(paramName) {\n
return this.options.accuracy ?\n
(Math.round(pathElement[paramName] * accuracyMultiplier) / accuracyMultiplier) :\n
pathElement[paramName];\n
}.bind(this));\n
\n
return path + pathElement.command + params.join(\',\');\n
}.bind(this), \'\') + (this.close ? \'Z\' : \'\');\n
}\n
\n
/**\n
* Scales all elements in the current SVG path object. There is an individual parameter for each coordinate. Scaling will also be done for control points of curves, affecting the given coordinate.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {Number} x The number which will be used to scale the x, x1 and x2 of all path elements.\n
* @param {Number} y The number which will be used to scale the y, y1 and y2 of all path elements.\n
* @return {Chartist.Svg.Path} The current path object for easy call chaining.\n
*/\n
function scale(x, y) {\n
forEachParam(this.pathElements, function(pathElement, paramName) {\n
pathElement[paramName] *= paramName[0] === \'x\' ? x : y;\n
});\n
return this;\n
}\n
\n
/**\n
* Translates all elements in the current SVG path object. The translation is relative and there is an individual parameter for each coordinate. Translation will also be done for control points of curves, affecting the given coordinate.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {Number} x The number which will be used to translate the x, x1 and x2 of all path elements.\n
* @param {Number} y The number which will be used to translate the y, y1 and y2 of all path elements.\n
* @return {Chartist.Svg.Path} The current path object for easy call chaining.\n
*/\n
function translate(x, y) {\n
forEachParam(this.pathElements, function(pathElement, paramName) {\n
pathElement[paramName] += paramName[0] === \'x\' ? x : y;\n
});\n
return this;\n
}\n
\n
/**\n
* This function will run over all existing path elements and then loop over their attributes. The callback function will be called for every path element attribute that exists in the current path.\n
* The method signature of the callback function looks like this:\n
* ```javascript\n
* function(pathElement, paramName, pathElementIndex, paramIndex, pathElements)\n
* ```\n
* If something else than undefined is returned by the callback function, this value will be used to replace the old value. This allows you to build custom transformations of path objects that can\'t be achieved using the basic transformation functions scale and translate.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {Function} transformFnc The callback function for the transformation. Check the signature in the function description.\n
* @return {Chartist.Svg.Path} The current path object for easy call chaining.\n
*/\n
function transform(transformFnc) {\n
forEachParam(this.pathElements, function(pathElement, paramName, pathElementIndex, paramIndex, pathElements) {\n
var transformed = transformFnc(pathElement, paramName, pathElementIndex, paramIndex, pathElements);\n
if(transformed || transformed === 0) {\n
pathElement[paramName] = transformed;\n
}\n
});\n
return this;\n
}\n
\n
/**\n
* This function clones a whole path object with all its properties. This is a deep clone and path element objects will also be cloned.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {Boolean} [close] Optional option to set the new cloned path to closed. If not specified or false, the original path close option will be used.\n
* @return {Chartist.Svg.Path}\n
*/\n
function clone(close) {\n
var c = new Chartist.Svg.Path(close || this.close);\n
c.pos = this.pos;\n
c.pathElements = this.pathElements.slice().map(function cloneElements(pathElement) {\n
return Chartist.extend({}, pathElement);\n
});\n
c.options = Chartist.extend({}, this.options);\n
return c;\n
}\n
\n
/**\n
* Split a Svg.Path object by a specific command in the path chain. The path chain will be split and an array of newly created paths objects will be returned. This is useful if you\'d like to split an SVG path by it\'s move commands, for example, in order to isolate chunks of drawings.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {String} command The command you\'d like to use to split the path\n
* @return {Array<Chartist.Svg.Path>}\n
*/\n
function splitByCommand(command) {\n
var split = [\n
new Chartist.Svg.Path()\n
];\n
\n
this.pathElements.forEach(function(pathElement) {\n
if(pathElement.command === command.toUpperCase() && split[split.length - 1].pathElements.length !== 0) {\n
split.push(new Chartist.Svg.Path());\n
}\n
\n
split[split.length - 1].pathElements.push(pathElement);\n
});\n
\n
return split;\n
}\n
\n
/**\n
* This static function on `Chartist.Svg.Path` is joining multiple paths together into one paths.\n
*\n
* @memberof Chartist.Svg.Path\n
* @param {Array<Chartist.Svg.Path>} paths A list of paths to be joined together. The order is important.\n
* @param {boolean} close If the newly created path should be a closed path\n
* @param {Object} options Path options for the newly created path.\n
* @return {Chartist.Svg.Path}\n
*/\n
\n
function join(paths, close, options) {\n
var joinedPath = new Chartist.Svg.Path(close, options);\n
for(var i = 0; i < paths.length; i++) {\n
var path = paths[i];\n
for(var j = 0; j < path.pathElements.length; j++) {\n
joinedPath.pathElements.push(path.pathElements[j]);\n
}\n
}\n
return joinedPath;\n
}\n
\n
Chartist.Svg.Path = Chartist.Class.extend({\n
constructor: SvgPath,\n
position: position,\n
remove: remove,\n
move: move,\n
line: line,\n
curve: curve,\n
arc: arc,\n
scale: scale,\n
translate: translate,\n
transform: transform,\n
parse: parse,\n
stringify: stringify,\n
clone: clone,\n
splitByCommand: splitByCommand\n
});\n
\n
Chartist.Svg.Path.elementDescriptions = elementDescriptions;\n
Chartist.Svg.Path.join = join;\n
}(window, document, Chartist));\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>15771</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>svg-path.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273078.55</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>svg.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* Chartist SVG module for simple SVG DOM abstraction\n
*\n
* @module Chartist.Svg\n
*/\n
/* global Chartist */\n
(function(window, document, Chartist) {\n
\'use strict\';\n
\n
var svgNs = \'http://www.w3.org/2000/svg\',\n
xmlNs = \'http://www.w3.org/2000/xmlns/\',\n
xhtmlNs = \'http://www.w3.org/1999/xhtml\';\n
\n
Chartist.xmlNs = {\n
qualifiedName: \'xmlns:ct\',\n
prefix: \'ct\',\n
uri: \'http://gionkunz.github.com/chartist-js/ct\'\n
};\n
\n
/**\n
* Chartist.Svg creates a new SVG object wrapper with a starting element. You can use the wrapper to fluently create sub-elements and modify them.\n
*\n
* @memberof Chartist.Svg\n
* @constructor\n
* @param {String|Element} name The name of the SVG element to create or an SVG dom element which should be wrapped into Chartist.Svg\n
* @param {Object} attributes An object with properties that will be added as attributes to the SVG element that is created. Attributes with undefined values will not be added.\n
* @param {String} className This class or class list will be added to the SVG element\n
* @param {Object} parent The parent SVG wrapper object where this newly created wrapper and it\'s element will be attached to as child\n
* @param {Boolean} insertFirst If this param is set to true in conjunction with a parent element the newly created element will be added as first child element in the parent element\n
*/\n
function Svg(name, attributes, className, parent, insertFirst) {\n
// If Svg is getting called with an SVG element we just return the wrapper\n
if(name instanceof Element) {\n
this._node = name;\n
} else {\n
this._node = document.createElementNS(svgNs, name);\n
\n
// If this is an SVG element created then custom namespace\n
if(name === \'svg\') {\n
this._node.setAttributeNS(xmlNs, Chartist.xmlNs.qualifiedName, Chartist.xmlNs.uri);\n
}\n
}\n
\n
if(attributes) {\n
this.attr(attributes);\n
}\n
\n
if(className) {\n
this.addClass(className);\n
}\n
\n
if(parent) {\n
if (insertFirst && parent._node.firstChild) {\n
parent._node.insertBefore(this._node, parent._node.firstChild);\n
} else {\n
parent._node.appendChild(this._node);\n
}\n
}\n
}\n
\n
/**\n
* Set attributes on the current SVG element of the wrapper you\'re currently working on.\n
*\n
* @memberof Chartist.Svg\n
* @param {Object|String} attributes An object with properties that will be added as attributes to the SVG element that is created. Attributes with undefined values will not be added. If this parameter is a String then the function is used as a getter and will return the attribute value.\n
* @param {String} ns If specified, the attributes will be set as namespace attributes with ns as prefix.\n
* @return {Object|String} The current wrapper object will be returned so it can be used for chaining or the attribute value if used as getter function.\n
*/\n
function attr(attributes, ns) {\n
if(typeof attributes === \'string\') {\n
if(ns) {\n
return this._node.getAttributeNS(ns, attributes);\n
} else {\n
return this._node.getAttribute(attributes);\n
}\n
}\n
\n
Object.keys(attributes).forEach(function(key) {\n
// If the attribute value is undefined we can skip this one\n
if(attributes[key] === undefined) {\n
return;\n
}\n
\n
if(ns) {\n
this._node.setAttributeNS(ns, [Chartist.xmlNs.prefix, \':\', key].join(\'\'), attributes[key]);\n
} else {\n
this._node.setAttribute(key, attributes[key]);\n
}\n
}.bind(this));\n
\n
return this;\n
}\n
\n
/**\n
* Create a new SVG element whose wrapper object will be selected for further operations. This way you can also create nested groups easily.\n
*\n
* @memberof Chartist.Svg\n
* @param {String} name The name of the SVG element that should be created as child element of the currently selected element wrapper\n
* @param {Object} [attributes] An object with properties that will be added as attributes to the SVG element that is created. Attributes with undefined values will not be added.\n
* @param {String} [className] This class or class list will be added to the SVG element\n
* @param {Boolean} [insertFirst] If this param is set to true in conjunction with a parent element the newly created element will be added as first child element in the parent element\n
* @return {Chartist.Svg} Returns a Chartist.Svg wrapper object that can be used to modify the containing SVG data\n
*/\n
function elem(name, attributes, className, insertFirst) {\n
return new Chartist.Svg(name, attributes, className, this, insertFirst);\n
}\n
\n
/**\n
* Returns the parent Chartist.SVG wrapper object\n
*\n
* @memberof Chartist.Svg\n
* @return {Chartist.Svg} Returns a Chartist.Svg wrapper around the parent node of the current node. If the parent node is not existing or it\'s not an SVG node then this function will return null.\n
*/\n
function parent() {\n
return this._node.parentNode instanceof SVGElement ? new Chartist.Svg(this._node.parentNode) : null;\n
}\n
\n
/**\n
* This method returns a Chartist.Svg wrapper around the root SVG element of the current tree.\n
*\n
* @memberof Chartist.Svg\n
* @return {Chartist.Svg} The root SVG element wrapped in a Chartist.Svg element\n
*/\n
function root() {\n
var node = this._node;\n
while(node.nodeName !== \'svg\') {\n
node = node.parentNode;\n
}\n
return new Chartist.Svg(node);\n
}\n
\n
/**\n
* Find the first child SVG element of the current element that matches a CSS selector. The returned object is a Chartist.Svg wrapper.\n
*\n
* @memberof Chartist.Svg\n
* @param {String} selector A CSS selector that is used to query for child SVG elements\n
* @return {Chartist.Svg} The SVG wrapper for the element found or null if no element was found\n
*/\n
function querySelector(selector) {\n
var foundNode = this._node.querySelector(selector);\n
return foundNode ? new Chartist.Svg(foundNode) : null;\n
}\n
\n
/**\n
* Find the all child SVG elements of the current element that match a CSS selector. The returned object is a Chartist.Svg.List wrapper.\n
*\n
* @memberof Chartist.Svg\n
* @param {String} selector A CSS selector that is used to query for child SVG elements\n
* @return {Chartist.Svg.List} The SVG wrapper list for the element found or null if no element was found\n
*/\n
function querySelectorAll(selector) {\n
var foundNodes = this._node.querySelectorAll(selector);\n
return foundNodes.length ? new Chartist.Svg.List(foundNodes) : null;\n
}\n
\n
/**\n
* This method creates a foreignObject (see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject) that allows to embed HTML content into a SVG graphic. With the help of foreignObjects you can enable the usage of regular HTML elements inside of SVG where they are subject for SVG positioning and transformation but the Browser will use the HTML rendering capabilities for the containing DOM.\n
*\n
* @memberof Chartist.Svg\n
* @param {Node|String} content The DOM Node, or HTML string that will be converted to a DOM Node, that is then placed into and wrapped by the foreignObject\n
* @param {String} [attributes] An object with properties that will be added as attributes to the foreignObject element that is created. Attributes with undefined values will not be added.\n
* @param {String} [className] This class or class list will be added to the SVG element\n
* @param {Boolean} [insertFirst] Specifies if the foreignObject should be inserted as first child\n
* @return {Chartist.Svg} New wrapper object that wraps the foreignObject element\n
*/\n
function foreignObject(content, attributes, className, insertFirst) {\n
// If content is string then we convert it to DOM\n
// TODO: Handle case where content is not a string nor a DOM Node\n
if(typeof content === \'string\') {\n
var container = document.createElement(\'div\');\n
container.innerHTML = content;\n
content = container.firstChild;\n
}\n
\n
// Adding namespace to content element\n
content.setAttribute(\'xmlns\', xhtmlNs);\n
\n
// Creating the foreignObject without required extension attribute (as described here\n
// http://www.w3.org/TR/SVG/extend.html#ForeignObjectElement)\n
var fnObj = this.elem(\'foreignObject\', attributes, className, insertFirst);\n
\n
// Add content to foreignObjectElement\n
fnObj._node.appendChild(content);\n
\n
return fnObj;\n
}\n
\n
/**\n
* This method adds a new text element to the current Chartist.Svg wrapper.\n
*\n
* @memberof Chartist.Svg\n
* @param {String} t The text that should be added to the text element that is created\n
* @return {Chartist.Svg} The same wrapper object that was used to add the newly created element\n
*/\n
function text(t) {\n
this._node.appendChild(document.createTextNode(t));\n
return this;\n
}\n
\n
/**\n
* This method will clear all child nodes of the current wrapper object.\n
*\n
* @memberof Chartist.Svg\n
* @return {Chartist.Svg} The same wrapper object that got emptied\n
*/\n
function empty() {\n
while (this._node.firstChild) {\n
this._node.removeChild(this._node.firstChild);\n
}\n
\n
return this;\n
}\n
\n
/**\n
* This method will cause the current wrapper to remove itself from its parent wrapper. Use this method if you\'d like to get rid of an element in a given DOM structure.\n
*\n
* @memberof Chartist.Svg\n
* @return {Chartist.Svg} The parent wrapper object of the element that got removed\n
*/\n
function remove() {\n
this._node.parentNode.removeChild(this._node);\n
return this.parent();\n
}\n
\n
/**\n
* This method will replace the element with a new element that can be created outside of the current DOM.\n
*\n
* @memberof Chartist.Svg\n
* @param {Chartist.Svg} newElement The new Chartist.Svg object that will be used to replace the current wrapper object\n
* @return {Chartist.Svg} The wrapper of the new element\n
*/\n
function replace(newElement) {\n
this._node.parentNode.replaceChild(newElement._node, this._node);\n
return newElement;\n
}\n
\n
/**\n
* This method will append an element to the current element as a child.\n
*\n
* @memberof Chartist.Svg\n
* @param {Chartist.Svg} element The Chartist.Svg element that should be added as a child\n
* @param {Boolean} [insertFirst] Specifies if the element should be inserted as first child\n
* @return {Chartist.Svg} The wrapper of the appended object\n
*/\n
function append(element, insertFirst) {\n
if(insertFirst && this._node.firstChild) {\n
this._node.insertBefore(element._node, this._node.firstChild);\n
} else {\n
this._node.appendChild(element._node);\n
}\n
\n
return this;\n
}\n
\n
/**\n
* Returns an array of class names that are attached to the current wrapper element. This method can not be chained further.\n
*\n
* @memberof Chartist.Svg\n
* @return {Array} A list of classes or an empty array if there are no classes on the current element\n
*/\n
function classes() {\n
return this._node.getAttribute(\'class\') ? this._node.getAttribute(\'class\').trim().split(/\\s+/) : [];\n
}\n
\n
/**\n
* Adds one or a space separated list of classes to the current element and ensures the classes are only existing once.\n
*\n
* @memberof Chartist.Svg\n
* @param {String} names A white space separated list of class names\n
* @return {Chartist.Svg} The wrapper of the current element\n
*/\n
function addClass(names) {\n
this._node.setAttribute(\'class\',\n
this.classes(this._node)\n
.concat(names.trim().split(/\\s+/))\n
.filter(function(elem, pos, self) {\n
return self.indexOf(elem) === pos;\n
}).join(\' \')\n
);\n
\n
return this;\n
}\n
\n
/**\n
* Removes one or a space separated list of classes from the current element.\n
*\n
* @memberof Chartist.Svg\n
* @param {String} names A white space separated list of class names\n
* @return {Chartist.Svg} The wrapper of the current element\n
*/\n
function removeClass(names) {\n
var removedClasses = names.trim().split(/\\s+/);\n
\n
this._node.setAttribute(\'class\', this.classes(this._node).filter(function(name) {\n
return removedClasses.indexOf(name) === -1;\n
}).join(\' \'));\n
\n
return this;\n
}\n
\n
/**\n
* Removes all classes from the current element.\n
*\n
* @memberof Chartist.Svg\n
* @return {Chartist.Svg} The wrapper of the current element\n
*/\n
function removeAllClasses() {\n
this._node.setAttribute(\'class\', \'\');\n
\n
return this;\n
}\n
\n
/**\n
* "Save" way to get property value from svg BoundingBox.\n
* This is a workaround. Firefox throws an NS_ERROR_FAILURE error if getBBox() is called on an invisible node.\n
* See [NS_ERROR_FAILURE: Component returned failure code: 0x80004005](http://jsfiddle.net/sym3tri/kWWDK/)\n
*\n
* @memberof Chartist.Svg\n
* @param {SVGElement} node The svg node to\n
* @param {String} prop The property to fetch (ex.: height, width, ...)\n
* @returns {Number} The value of the given bbox property\n
*/\n
function getBBoxProperty(node, prop) {\n
try {\n
return node.getBBox()[prop];\n
} catch(e) {}\n
\n
return 0;\n
}\n
\n
/**\n
* Get element height with fallback to svg BoundingBox or parent container dimensions:\n
* See [bugzilla.mozilla.org](https://bugzilla.mozilla.org/show_bug.cgi?id=530985)\n
*\n
* @memberof Chartist.Svg\n
* @return {Number} The elements height in pixels\n
*/\n
function height() {\n
return this._node.clientHeight || Math.round(getBBoxProperty(this._node, \'height\')) || this._node.parentNode.clientHeight;\n
}\n
\n
/**\n
* Get element width with fallback to svg BoundingBox or parent container dimensions:\n
* See [bugzilla.mozilla.org](https://bugzilla.mozilla.org/show_bug.cgi?id=530985)\n
*\n
* @memberof Chartist.Core\n
* @return {Number} The elements width in pixels\n
*/\n
function width() {\n
return this._node.clientWidth || Math.round(getBBoxProperty(this._node, \'width\')) || this._node.parentNode.clientWidth;\n
}\n
\n
/**\n
* The animate function lets you animate the current element with SMIL animations. You can add animations for multiple attributes at the same time by using an animation definition object. This object should contain SMIL animation attributes. Please refer to http://www.w3.org/TR/SVG/animate.html for a detailed specification about the available animation attributes. Additionally an easing property can be passed in the animation definition object. This can be a string with a name of an easing function in `Chartist.Svg.Easing` or an array with four numbers specifying a cubic Bézier curve.\n
* **An animations object could look like this:**\n
* ```javascript\n
* element.animate({\n
* opacity: {\n
* dur: 1000,\n
* from: 0,\n
* to: 1\n
* },\n
* x1: {\n
* dur: \'1000ms\',\n
* from: 100,\n
* to: 200,\n
* easing: \'easeOutQuart\'\n
* },\n
* y1: {\n
* dur: \'2s\',\n
* from: 0,\n
* to: 100\n
* }\n
* });\n
* ```\n
* **Automatic unit conversion**\n
* For the `dur` and the `begin` animate attribute you can also omit a unit by passing a number. The number will automatically be converted to milli seconds.\n
* **Guided mode**\n
* The default behavior of SMIL animations with offset using the `begin` attribute is that the attribute will keep it\'s original value until the animation starts. Mostly this behavior is not desired as you\'d like to have your element attributes already initialized with the animation `from` value even before the animation starts. Also if you don\'t specify `fill="freeze"` on an animate element or if you delete the animation after it\'s done (which is done in guided mode) the attribute will switch back to the initial value. This behavior is also not desired when performing simple one-time animations. For one-time animations you\'d want to trigger animations immediately instead of relative to the document begin time. That\'s why in guided mode Chartist.Svg will also use the `begin` property to schedule a timeout and manually start the animation after the timeout. If you\'re using multiple SMIL definition objects for an attribute (in an array), guided mode will be disabled for this attribute, even if you explicitly enabled it.\n
* If guided mode is enabled the following behavior is added:\n
* - Before the animation starts (even when delayed with `begin`) the animated attribute will be set already to the `from` value of the animation\n
* - `begin` is explicitly set to `indefinite` so it can be started manually without relying on document begin time (creation)\n
* - The animate element will be forced to use `fill="freeze"`\n
* - The animation will be triggered with `beginElement()` in a timeout where `begin` of the definition object is interpreted in milli seconds. If no `begin` was specified the timeout is triggered immediately.\n
* - After the animation the element attribute value will be set to the `to` value of the animation\n
* - The animate element is deleted from the DOM\n
*\n
* @memberof Chartist.Svg\n
* @param {Object} animations An animations object where the property keys are the attributes you\'d like to animate. The properties should be objects again that contain the SMIL animation attributes (usually begin, dur, from, and to). The property begin and dur is auto converted (see Automatic unit conversion). You can also schedule multiple animations for the same attribute by passing an Array of SMIL definition objects. Attributes that contain an array of SMIL definition objects will not be executed in guided mode.\n
* @param {Boolean} guided Specify if guided mode should be activated for this animation (see Guided mode). If not otherwise specified, guided mode will be activated.\n
* @param {Object} eventEmitter If specified, this event emitter will be notified when an animation starts or ends.\n
* @return {Chartist.Svg} The current element where the animation was added\n
*/\n
function animate(animations, guided, eventEmitter) {\n
if(guided === undefined) {\n
guided = true;\n
}\n
\n
Object.keys(animations).forEach(function createAnimateForAttributes(attribute) {\n
\n
function createAnimate(animationDefinition, guided) {\n
var attributeProperties = {},\n
animate,\n
timeout,\n
easing;\n
\n
// Check if an easing is specified in the definition object and delete it from the object as it will not\n
// be part of the animate element attributes.\n
if(animationDefinition.easing) {\n
// If already an easing Bézier curve array we take it or we lookup a easing array in the Easing object\n
easing = animationDefinition.easing instanceof Array ?\n
animationDefinition.easing :\n
Chartist.Svg.Easing[animationDefinition.easing];\n
delete animationDefinition.easing;\n
}\n
\n
// If numeric dur or begin was provided we assume milli seconds\n
animationDefinition.begin = Chartist.ensureUnit(animationDefinition.begin, \'ms\');\n
animationDefinition.dur = Chartist.ensureUnit(animationDefinition.dur, \'ms\');\n
\n
if(easing) {\n
animationDefinition.calcMode = \'spline\';\n
animationDefinition.keySplines = easing.join(\' \');\n
animationDefinition.keyTimes = \'0;1\';\n
}\n
\n
// Adding "fill: freeze" if we are in guided mode and set initial attribute values\n
if(guided) {\n
animationDefinition.fill = \'freeze\';\n
// Animated property on our element should already be set to the animation from value in guided mode\n
attributeProperties[attribute] = animationDefinition.from;\n
this.attr(attributeProperties);\n
\n
// In guided mode we also set begin to indefinite so we can trigger the start manually and put the begin\n
// which needs to be in ms aside\n
timeout = Chartist.stripUnit(animationDefinition.begin || 0);\n
animationDefinition.begin = \'indefinite\';\n
}\n
\n
animate = this.elem(\'animate\', Chartist.extend({\n
attributeName: attribute\n
}, animationDefinition));\n
\n
if(guided) {\n
// If guided we take the value that was put aside in timeout and trigger the animation manually with a timeout\n
setTimeout(function() {\n
// If beginElement fails we set the animated attribute to the end position and remove the animate element\n
// This happens if the SMIL ElementTimeControl interface is not supported or any other problems occured in\n
// the browser. (Currently FF 34 does not support animate elements in foreignObjects)\n
try {\n
animate._node.beginElement();\n
} catch(err) {\n
// Set animated attribute to current animated value\n
attributeProperties[attribute] = animationDefinition.to;\n
this.attr(attributeProperties);\n
// Remove the animate element as it\'s no longer required\n
animate.remove();\n
}\n
}.bind(this), timeout);\n
}\n
\n
if(eventEmitter) {\n
animate._node.addEventListener(\'beginEvent\', function handleBeginEvent() {\n
eventEmitter.emit(\'animationBegin\', {\n
element: this,\n
animate: animate._node,\n
params: animationDefinition\n
});\n
}.bind(this));\n
}\n
\n
animate._node.addEventListener(\'endEvent\', function handleEndEvent() {\n
if(eventEmitter) {\n
eventEmitter.emit(\'animationEnd\', {\n
element: this,\n
animate: animate._node,\n
params: animationDefinition\n
});\n
}\n
\n
if(guided) {\n
// Set animated attribute to current animated value\n
attributeProperties[attribute] = animationDefinition.to;\n
this.attr(attributeProperties);\n
// Remove the animate element as it\'s no longer required\n
animate.remove();\n
}\n
}.bind(this));\n
}\n
\n
// If current attribute is an array of definition objects we create an animate for each and disable guided mode\n
if(animations[attribute] instanceof Array) {\n
animations[attribute].forEach(function(animationDefinition) {\n
createAnimate.bind(this)(animationDefinition, false);\n
}.bind(this));\n
} else {\n
createAnimate.bind(this)(animations[attribute], guided);\n
}\n
\n
}.bind(this));\n
\n
return this;\n
}\n
\n
Chartist.Svg = Chartist.Class.extend({\n
constructor: Svg,\n
attr: attr,\n
elem: elem,\n
parent: parent,\n
root: root,\n
querySelector: querySelector,\n
querySelectorAll: querySelectorAll,\n
foreignObject: foreignObject,\n
text: text,\n
empty: empty,\n
remove: remove,\n
replace: replace,\n
append: append,\n
classes: classes,\n
addClass: addClass,\n
removeClass: removeClass,\n
removeAllClasses: removeAllClasses,\n
height: height,\n
width: width,\n
animate: animate\n
});\n
\n
/**\n
* This method checks for support of a given SVG feature like Extensibility, SVG-animation or the like. Check http://www.w3.org/TR/SVG11/feature for a detailed list.\n
*\n
* @memberof Chartist.Svg\n
* @param {String} feature The SVG 1.1 feature that should be checked for support.\n
* @return {Boolean} True of false if the feature is supported or not\n
*/\n
Chartist.Svg.isSupported = function(feature) {\n
return document.implementation.hasFeature(\'http://www.w3.org/TR/SVG11/feature#\' + feature, \'1.1\');\n
};\n
\n
/**\n
* This Object contains some standard easing cubic bezier curves. Then can be used with their name in the `Chartist.Svg.animate`. You can also extend the list and use your own name in the `animate` function. Click the show code button to see the available bezier functions.\n
*\n
* @memberof Chartist.Svg\n
*/\n
var easingCubicBeziers = {\n
easeInSine: [0.47, 0, 0.745, 0.715],\n
easeOutSine: [0.39, 0.575, 0.565, 1],\n
easeInOutSine: [0.445, 0.05, 0.55, 0.95],\n
easeInQuad: [0.55, 0.085, 0.68, 0.53],\n
easeOutQuad: [0.25, 0.46, 0.45, 0.94],\n
easeInOutQuad: [0.455, 0.03, 0.515, 0.955],\n
easeInCubic: [0.55, 0.055, 0.675, 0.19],\n
easeOutCubic: [0.215, 0.61, 0.355, 1],\n
easeInOutCubic: [0.645, 0.045, 0.355, 1],\n
easeInQuart: [0.895, 0.03, 0.685, 0.22],\n
easeOutQuart: [0.165, 0.84, 0.44, 1],\n
easeInOutQuart: [0.77, 0, 0.175, 1],\n
easeInQuint: [0.755, 0.05, 0.855, 0.06],\n
easeOutQuint: [0.23, 1, 0.32, 1],\n
easeInOutQuint: [0.86, 0, 0.07, 1],\n
easeInExpo: [0.95, 0.05, 0.795, 0.035],\n
easeOutExpo: [0.19, 1, 0.22, 1],\n
easeInOutExpo: [1, 0, 0, 1],\n
easeInCirc: [0.6, 0.04, 0.98, 0.335],\n
easeOutCirc: [0.075, 0.82, 0.165, 1],\n
easeInOutCirc: [0.785, 0.135, 0.15, 0.86],\n
easeInBack: [0.6, -0.28, 0.735, 0.045],\n
easeOutBack: [0.175, 0.885, 0.32, 1.275],\n
easeInOutBack: [0.68, -0.55, 0.265, 1.55]\n
};\n
\n
Chartist.Svg.Easing = easingCubicBeziers;\n
\n
/**\n
* This helper class is to wrap multiple `Chartist.Svg` elements into a list where you can call the `Chartist.Svg` functions on all elements in the list with one call. This is helpful when you\'d like to perform calls with `Chartist.Svg` on multiple elements.\n
* An instance of this class is also returned by `Chartist.Svg.querySelectorAll`.\n
*\n
* @memberof Chartist.Svg\n
* @param {Array<Node>|NodeList} nodeList An Array of SVG DOM nodes or a SVG DOM NodeList (as returned by document.querySelectorAll)\n
* @constructor\n
*/\n
function SvgList(nodeList) {\n
var list = this;\n
\n
this.svgElements = [];\n
for(var i = 0; i < nodeList.length; i++) {\n
this.svgElements.push(new Chartist.Svg(nodeList[i]));\n
}\n
\n
// Add delegation methods for Chartist.Svg\n
Object.keys(Chartist.Svg.prototype).filter(function(prototypeProperty) {\n
return [\'constructor\',\n
\'parent\',\n
\'querySelector\',\n
\'querySelectorAll\',\n
\'replace\',\n
\'append\',\n
\'classes\',\n
\'height\',\n
\'width\'].indexOf(prototypeProperty) === -1;\n
}).forEach(function(prototypeProperty) {\n
list[prototypeProperty] = function() {\n
var args = Array.prototype.slice.call(arguments, 0);\n
list.svgElements.forEach(function(element) {\n
Chartist.Svg.prototype[prototypeProperty].apply(element, args);\n
});\n
return list;\n
};\n
});\n
}\n
\n
Chartist.Svg.List = Chartist.Class.extend({\n
constructor: SvgList\n
});\n
}(window, document, Chartist));\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>26281</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>svg.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>styles</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>styles</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273069.12</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>chartist.scss</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
@import "settings/chartist-settings";\n
\n
@mixin ct-responsive-svg-container($width: 100%, $ratio: $ct-container-ratio) {\n
display: block;\n
position: relative;\n
width: $width;\n
\n
&:before {\n
display: block;\n
float: left;\n
content: "";\n
width: 0;\n
height: 0;\n
padding-bottom: $ratio * 100%;\n
}\n
\n
&:after {\n
content: "";\n
display: table;\n
clear: both;\n
}\n
\n
> svg {\n
display: block;\n
position: absolute;\n
top: 0;\n
left: 0;\n
}\n
}\n
\n
@mixin ct-align-justify($ct-text-align: $ct-text-align, $ct-text-justify: $ct-text-justify) {\n
-webkit-box-align: $ct-text-align;\n
-webkit-align-items: $ct-text-align;\n
-ms-flex-align: $ct-text-align;\n
align-items: $ct-text-align;\n
-webkit-box-pack: $ct-text-justify;\n
-webkit-justify-content: $ct-text-justify;\n
-ms-flex-pack: $ct-text-justify;\n
justify-content: $ct-text-justify;\n
// Fallback to text-align for non-flex browsers\n
@if($ct-text-justify == \'flex-start\') {\n
text-align: left;\n
} @else if ($ct-text-justify == \'flex-end\') {\n
text-align: right;\n
} @else {\n
text-align: center;\n
}\n
}\n
\n
@mixin ct-flex() {\n
// Fallback to block\n
display: block;\n
display: -webkit-box;\n
display: -moz-box;\n
display: -ms-flexbox;\n
display: -webkit-flex;\n
display: flex;\n
}\n
\n
@mixin ct-chart-label($ct-text-color: $ct-text-color, $ct-text-size: $ct-text-size, $ct-text-line-height: $ct-text-line-height) {\n
fill: $ct-text-color;\n
color: $ct-text-color;\n
font-size: $ct-text-size;\n
line-height: $ct-text-line-height;\n
}\n
\n
@mixin ct-chart-grid($ct-grid-color: $ct-grid-color, $ct-grid-width: $ct-grid-width, $ct-grid-dasharray: $ct-grid-dasharray) {\n
stroke: $ct-grid-color;\n
stroke-width: $ct-grid-width;\n
\n
@if ($ct-grid-dasharray) {\n
stroke-dasharray: $ct-grid-dasharray;\n
}\n
}\n
\n
@mixin ct-chart-point($ct-point-size: $ct-point-size, $ct-point-shape: $ct-point-shape) {\n
stroke-width: $ct-point-size;\n
stroke-linecap: $ct-point-shape;\n
}\n
\n
@mixin ct-chart-line($ct-line-width: $ct-line-width, $ct-line-dasharray: $ct-line-dasharray) {\n
fill: none;\n
stroke-width: $ct-line-width;\n
\n
@if ($ct-line-dasharray) {\n
stroke-dasharray: $ct-line-dasharray;\n
}\n
}\n
\n
@mixin ct-chart-area($ct-area-opacity: $ct-area-opacity) {\n
stroke: none;\n
fill-opacity: $ct-area-opacity;\n
}\n
\n
@mixin ct-chart-bar($ct-bar-width: $ct-bar-width) {\n
fill: none;\n
stroke-width: $ct-bar-width;\n
}\n
\n
@mixin ct-chart-donut($ct-donut-width: $ct-donut-width) {\n
fill: none;\n
stroke-width: $ct-donut-width;\n
}\n
\n
@mixin ct-chart-series-color($color) {\n
.#{$ct-class-point}, .#{$ct-class-line}, .#{$ct-class-bar}, .#{$ct-class-slice-donut} {\n
stroke: $color;\n
}\n
\n
.#{$ct-class-slice-pie}, .#{$ct-class-area} {\n
fill: $color;\n
}\n
}\n
\n
@mixin ct-chart($ct-container-ratio: $ct-container-ratio, $ct-text-color: $ct-text-color, $ct-text-size: $ct-text-size, $ct-grid-color: $ct-grid-color, $ct-grid-width: $ct-grid-width, $ct-grid-dasharray: $ct-grid-dasharray, $ct-point-size: $ct-point-size, $ct-point-shape: $ct-point-shape, $ct-line-width: $ct-line-width, $ct-bar-width: $ct-bar-width, $ct-donut-width: $ct-donut-width, $ct-series-names: $ct-series-names, $ct-series-colors: $ct-series-colors) {\n
\n
.#{$ct-class-label} {\n
@include ct-chart-label($ct-text-color, $ct-text-size);\n
}\n
\n
.#{$ct-class-chart-line} .#{$ct-class-label},\n
.#{$ct-class-chart-bar} .#{$ct-class-label} {\n
@include ct-flex();\n
}\n
\n
.#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {\n
@include ct-align-justify(flex-end, flex-start);\n
// Fallback for browsers that don\'t support foreignObjects\n
text-anchor: start;\n
}\n
\n
.#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {\n
@include ct-align-justify(flex-start, flex-start);\n
// Fallback for browsers that don\'t support foreignObjects\n
text-anchor: start;\n
}\n
\n
.#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} {\n
@include ct-align-justify(flex-end, flex-end);\n
// Fallback for browsers that don\'t support foreignObjects\n
text-anchor: end;\n
}\n
\n
.#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} {\n
@include ct-align-justify(flex-end, flex-start);\n
// Fallback for browsers that don\'t support foreignObjects\n
text-anchor: start;\n
}\n
\n
.#{$ct-class-chart-bar} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {\n
@include ct-align-justify(flex-end, center);\n
// Fallback for browsers that don\'t support foreignObjects\n
text-anchor: start;\n
}\n
\n
.#{$ct-class-chart-bar} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {\n
@include ct-align-justify(flex-start, center);\n
// Fallback for browsers that don\'t support foreignObjects\n
text-anchor: start;\n
}\n
\n
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {\n
@include ct-align-justify(flex-end, flex-start);\n
// Fallback for browsers that don\'t support foreignObjects\n
text-anchor: start;\n
}\n
\n
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {\n
@include ct-align-justify(flex-start, flex-start);\n
// Fallback for browsers that don\'t support foreignObjects\n
text-anchor: start;\n
}\n
\n
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} {\n
//@include ct-chart-label($ct-text-color, $ct-text-size, center, $ct-vertical-text-justify);\n
@include ct-align-justify(center, flex-end);\n
// Fallback for browsers that don\'t support foreignObjects\n
text-anchor: end;\n
}\n
\n
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars} .#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} {\n
@include ct-align-justify(center, flex-start);\n
// Fallback for browsers that don\'t support foreignObjects\n
text-anchor: end;\n
}\n
\n
.#{$ct-class-grid} {\n
@include ct-chart-grid($ct-grid-color, $ct-grid-width, $ct-grid-dasharray);\n
}\n
\n
.#{$ct-class-point} {\n
@include ct-chart-point($ct-point-size, $ct-point-shape);\n
}\n
\n
.#{$ct-class-line} {\n
@include ct-chart-line($ct-line-width);\n
}\n
\n
.#{$ct-class-area} {\n
@include ct-chart-area();\n
}\n
\n
.#{$ct-class-bar} {\n
@include ct-chart-bar($ct-bar-width);\n
}\n
\n
.#{$ct-class-slice-donut} {\n
@include ct-chart-donut($ct-donut-width);\n
}\n
\n
@if $ct-include-colored-series {\n
@for $i from 0 to length($ct-series-names) {\n
.#{$ct-class-series}-#{nth($ct-series-names, $i + 1)} {\n
$color: nth($ct-series-colors, $i + 1);\n
\n
@include ct-chart-series-color($color);\n
}\n
}\n
}\n
}\n
\n
@if $ct-include-classes {\n
@include ct-chart();\n
\n
@if $ct-include-alternative-responsive-containers {\n
@for $i from 0 to length($ct-scales-names) {\n
.#{nth($ct-scales-names, $i + 1)} {\n
@include ct-responsive-svg-container($ratio: nth($ct-scales, $i + 1));\n
}\n
}\n
}\n
}\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>6857</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>chartist.scss</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>settings</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>settings</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>tasks</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>tasks</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273100.29</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>aliases.yml</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string># Grunt Commands\n
# ==============\n
#\n
# Use `grunt` in the root directory to select and run a specific task.\n
\n
default:\n
- \'newer:jshint\'\n
- \'test\'\n
- \'build\'\n
- \'dev\'\n
\n
# create the library\n
build:\n
- \'clean:dist\'\n
- \'copy:dist\'\n
- \'concat:dist\'\n
- \'template:dist\'\n
- \'umd\'\n
- \'uglify:dist\'\n
- \'sass:dist\'\n
- \'cssmin\'\n
\n
# prepare the website\n
public:\n
- \'clean:public\'\n
- \'assemble\'\n
- \'useminPrepare\'\n
- \'concurrent:public\'\n
- \'concat:generated\'\n
- \'copy:public\'\n
- \'cssmin:generated\'\n
- \'uglify:generated\'\n
- \'usemin\'\n
- \'critical\'\n
- \'htmlmin\'\n
\n
# tests\n
test:\n
- \'clean:tmp\'\n
- \'concurrent:test\'\n
- \'connect:test\'\n
- \'jasmine\'\n
\n
# local version with livereload\n
dev:\n
- \'assemble\'\n
- \'sass:tmp\'\n
- \'connect:livereload\'\n
- \'watch\'\n
\n
# online version\n
preview:\n
- \'public\'\n
- \'connect:public\'\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>816</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>aliases.yml</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273100.71</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>assemble.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* assemble\n
* ========\n
*\n
* Using the static site generator to build the website.\n
*\n
* Link: https://github.com/assemble/assemble/\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
options: {\n
helpers: [\'<%= pkg.config.site %>/helpers/**/*.js\'],\n
partials: [\'<%= pkg.config.site %>/partials/**/*.hbs\'],\n
layoutdir: \'<%= pkg.config.site %>/layouts\',\n
layoutext: \'.hbs\',\n
layout: [\'default\'],\n
data: [\n
\'<%= pkg.config.site %>/data/**/*.{json,yml}\',\n
\'<%= pkg.config.tmp %>/data/**/*.{json,yml}\'\n
],\n
plugins: [\'assemble-dox\'],\n
dox: {\n
sourceFiles: [\'<%= pkg.config.src %>/**/*.js\'],\n
contextRoot: \'apidox\'\n
}\n
},\n
pages: {\n
expand: true,\n
cwd: \'<%= pkg.config.site %>/templates\',\n
src: [\'*.hbs\'],\n
dest: \'<%= pkg.config.tmp %>\'\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>874</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>assemble.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273104.11</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>clean.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* clean\n
* =====\n
*\n
* Remove temporary and unused files.\n
*\n
* Link: https://github.com/gruntjs/grunt-contrib-clean\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
public: {\n
files: [\n
{\n
dot: true,\n
src: [\n
\'<%= pkg.config.tmp %>\',\n
\'<%= pkg.config.public %>/*\',\n
\'!<%= pkg.config.public %>/.git*\'\n
]\n
}\n
]\n
},\n
tmp: \'<%= pkg.config.tmp %>\',\n
dist: \'<%= pkg.config.dist %>\'\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>505</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>clean.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273105.3</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>concat.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* concat\n
* ======\n
*\n
* Combine files for the library (uncompressed).\n
*\n
* Link: https://github.com/gruntjs/grunt-contrib-concat\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
dist: {\n
options: {\n
separator: \';\',\n
banner: \'<%= pkg.config.banner %>\'\n
},\n
files: {\n
\'<%= pkg.config.dist %>/chartist.js\': [\n
\'<%= pkg.config.src %>/scripts/core.js\',\n
\'<%= pkg.config.src %>/scripts/interpolation.js\',\n
\'<%= pkg.config.src %>/scripts/event.js\',\n
\'<%= pkg.config.src %>/scripts/class.js\',\n
\'<%= pkg.config.src %>/scripts/base.js\',\n
\'<%= pkg.config.src %>/scripts/svg.js\',\n
\'<%= pkg.config.src %>/scripts/svg-path.js\',\n
\'<%= pkg.config.src %>/scripts/axes/axis.js\',\n
\'<%= pkg.config.src %>/scripts/axes/auto-scale-axis.js\',\n
\'<%= pkg.config.src %>/scripts/axes/fixed-scale-axis.js\',\n
\'<%= pkg.config.src %>/scripts/axes/step-axis.js\',\n
\'<%= pkg.config.src %>/scripts/charts/line.js\',\n
\'<%= pkg.config.src %>/scripts/charts/bar.js\',\n
\'<%= pkg.config.src %>/scripts/charts/pie.js\'\n
]\n
}\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1197</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>concat.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273102.2</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>concurrent.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>/**\n
* concurrent\n
* ==========\n
*\n
* Run tasks in parallel to speed up the build process.\n
*\n
* Link: https://github.com/sindresorhus/grunt-concurrent\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
server: [\n
\'sass:public\'\n
],\n
test: [\n
\'sass\' // tmp\n
],\n
public: [\n
\'sass:public\',\n
\'imagemin\',\n
\'svgmin\'\n
]\n
};\n
};\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>381</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>concurrent.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273103.03</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>connect.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* connect\n
* =======\n
*\n
* Starting a localserver for development.\n
*\n
* Link: https://github.com/gruntjs/grunt-contrib-connect\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
options: {\n
port: 9000,\n
// Change this to \'0.0.0.0\' to access the server from outside.\n
hostname: \'localhost\',\n
livereload: 35729\n
},\n
livereload: {\n
options: {\n
open: true,\n
base: [\n
\'<%= pkg.config.tmp %>\',\n
\'<%= pkg.config.src %>\',\n
\'<%= pkg.config.site %>\'\n
]\n
}\n
},\n
test: {\n
options: {\n
port: 9001,\n
base: [\n
\'<%= pkg.config.tmp %>\',\n
\'<%= pkg.config.test %>\',\n
\'<%= pkg.config.site %>\'\n
]\n
}\n
},\n
public: {\n
options: {\n
open: true,\n
keepalive: true,\n
base: \'<%= pkg.config.public %>\'\n
}\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>898</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>connect.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273108.61</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>copy.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* copy\n
* ====\n
*\n
* Copies remaining files to places other tasks can use.\n
*\n
* Link: https://github.com/gruntjs/grunt-contrib-copy\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
public: {\n
files: [\n
{\n
expand: true,\n
dot: true,\n
cwd: \'<%= pkg.config.site %>\',\n
dest: \'<%= pkg.config.public %>\',\n
src: [\n
\'*.{ico,png,txt}\',\n
\'.htaccess\',\n
\'*.html\',\n
\'bower_components/**/*\',\n
\'images/{,*/}*.{webp}\',\n
\'fonts/*\'\n
]\n
},\n
{\n
expand: true,\n
cwd: \'<%= pkg.config.tmp %>/images\',\n
dest: \'<%= pkg.config.public %>/images\',\n
src: [\'generated/*\']\n
},\n
{\n
expand: true,\n
cwd: \'<%= pkg.config.tmp %>\',\n
dest: \'<%= pkg.config.public %>\',\n
src: [\n
\'*.html\'\n
]\n
}\n
]\n
},\n
dist: {\n
files: [\n
{\n
expand: true,\n
cwd: \'<%= pkg.config.src %>/styles\',\n
dest: \'<%= pkg.config.dist %>/scss/\',\n
src: [\n
\'modules/**/*.scss\',\n
\'settings/**/*.scss\',\n
\'*.scss\'\n
]\n
},\n
{\n
dest: \'<%= pkg.config.dist %>/\',\n
src: \'LICENSE\'\n
}\n
]\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1348</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>copy.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273105.72</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>critical.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* critical\n
* ========\n
*\n
* Use critical to inline above the fold critical CSS during the build process.\n
*\n
* Link: https://github.com/bezoerb/grunt-critical\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
public: {\n
options: {\n
base: \'./\',\n
css: \'<%= pkg.config.public %>/styles/main.css\',\n
width: 320,\n
height: 3000\n
},\n
src: \'<%= pkg.config.public %>/index.html\',\n
dest: \'<%= pkg.config.public %>/index.html\'\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>504</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>critical.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273103.75</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>cssmin.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* cssmin\n
* ======\n
*\n
* CSS min for the library.\n
*\n
* Link: https://github.com/gruntjs/grunt-contrib-cssmin\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
dist: {\n
options: {\n
\'banner\': \'<%= pkg.config.banner %>\'\n
},\n
files: {\n
\'<%= pkg.config.dist %>/chartist.min.css\': [\'<%= pkg.config.tmp %>/styles/chartist.css\']\n
}\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>399</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>cssmin.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273101.44</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>htmlmin.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* htmlmin\n
* =======\n
*\n
* Minify HTML of the website.\n
*\n
* Link: https://github.com/gruntjs/grunt-contrib-htmlmin\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function(){\n
return {\n
public: {\n
options: {\n
collapseWhitespace: true,\n
collapseBooleanAttributes: true,\n
removeCommentsFromCDATA: true,\n
removeOptionalTags: true\n
},\n
files: [\n
{\n
expand: true,\n
cwd: \'<%= pkg.config.public %>\',\n
src: [\'*.html\'],\n
dest: \'<%= pkg.config.public %>\'\n
}\n
]\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>562</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>htmlmin.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273107.62</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>imagemin.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* imagemin\n
* ========\n
*\n
* The following *-min tasks produce minified files in the dist folder.\n
*\n
* Link: https://github.com/gruntjs/grunt-contrib-imagemin\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
dist: {\n
files: [\n
{\n
expand: true,\n
cwd: \'<%= pkg.config.site %>/images\',\n
src: \'{,*/}*.{png,jpg,jpeg,gif}\',\n
dest: \'<%= pkg.config.public %>/images\'\n
}\n
]\n
}\n
}\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>466</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>imagemin.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273101.08</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>jasmine.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* jasmine\n
* =======\n
*\n
* Test settings\n
*\n
* Link: https://github.com/gruntjs/grunt-contrib-jasmine\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
dist: {\n
src: [\n
\'<%= pkg.config.src %>/scripts/core.js\',\n
\'<%= pkg.config.src %>/scripts/interpolation.js\',\n
\'<%= pkg.config.src %>/scripts/event.js\',\n
\'<%= pkg.config.src %>/scripts/class.js\',\n
\'<%= pkg.config.src %>/scripts/base.js\',\n
\'<%= pkg.config.src %>/scripts/svg.js\',\n
\'<%= pkg.config.src %>/scripts/svg-path.js\',\n
\'<%= pkg.config.src %>/scripts/axes/axis.js\',\n
\'<%= pkg.config.src %>/scripts/axes/step-axis.js\',\n
\'<%= pkg.config.src %>/scripts/axes/auto-scale-axis.js\',\n
\'<%= pkg.config.src %>/scripts/axes/fixed-scale-axis.js\',\n
\'<%= pkg.config.src %>/scripts/charts/line.js\',\n
\'<%= pkg.config.src %>/scripts/charts/bar.js\',\n
\'<%= pkg.config.src %>/scripts/charts/pie.js\'\n
],\n
options: {\n
specs: \'<%= pkg.config.test %>/spec/**/spec-*.js\',\n
helpers: \'<%= pkg.config.test %>/spec/**/helper-*.js\',\n
vendor: [\n
\'http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js\',\n
\'node_modules/jasmine-jquery/lib/jasmine-jquery.js\'\n
],\n
styles: [\n
\'.tmp/styles/main.css\'\n
],\n
phantomjs: {\n
\'ignore-ssl-errors\': true\n
}\n
}\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1432</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>jasmine.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273104.88</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>jshint.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* jshint\n
* ======\n
*\n
* Make sure code styles are up to par and there are no obvious mistakes.\n
*\n
* Link: https://github.com/gruntjs/grunt-contrib-jshint\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
options: {\n
jshintrc: \'.jshintrc\',\n
reporter: require(\'jshint-stylish\')\n
},\n
all: [\n
\'Gruntfile.js\',\n
\'<%= pkg.config.src %>/{,*/}*.js\',\n
\'<%= pkg.config.site %>/scripts/{,*/}*.js\'\n
],\n
test: {\n
options: {\n
jshintrc: \'<%= pkg.config.test %>/.jshintrc\'\n
},\n
src: [\'<%= pkg.config.test %>/spec/{,*/}*.js\']\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>609</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>jshint.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273101.82</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>sass.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* sass\n
* ====\n
*\n
* Compile SASS into CSS with libsass (node-sass).\n
*\n
* Link: https://github.com/sindresorhus/grunt-sass\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
options: {\n
includePaths: [\'<%= pkg.config.site %>/bower_components\'],\n
imagePath: \'<%= pkg.config.site %>/images\'\n
},\n
public: { // without sourcemaps\n
options: {\n
sourceMap: false\n
},\n
files: [\n
{\n
expand: true,\n
cwd: \'<%= pkg.config.site %>/styles\',\n
src: \'{,*/}*.{scss,sass}\',\n
ext: \'.css\',\n
dest: \'<%= pkg.config.tmp %>/styles\'\n
}\n
]\n
},\n
dist: {\n
options: {\n
sourceMap: true\n
},\n
files: [\n
{\n
expand: true,\n
cwd: \'<%= pkg.config.src %>/styles\',\n
src: \'{,*/}*.{scss,sass}\',\n
ext: \'.css\',\n
dest: \'<%= pkg.config.tmp %>/styles\'\n
}\n
]\n
},\n
tmp: { // with sourcemaps\n
options: {\n
sourceMap: true\n
},\n
files: [\n
{\n
expand: true,\n
cwd: \'<%= pkg.config.site %>/styles\',\n
src: \'{,*/}*.{scss,sass}\',\n
ext: \'.css\',\n
dest: \'<%= pkg.config.tmp %>/styles\'\n
}\n
]\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1254</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>sass.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273108.11</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>svgmin.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* svgmin\n
* ======\n
*\n
* Minify SVG graphics by removing unnecessary data.\n
*\n
* Link: https://github.com/sindresorhus/grunt-svgmin\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
dist: {\n
files: [\n
{\n
expand: true,\n
cwd: \'<%= pkg.config.site %>/images\',\n
src: \'{,*/}*.svg\',\n
dest: \'<%= pkg.config.public %>/images\'\n
}\n
],\n
options: {\n
plugins: [\n
{ removeEmptyContainers: true },\n
{ cleanupIDs: false },\n
{ removeUnknownsAndDefaults: false }\n
]\n
}\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>602</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>svgmin.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273104.5</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>template.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* template\n
* ===\n
*\n
* Replaces template variables inside of files using build stage variables.\n
*\n
* Link: https://github.com/mathiasbynens/grunt-template\n
*/\n
\n
\'use strict\';\n
\n
var pkg = require(\'../package.json\');\n
\n
module.exports = function (grunt) {\n
return {\n
dist: {\n
options: {\n
data: {\n
pkg: pkg\n
}\n
},\n
files: {\n
\'<%= pkg.config.dist %>/chartist.js\': \'<%= pkg.config.dist %>/chartist.js\'\n
}\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>471</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>template.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273106.26</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>uglify.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* uglify\n
* ======\n
*\n
* Minify the library.\n
*\n
* Link: https://github.com/gruntjs/grunt-contrib-uglify\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
dist: {\n
options: {\n
banner: \'<%= pkg.config.banner %>\',\n
sourceMap: true,\n
sourceMapIncludeSources: true\n
},\n
files: {\n
\'<%= pkg.config.dist %>/chartist.min.js\': [\'<%= pkg.config.dist %>/chartist.js\']\n
}\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>448</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>uglify.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273106.66</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>umd.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* umd\n
* ===\n
*\n
* Wraps the library into an universal module definition (AMD + CommonJS + Global).\n
*\n
* Link: https://github.com/bebraw/grunt-umd\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
dist: {\n
src: \'<%= pkg.config.dist %>/chartist.js\',\n
objectToExport: \'Chartist\',\n
globalAlias: \'Chartist\',\n
indent: \' \'\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>379</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>umd.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273102.67</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>usemin.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* usemin\n
* ======\n
*\n
* Performs rewrites based on rev and the useminPrepare configuration.\n
*\n
* Link: https://github.com/yeoman/grunt-usemin\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
html: [\'<%= pkg.config.public %>/{,*/}*.html\'],\n
css: [\'<%= pkg.config.public %>/styles/{,*/}*.css\'],\n
options: {\n
assetsDirs: [\'<%= pkg.config.public %>\'],\n
blockReplacements: {\n
js: function (block) {\n
\n
var asyncScripts = [\n
\'scripts/all.js\'\n
];\n
\n
var isAsync = block.async || asyncScripts.indexOf(block.dest) > -1;\n
\n
return isAsync ?\n
\'<script async src="\' + block.dest + \'"><\\/script>\' :\n
\'<script src="\' + block.dest + \'"><\\/script>\';\n
}\n
}\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>784</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>usemin.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273103.39</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>useminPrepare.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* useminPrepare\n
* =============\n
*\n
* Reads HTML for usemin blocks to enable smart builds that automatically\n
* concat, minify and revision files. Creates configurations in memory so\n
* additional tasks can operate on them.\n
*\n
* Link: https://github.com/yeoman/grunt-usemin\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
options: {\n
dest: \'<%= pkg.config.public %>\'\n
},\n
html: \'<%= pkg.config.tmp %>/index.html\'\n
}\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>461</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>useminPrepare.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41273107.14</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>watch.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
/**\n
* watch\n
* =====\n
*\n
* Watches files for changes and runs tasks based on the changed files.\n
*\n
* Link: https://github.com/gruntjs/grunt-contrib-watch\n
*/\n
\n
\'use strict\';\n
\n
module.exports = function (grunt) {\n
return {\n
assemble: {\n
files: [\'<%= pkg.config.site %>/**/*.{hbs,yml,json,js}\'],\n
tasks: [\'assemble\']\n
},\n
doxication: {\n
files: [\'<%= pkg.config.tmp %>/data/**/*.{yml,json}\'],\n
tasks: [\'assemble\']\n
},\n
js: {\n
files: [\n
\'<%= pkg.config.site %>/scripts/**/*.js\',\n
\'<%= pkg.config.src %>/scripts/**/*.js\'\n
],\n
tasks: [\'newer:jshint:all\'],\n
options: {\n
livereload: true\n
}\n
},\n
jsTest: {\n
files: [\'<%= pkg.config.test %>/spec/{,*/}*.js\'],\n
tasks: [\'newer:jshint:test\', \'jasmine\']\n
},\n
sass: {\n
files: [\n
\'<%= pkg.config.site %>/styles/{,*/}*.{scss,sass}\',\n
\'<%= pkg.config.src %>/styles/{,*/}*.{scss,sass}\'\n
],\n
tasks: [\'sass:public\']\n
},\n
gruntfile: {\n
files: [\'Gruntfile.js\']\n
},\n
livereload: {\n
options: {\n
livereload: \'<%= connect.options.livereload %>\'\n
},\n
files: [\n
\'<%= pkg.config.tmp %>/{,*/}*.html\',\n
\'<%= pkg.config.tmp %>/styles/{,*/}*.css\',\n
\'<%= pkg.config.site %>/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}\'\n
]\n
}\n
};\n
};\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>1347</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>watch.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>test</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>test</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272956.93</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>.jshintrc</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/octet-stream</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>{\n
"node": true,\n
"browser": true,\n
"esnext": true,\n
"bitwise": true,\n
"camelcase": true,\n
"curly": true,\n
"eqeqeq": true,\n
"immed": true,\n
"indent": 2,\n
"latedef": true,\n
"newcap": true,\n
"noarg": true,\n
"quotmark": "single",\n
"regexp": true,\n
"undef": true,\n
"unused": true,\n
"strict": true,\n
"trailing": true,\n
"smarttabs": true,\n
"globals": {\n
"after": false,\n
"afterEach": false,\n
"angular": false,\n
"before": false,\n
"beforeEach": false,\n
"browser": false,\n
"describe": false,\n
"expect": false,\n
"inject": false,\n
"it": false,\n
"jasmine": false,\n
"spyOn": false,\n
"$": false,\n
"Chartist": false\n
}\n
}\n
\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>670</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>.jshintrc</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272956.34</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>runner.html</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
<!doctype html>\n
<html lang="en">\n
<head>\n
<title>End2end Test Runner</title>\n
</head>\n
<body>\n
<header class="page-header">\n
<h1>Chartist.js\n
<small> Simple responsive charts</small>\n
</h1>\n
<div class="limiter">\n
<figure>\n
<svg id="chartist-guy"></svg>\n
</figure>\n
</div>\n
</header>\n
\n
<article class="main" role="main">\n
<section class="documentation-section">\n
<header>\n
<h2>Chart CSS animation example</h2>\n
</header>\n
<div class="content">\n
<div class="chart-container">\n
<svg id="chart"></svg>\n
</div>\n
</div>\n
<aside class="side-notes">\n
<p>Specifying the style of your chart in CSS is not only cleaner but also enables you to use awesome CSS\n
animations\n
and transitions to be applied to your SVG elements!</p>\n
</aside>\n
</section>\n
</article>\n
</body>\n
</html>
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>840</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>runner.html</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Folder" module="OFS.Folder"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>spec</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>spec</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272950.57</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>spec-bar-chart.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
describe(\'Bar chart tests\', function() {\n
\'use strict\';\n
\n
beforeEach(function() {\n
\n
});\n
\n
afterEach(function() {\n
\n
});\n
\n
describe(\'Meta data tests\', function () {\n
it(\'should render meta data correctly with mixed value array\', function(done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var meta = {\n
test: \'Serialized Test\'\n
};\n
\n
var data = {\n
labels: [\'Sun\', \'Mon\', \'Tue\', \'Wed\', \'Thu\'],\n
series: [\n
[5, 2, 4, {\n
value: 2,\n
meta: meta\n
}, 0]\n
]\n
};\n
\n
var chart = new Chartist.Bar(\'.ct-chart\', data);\n
\n
chart.on(\'created\', function() {\n
expect(Chartist.deserialize($(\'.ct-bar\').eq(3).attr(\'ct:meta\'))).toEqual(meta);\n
done();\n
});\n
});\n
\n
it(\'should render meta data correctly with mixed value array and different normalized data length\', function(done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var meta = {\n
test: \'Serialized Test\'\n
};\n
\n
var data = {\n
labels: [\'Sun\', \'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\', \'Sat\', \'Sun\'],\n
series: [\n
[5, 2, 4, {\n
value: 2,\n
meta: meta\n
}, 0]\n
]\n
};\n
\n
var chart = new Chartist.Bar(\'.ct-chart\', data);\n
\n
chart.on(\'created\', function() {\n
expect(Chartist.deserialize($(\'.ct-bar\').eq(3).attr(\'ct:meta\'))).toEqual(meta);\n
done();\n
});\n
});\n
\n
it(\'should render meta data correctly with mixed value array and mixed series notation\', function(done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var seriesMeta = 9999,\n
valueMeta = {\n
test: \'Serialized Test\'\n
};\n
\n
var data = {\n
labels: [\'Sun\', \'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\', \'Sat\', \'Sun\'],\n
series: [\n
[5, 2, 4, {\n
value: 2,\n
meta: valueMeta\n
}, 0],\n
{\n
meta: seriesMeta,\n
data: [5, 2, {\n
value: 2,\n
meta: valueMeta\n
}, 0]\n
}\n
]\n
};\n
\n
var chart = new Chartist.Bar(\'.ct-chart\', data);\n
\n
chart.on(\'created\', function() {\n
expect(Chartist.deserialize($(\'.ct-series-a .ct-bar\').eq(3).attr(\'ct:meta\'))).toEqual(valueMeta);\n
expect(Chartist.deserialize($(\'.ct-series-b\')).attr(\'ct:meta\')).toEqual(\'\'+seriesMeta);\n
expect(Chartist.deserialize($(\'.ct-series-b .ct-bar\').eq(2).attr(\'ct:meta\'))).toEqual(valueMeta);\n
done();\n
});\n
});\n
});\n
});\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>2618</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>spec-bar-chart.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272954.34</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>spec-base-chart.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
describe(\'Base chart tests\', function() {\n
\'use strict\';\n
\n
beforeEach(function() {\n
\n
});\n
\n
afterEach(function() {\n
\n
});\n
\n
it(\'should fire initial data event correctly\', function(done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4],\n
series: [[0, 1, 2, 3]]\n
});\n
\n
chart.on(\'data\', function(data) {\n
expect(data.type).toEqual(\'initial\');\n
expect(data.data.series[0]).toEqual([0, 1, 2, 3]);\n
done();\n
});\n
});\n
\n
it(\'should fire update data event correctly\', function(done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4],\n
series: [[0, 1, 2, 3]]\n
});\n
\n
chart.on(\'data\', function(data) {\n
if(data.type === \'update\') {\n
expect(data.data.series[0]).toEqual([3, 2, 1, 0]);\n
done();\n
}\n
});\n
\n
chart.update({\n
labels: [1, 2, 3, 4],\n
series: [[3, 2, 1, 0]]\n
});\n
});\n
\n
it(\'should transform data before rendering with data event\', function(done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4],\n
series: [[0, 1, 2, 3]]\n
});\n
\n
chart.on(\'data\', function(data) {\n
data.data.series[0] = data.data.series[0].reverse();\n
});\n
\n
chart.on(\'created\', function() {\n
expect(chart.data.series[0]).toEqual([3, 2, 1, 0]);\n
done();\n
});\n
});\n
\n
it(\'should update correctly with data only in same call stack\', function(done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var dataEventsSpy = jasmine.createSpy(\'dataEventSpy\');\n
\n
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4],\n
series: [[0, 1, 2, 3]]\n
});\n
\n
var updatedData = {\n
labels: [1, 2, 3, 4],\n
series: [[3, 2, 1, 0]]\n
};\n
\n
chart.update(updatedData);\n
\n
chart.on(\'data\', dataEventsSpy);\n
\n
chart.on(\'created\', function() {\n
expect(chart.data.series[0]).toEqual([3, 2, 1, 0]);\n
// As called in same call stack we should only have one data event (the initial one)\n
expect(dataEventsSpy.calls.count()).toBe(1);\n
expect(dataEventsSpy.calls.argsFor(0)[0].type).toBe(\'initial\');\n
done();\n
});\n
});\n
\n
it(\'should update correctly with data only in a different call stack\', function(done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var dataEventsSpy = jasmine.createSpy(\'dataEventSpy\');\n
\n
var createdCount = 0;\n
\n
var initialData = {\n
labels: [1, 2, 3, 4],\n
series: [[0, 1, 2, 3]]\n
};\n
\n
var updatedData = {\n
labels: [1, 2, 3, 4],\n
series: [[3, 2, 1, 0]]\n
};\n
\n
var chart = new Chartist.Line(\'.ct-chart\', initialData);\n
\n
setTimeout(function() {\n
chart.update(updatedData);\n
});\n
\n
chart.on(\'data\', dataEventsSpy);\n
\n
// On the second created event we will finish and evaluate the test\n
chart.on(\'created\', function() {\n
createdCount++;\n
\n
if(createdCount === 2) {\n
expect(chart.data.series[0]).toEqual([3, 2, 1, 0]);\n
// Called from a later call stack in the event loop, there should be two data update counts now\n
expect(dataEventsSpy.calls.count()).toBe(2);\n
expect(dataEventsSpy.calls.argsFor(0)[0].type).toBe(\'initial\');\n
expect(dataEventsSpy.calls.argsFor(0)[0].data).toEqual(initialData);\n
expect(dataEventsSpy.calls.argsFor(1)[0].type).toBe(\'update\');\n
expect(dataEventsSpy.calls.argsFor(1)[0].data).toEqual(updatedData);\n
done();\n
}\n
});\n
});\n
\n
it(\'should update correctly with options only in same call stack\', function(done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var dataEventsSpy = jasmine.createSpy(\'dataEventSpy\');\n
var optionsChangedEventsSpy = jasmine.createSpy(\'optionsChangedEventsSpy\');\n
\n
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4],\n
series: [[0, 1, 2, 3]]\n
}, {\n
showArea: true,\n
showPoint: false\n
});\n
\n
var updatedOptions = {\n
showArea: false,\n
showPoint: true\n
};\n
\n
chart.update(null, updatedOptions);\n
\n
chart.on(\'data\', dataEventsSpy);\n
chart.on(\'optionsChanged\', optionsChangedEventsSpy);\n
\n
chart.on(\'created\', function() {\n
// Data has not been updated and only initialized, therefore the initial type and only 1 call\n
expect(dataEventsSpy.calls.count()).toBe(1);\n
expect(dataEventsSpy.calls.argsFor(0)[0].type).toBe(\'initial\');\n
\n
// Options changed should not be fired as called in same call stack\n
expect(optionsChangedEventsSpy.calls.count()).toBe(0);\n
\n
// Updated options should be present as we updated it in same call stack before chart creation\n
expect(chart.optionsProvider.getCurrentOptions().showArea).toBe(false);\n
expect(chart.optionsProvider.getCurrentOptions().showPoint).toBe(true);\n
done();\n
});\n
});\n
\n
it(\'should update correctly with options only in a different call stack\', function(done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var createdCount = 0;\n
var dataEventsSpy = jasmine.createSpy(\'dataEventSpy\');\n
var optionsChangedEventsSpy = jasmine.createSpy(\'optionsChangedEventsSpy\');\n
\n
var initialData = {\n
labels: [1, 2, 3, 4],\n
series: [[0, 1, 2, 3]]\n
};\n
\n
var chart = new Chartist.Line(\'.ct-chart\', initialData, {\n
showArea: true,\n
showPoint: false\n
});\n
\n
var updatedOptions = {\n
showArea: false,\n
showPoint: true\n
};\n
\n
setTimeout(function() {\n
chart.update(null, updatedOptions);\n
});\n
\n
chart.on(\'data\', dataEventsSpy);\n
chart.on(\'optionsChanged\', optionsChangedEventsSpy);\n
\n
chart.on(\'created\', function() {\n
createdCount++;\n
\n
// On the second created event we will finish and evaluate the test\n
if(createdCount === 2) {\n
// Called from a later call stack in the event loop, there should be two data update counts now\n
expect(dataEventsSpy.calls.count()).toBe(1);\n
expect(dataEventsSpy.calls.argsFor(0)[0].type).toBe(\'initial\');\n
expect(dataEventsSpy.calls.argsFor(0)[0].data).toEqual(initialData);\n
\n
// Update should not cause any optionsChanged event\n
expect(optionsChangedEventsSpy.calls.count()).toBe(0);\n
\n
done();\n
}\n
});\n
});\n
\n
it(\'should update options with override=false correctly\', function(done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4],\n
series: [[0, 1, 2, 3]]\n
}, {\n
showArea: true\n
});\n
\n
var updatedOptions = {\n
showPoint: false\n
};\n
\n
// With override set to true, the previous option showArea=true should still be available on chart creation\n
chart.update(null, updatedOptions);\n
\n
chart.on(\'created\', function() {\n
// showArea is false in the default settings and as we didn\'t use current options and override option it should\n
// be back to default.\n
expect(chart.optionsProvider.getCurrentOptions().showArea).toBe(false);\n
expect(chart.optionsProvider.getCurrentOptions().showPoint).toBe(false);\n
done();\n
});\n
});\n
\n
it(\'should update options with override=true correctly\', function(done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4],\n
series: [[0, 1, 2, 3]]\n
}, {\n
showArea: true\n
});\n
\n
var updatedOptions = {\n
showPoint: false\n
};\n
\n
// With override set to true, the previous option showArea=true should still be available on chart creation\n
chart.update(null, updatedOptions, true);\n
\n
chart.on(\'created\', function() {\n
expect(chart.optionsProvider.getCurrentOptions().showArea).toBe(true);\n
expect(chart.optionsProvider.getCurrentOptions().showPoint).toBe(false);\n
done();\n
});\n
});\n
});\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>8179</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>spec-base-chart.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272952.33</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>spec-core.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
describe(\'Chartist core\', function() {\n
\'use strict\';\n
\n
beforeEach(function() {\n
\n
});\n
\n
afterEach(function() {\n
\n
});\n
\n
describe(\'createSvg tests\', function () {\n
it(\'should not remove non-chartist svg elements\', function() {\n
jasmine.getFixtures().set(\'<div id="chart-container"><svg id="foo"></svg><div><svg id="bar"></svg></div></div>\');\n
\n
var container = $(\'#chart-container\'),\n
// We use get(0) because we want the DOMElement, not the jQuery object.\n
svg = Chartist.createSvg(container.get(0), \'500px\', \'400px\', \'ct-fish-bar\');\n
\n
expect(svg).toBeDefined();\n
expect(svg.classes()).toContain(\'ct-fish-bar\');\n
expect(container).toContainElement(\'#foo\');\n
expect(container).toContainElement(\'#bar\');\n
});\n
\n
it(\'should remove previous chartist svg elements\', function() {\n
jasmine.getFixtures().set(\'<div id="chart-container"></div>\');\n
\n
var container = $(\'#chart-container\'),\n
// We use get(0) because we want the DOMElement, not the jQuery object.\n
svg1 = Chartist.createSvg(container.get(0), \'500px\', \'400px\', \'ct-fish-bar\'),\n
svg2 = Chartist.createSvg(container.get(0), \'800px\', \'200px\', \'ct-snake-bar\');\n
\n
expect(svg1).toBeDefined();\n
expect(svg1.classes()).toContain(\'ct-fish-bar\');\n
expect(svg2).toBeDefined();\n
expect(svg2.classes()).toContain(\'ct-snake-bar\');\n
expect(container).not.toContainElement(\'.ct-fish-bar\');\n
expect(container).toContainElement(\'.ct-snake-bar\');\n
});\n
});\n
\n
describe(\'serialization tests\', function () {\n
it(\'should serialize and deserialize regular strings\', function() {\n
var input = \'String test\';\n
expect(input).toMatch(Chartist.deserialize(Chartist.serialize(input)));\n
});\n
\n
it(\'should serialize and deserialize strings with critical characters\', function() {\n
var input = \'String test with critical characters " < > \\\' & &amp;\';\n
expect(input).toMatch(Chartist.deserialize(Chartist.serialize(input)));\n
});\n
\n
it(\'should serialize and deserialize numbers\', function() {\n
var input = 12345.6789;\n
expect(input).toEqual(Chartist.deserialize(Chartist.serialize(input)));\n
});\n
\n
it(\'should serialize and deserialize dates\', function() {\n
var input = new Date(0);\n
expect(+input).toEqual(+new Date(Chartist.deserialize(Chartist.serialize(input))));\n
});\n
\n
it(\'should serialize and deserialize complex object types\', function() {\n
var input = {\n
a: {\n
b: 100,\n
c: \'String test\',\n
d: \'String test with critical characters " < > \\\' & &amp;\',\n
e: {\n
f: \'String test\'\n
}\n
}\n
};\n
\n
expect(input).toEqual(Chartist.deserialize(Chartist.serialize(input)));\n
});\n
\n
it(\'should serialize and deserialize null, undefined and NaN\', function() {\n
expect(null).toEqual(Chartist.deserialize(Chartist.serialize(null)));\n
expect(undefined).toEqual(Chartist.deserialize(Chartist.serialize(undefined)));\n
expect(NaN).toMatch(Chartist.deserialize(Chartist.serialize(\'NaN\')));\n
});\n
});\n
\n
describe(\'data normalization tests\', function () {\n
\n
it(\'normalize mixed series types correctly\', function() {\n
var data = {\n
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n
series: [\n
{data: [1, 0, 3, 4, 5, 6]},\n
[1, {value: 0}, 3, {value: 4}, 5, 6, 7, 8],\n
{data: [1, 0, {value: 3}]}\n
]\n
};\n
\n
expect(Chartist.getDataArray(data)).toEqual(\n
[\n
[1, 0, 3, 4, 5, 6],\n
[1, 0, 3, 4, 5, 6, 7, 8],\n
[1, 0, 3]\n
]\n
);\n
});\n
\n
it(\'normalize mixed series for pie chart correctly\', function() {\n
var data = {\n
series: [1, {value: 0}, 3, {value: 4}, 5, 6, 7, 8]\n
};\n
\n
expect(Chartist.getDataArray(data)).toEqual(\n
[1, 0, 3, 4, 5, 6, 7, 8]\n
);\n
});\n
\n
it(\'normalize mixed series with string values for pie chart correctly\', function() {\n
var data = {\n
series: [\'1\', {value: \'0\'}, \'3\', {value: \'4\'}, \'5\', \'6\', \'7\', \'8\']\n
};\n
\n
expect(Chartist.getDataArray(data)).toEqual(\n
[1, 0, 3, 4, 5, 6, 7, 8]\n
);\n
});\n
\n
it(\'normalize mixed series types with string values correctly\', function() {\n
var data = {\n
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n
series: [\n
{data: [\'1\', \'0\', \'3\', \'4\', \'5\', \'6\']},\n
[\'1\', {value: \'0\'}, \'3\', {value: \'4\'}, \'5\', \'6\', \'7\', \'8\'],\n
{data: [\'1\', \'0\', {value: \'3\'}]}\n
]\n
};\n
\n
expect(Chartist.getDataArray(data)).toEqual(\n
[\n
[1, 0, 3, 4, 5, 6],\n
[1, 0, 3, 4, 5, 6, 7, 8],\n
[1, 0, 3]\n
]\n
);\n
});\n
\n
it(\'normalize mixed series types with weird values correctly\', function() {\n
var data = {\n
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n
series: [\n
{data: [null, NaN, undefined, \'4\', \'5\', \'6\']},\n
[\'1\', {value: null}, \'3\', {value: NaN}, \'5\', \'6\', \'7\', \'8\'],\n
{data: [\'1\', \'0\', {value: undefined}]}\n
]\n
};\n
\n
expect(Chartist.getDataArray(data)).toEqual(\n
[\n
[undefined, undefined, undefined, 4, 5, 6],\n
[1, undefined, 3, undefined, 5, 6, 7, 8],\n
[1, 0, undefined]\n
]\n
);\n
});\n
\n
it(\'should normalize correctly with 0 values in data series array objects\', function() {\n
var data = {\n
labels: [\'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\'],\n
series: [{\n
data: [\n
{ value: 1 },\n
{ value: 4 },\n
{ value: 2 },\n
{ value: 7 },\n
{ value: 2 },\n
{ value: 0 }\n
]\n
}]\n
};\n
\n
expect(Chartist.getDataArray(data)).toEqual(\n
[[1, 4, 2, 7, 2, 0]]\n
);\n
});\n
\n
it(\'should normalize correctly with mixed dimensional input into multi dimensional output\', function() {\n
var data = {\n
labels: [\'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\'],\n
series: [{\n
data: [\n
{ value: 1 },\n
{ value: {y: 4, x: 1}},\n
{ y: 2, x: 2},\n
NaN,\n
null,\n
{ value: 7 },\n
{ value: 2 },\n
{ value: null },\n
{ y: undefined, x: NaN }\n
]\n
}]\n
};\n
\n
expect(Chartist.getDataArray(data, false, true)).toEqual(\n
[[\n
{x: undefined, y: 1},\n
{x: 1, y: 4},\n
{x: 2, y: 2},\n
undefined,\n
undefined,\n
{x: undefined, y: 7},\n
{x: undefined, y: 2},\n
undefined,\n
{x: undefined, y: undefined}\n
]]\n
);\n
});\n
});\n
\n
describe(\'padding normalization tests\', function () {\n
it(\'should normalize number padding\', function() {\n
expect(Chartist.normalizePadding(10)).toEqual({\n
top: 10,\n
right: 10,\n
bottom: 10,\n
left: 10\n
});\n
});\n
\n
it(\'should normalize number padding when 0 is passed\', function() {\n
expect(Chartist.normalizePadding(0)).toEqual({\n
top: 0,\n
right: 0,\n
bottom: 0,\n
left: 0\n
});\n
});\n
\n
it(\'should normalize empty padding object with default fallback\', function() {\n
expect(Chartist.normalizePadding({})).toEqual({\n
top: 0,\n
right: 0,\n
bottom: 0,\n
left: 0\n
});\n
});\n
\n
it(\'should normalize empty padding object with specified fallback\', function() {\n
expect(Chartist.normalizePadding({}, 10)).toEqual({\n
top: 10,\n
right: 10,\n
bottom: 10,\n
left: 10\n
});\n
});\n
\n
it(\'should normalize partial padding object with specified fallback\', function() {\n
expect(Chartist.normalizePadding({\n
top: 5,\n
left: 5\n
}, 10)).toEqual({\n
top: 5,\n
right: 10,\n
bottom: 10,\n
left: 5\n
});\n
});\n
\n
it(\'should not modify complete padding object\', function() {\n
expect(Chartist.normalizePadding({\n
top: 5,\n
right: 5,\n
bottom: 5,\n
left: 5\n
}, 10)).toEqual({\n
top: 5,\n
right: 5,\n
bottom: 5,\n
left: 5\n
});\n
});\n
});\n
});\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>8129</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>spec-core.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272949.93</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>spec-line-chart.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
describe(\'Line chart tests\', function () {\n
\'use strict\';\n
\n
beforeEach(function () {\n
\n
});\n
\n
afterEach(function () {\n
\n
});\n
\n
describe(\'Meta data tests\', function () {\n
it(\'should render meta data correctly with mixed value array\', function (done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var meta = {\n
test: \'Serialized Test\'\n
};\n
\n
var data = {\n
labels: [\'Sun\', \'Mon\', \'Tue\', \'Wed\', \'Thu\'],\n
series: [\n
[5, 2, 4, {\n
value: 2,\n
meta: meta\n
}, 0]\n
]\n
};\n
\n
var chart = new Chartist.Line(\'.ct-chart\', data);\n
\n
chart.on(\'created\', function () {\n
expect(Chartist.deserialize($(\'.ct-point\').eq(3).attr(\'ct:meta\'))).toEqual(meta);\n
done();\n
});\n
});\n
\n
it(\'should render meta data correctly with mixed value array and different normalized data length\', function (done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var meta = {\n
test: \'Serialized Test\'\n
};\n
\n
var data = {\n
labels: [\'Sun\', \'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\', \'Sat\', \'Sun\'],\n
series: [\n
[5, 2, 4, {\n
value: 2,\n
meta: meta\n
}, 0]\n
]\n
};\n
\n
var chart = new Chartist.Line(\'.ct-chart\', data);\n
\n
chart.on(\'created\', function () {\n
expect(Chartist.deserialize($(\'.ct-point\').eq(3).attr(\'ct:meta\'))).toEqual(meta);\n
done();\n
});\n
});\n
\n
it(\'should render meta data correctly with mixed value array and mixed series notation\', function (done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var seriesMeta = 9999,\n
valueMeta = {\n
test: \'Serialized Test\'\n
};\n
\n
var data = {\n
labels: [\'Sun\', \'Mon\', \'Tue\', \'Wed\', \'Thu\', \'Fri\', \'Sat\', \'Sun\'],\n
series: [\n
[5, 2, 4, {\n
value: 2,\n
meta: valueMeta\n
}, 0],\n
{\n
meta: seriesMeta,\n
data: [5, 2, {\n
value: 2,\n
meta: valueMeta\n
}, 0]\n
}\n
]\n
};\n
\n
var chart = new Chartist.Line(\'.ct-chart\', data);\n
\n
chart.on(\'created\', function () {\n
expect(Chartist.deserialize($(\'.ct-series-a .ct-point\').eq(3).attr(\'ct:meta\'))).toEqual(valueMeta);\n
expect(Chartist.deserialize($(\'.ct-series-b\')).attr(\'ct:meta\')).toEqual(\'\' + seriesMeta);\n
expect(Chartist.deserialize($(\'.ct-series-b .ct-point\').eq(2).attr(\'ct:meta\'))).toEqual(valueMeta);\n
done();\n
});\n
});\n
});\n
\n
describe(\'Line charts with holes\', function () {\n
it(\'should render correctly with Interpolation.none and holes everywhere\', function (done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n
series: [\n
[NaN, 15, 0, null, 2, 3, 4, undefined, {value: 1, meta: \'meta data\'}, null]\n
]\n
}, {\n
lineSmooth: false\n
});\n
\n
chart.on(\'draw\', function (context) {\n
if (context.type === \'line\') {\n
expect(context.path.pathElements.map(function (pathElement) {\n
return {\n
command: pathElement.command,\n
data: pathElement.data\n
};\n
})).toEqual([\n
{command: \'M\', data: {valueIndex: 1, value: {x: undefined, y: 15}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 2, value: {x: undefined, y: 0}, meta: undefined}},\n
{command: \'M\', data: {valueIndex: 4, value: {x: undefined, y: 2}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 5, value: {x: undefined, y: 3}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 6, value: {x: undefined, y: 4}, meta: undefined}},\n
{command: \'M\', data: {valueIndex: 8, value: {x: undefined, y: 1}, meta: \'meta data\'}}\n
]);\n
done();\n
}\n
});\n
});\n
\n
it(\'should render correctly with Interpolation.cardinal and holes everywhere\', function (done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n
series: [\n
[NaN, 15, 0, null, 2, 3, 4, undefined, {value: 1, meta: \'meta data\'}, null]\n
]\n
}, {\n
lineSmooth: true\n
});\n
\n
chart.on(\'draw\', function (context) {\n
if (context.type === \'line\') {\n
expect(context.path.pathElements.map(function (pathElement) {\n
return {\n
command: pathElement.command,\n
data: pathElement.data\n
};\n
})).toEqual([\n
{command: \'M\', data: {valueIndex: 1, value: {x: undefined, y: 15}, meta: undefined}},\n
// Cardinal should create Line path segment if only one connection\n
{command: \'L\', data: {valueIndex: 2, value: {x: undefined, y: 0}, meta: undefined}},\n
{command: \'M\', data: {valueIndex: 4, value: {x: undefined, y: 2}, meta: undefined}},\n
// Cardinal should create Curve path segment for 2 or more connections\n
{command: \'C\', data: {valueIndex: 5, value: {x: undefined, y: 3}, meta: undefined}},\n
{command: \'C\', data: {valueIndex: 6, value: {x: undefined, y: 4}, meta: undefined}},\n
{command: \'M\', data: {valueIndex: 8, value: {x: undefined, y: 1}, meta: \'meta data\'}}\n
]);\n
done();\n
}\n
});\n
});\n
\n
it(\'should render correctly with Interpolation.simple and holes everywhere\', function (done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n
series: [\n
[NaN, 15, 0, null, 2, 3, 4, undefined, {value: 1, meta: \'meta data\'}, null]\n
]\n
}, {\n
lineSmooth: Chartist.Interpolation.simple()\n
});\n
\n
chart.on(\'draw\', function (context) {\n
if (context.type === \'line\') {\n
expect(context.path.pathElements.map(function (pathElement) {\n
return {\n
command: pathElement.command,\n
data: pathElement.data\n
};\n
})).toEqual([\n
{command: \'M\', data: {valueIndex: 1, value: {x: undefined, y: 15}, meta: undefined}},\n
{command: \'C\', data: {valueIndex: 2, value: {x: undefined, y: 0}, meta: undefined}},\n
{command: \'M\', data: {valueIndex: 4, value: {x: undefined, y: 2}, meta: undefined}},\n
{command: \'C\', data: {valueIndex: 5, value: {x: undefined, y: 3}, meta: undefined}},\n
{command: \'C\', data: {valueIndex: 6, value: {x: undefined, y: 4}, meta: undefined}},\n
{command: \'M\', data: {valueIndex: 8, value: {x: undefined, y: 1}, meta: \'meta data\'}}\n
]);\n
done();\n
}\n
});\n
});\n
\n
it(\'should render correctly with postponed Interpolation.step and holes everywhere\', function (done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n
series: [\n
[NaN, 15, 0, null, 2, 3, 4, undefined, {value: 1, meta: \'meta data\'}, null]\n
]\n
}, {\n
lineSmooth: Chartist.Interpolation.step()\n
});\n
\n
chart.on(\'draw\', function (context) {\n
if (context.type === \'line\') {\n
expect(context.path.pathElements.map(function (pathElement) {\n
return {\n
command: pathElement.command,\n
data: pathElement.data\n
};\n
})).toEqual([\n
{command: \'M\', data: {valueIndex: 1, value: {x: undefined, y: 15}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 1, value: {x: undefined, y: 15}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 2, value: {x: undefined, y: 0}, meta: undefined}},\n
{command: \'M\', data: {valueIndex: 4, value: {x: undefined, y: 2}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 4, value: {x: undefined, y: 2}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 5, value: {x: undefined, y: 3}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 5, value: {x: undefined, y: 3}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 6, value: {x: undefined, y: 4}, meta: undefined}},\n
{command: \'M\', data: {valueIndex: 8, value: {x: undefined, y: 1}, meta: \'meta data\'}}\n
]);\n
done();\n
}\n
});\n
});\n
\n
it(\'should render correctly with preponed Interpolation.step and holes everywhere\', function (done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var chart = new Chartist.Line(\'.ct-chart\', {\n
labels: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],\n
series: [\n
[NaN, 15, 0, null, 2, 3, 4, undefined, {value: 1, meta: \'meta data\'}, null]\n
]\n
}, {\n
lineSmooth: Chartist.Interpolation.step({\n
postpone: false\n
})\n
});\n
\n
chart.on(\'draw\', function (context) {\n
if (context.type === \'line\') {\n
expect(context.path.pathElements.map(function (pathElement) {\n
return {\n
command: pathElement.command,\n
data: pathElement.data\n
};\n
})).toEqual([\n
{command: \'M\', data: {valueIndex: 1, value: {x: undefined, y: 15}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 2, value: {x: undefined, y: 0}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 2, value: {x: undefined, y: 0}, meta: undefined}},\n
{command: \'M\', data: {valueIndex: 4, value: {x: undefined, y: 2}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 5, value: {x: undefined, y: 3}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 5, value: {x: undefined, y: 3}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 6, value: {x: undefined, y: 4}, meta: undefined}},\n
{command: \'L\', data: {valueIndex: 6, value: {x: undefined, y: 4}, meta: undefined}},\n
{command: \'M\', data: {valueIndex: 8, value: {x: undefined, y: 1}, meta: \'meta data\'}}\n
]);\n
done();\n
}\n
});\n
});\n
});\n
});\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>10498</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>spec-line-chart.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272954.94</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>spec-pie-chart.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
describe(\'Pie chart tests\', function() {\n
\'use strict\';\n
\n
beforeEach(function() {\n
\n
});\n
\n
afterEach(function() {\n
\n
});\n
\n
describe(\'Meta data tests\', function() {\n
it(\'should render meta data correctly on slice with mixed value array\', function (done) {\n
jasmine.getFixtures().set(\'<div class="ct-chart ct-golden-section"></div>\');\n
\n
var meta = {\n
test: \'Serialized Test\'\n
};\n
\n
var data = {\n
labels: [\'A\', \'B\', \'C\'],\n
series: [5, {\n
value: 8,\n
meta: meta\n
}, 1]\n
};\n
\n
var chart = new Chartist.Pie(\'.ct-chart\', data);\n
\n
chart.on(\'created\', function() {\n
expect(Chartist.deserialize($(\'.ct-slice-pie\').eq(1).attr(\'ct:meta\'))).toEqual(meta);\n
done();\n
});\n
});\n
});\n
});\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>779</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>spec-pie-chart.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="File" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts41272953.51</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>spec-svg.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
//TODO: Add tests!\n
describe(\'Chartist SVG\', function () {\n
\'use strict\';\n
\n
beforeEach(function () {\n
\n
});\n
\n
afterEach(function () {\n
\n
});\n
\n
it(\'should exist in global namespace\', function () {\n
expect(window.Chartist.Svg).toBeDefined();\n
});\n
\n
it(\'should create a valid svg dom element\', function () {\n
var svg = new window.Chartist.Svg(\'svg\');\n
\n
expect(svg).toBeDefined();\n
expect(svg._node).toBeDefined();\n
expect(svg._node.nodeName.toLowerCase()).toBe(\'svg\');\n
});\n
\n
it(\'should create a valid svg dom element with attributes\', function () {\n
var svg = new window.Chartist.Svg(\'svg\', {\n
width: \'100%\',\n
height: \'100%\'\n
});\n
\n
expect(svg).toBeDefined();\n
expect(svg._node).toBeDefined();\n
expect(svg._node.nodeName.toLowerCase()).toBe(\'svg\');\n
expect(svg._node.attributes.width.textContent).toBe(\'100%\');\n
expect(svg._node.attributes.height.textContent).toBe(\'100%\');\n
});\n
\n
it(\'should create nested objects with attributes\', function () {\n
var svg = new window.Chartist.Svg(\'svg\');\n
svg.elem(\'g\').elem(\'g\').elem(\'circle\', {\n
cx: 100,\n
cy: 100,\n
r: 10\n
});\n
\n
expect(svg._node).toBeDefined();\n
expect(svg._node.firstChild.firstChild.firstChild).toBeDefined();\n
expect(svg._node.firstChild.firstChild.firstChild.attributes.cx.textContent).toBe(\'100\');\n
expect(svg._node.firstChild.firstChild.firstChild.attributes.cy.textContent).toBe(\'100\');\n
expect(svg._node.firstChild.firstChild.firstChild.attributes.r.textContent).toBe(\'10\');\n
});\n
\n
it(\'should allow to set attributes manually\', function () {\n
var svg = new window.Chartist.Svg(\'svg\');\n
svg.elem(\'circle\').attr({\n
cx: 100,\n
cy: 100,\n
r: 10\n
});\n
\n
expect(svg._node).toBeDefined();\n
expect(svg._node.firstChild).toBeDefined();\n
expect(svg._node.firstChild.attributes.cx.textContent).toBe(\'100\');\n
expect(svg._node.firstChild.attributes.cy.textContent).toBe(\'100\');\n
expect(svg._node.firstChild.attributes.r.textContent).toBe(\'10\');\n
});\n
\n
it(\'should clear on each nesting level\', function () {\n
var svg = new window.Chartist.Svg(\'svg\');\n
var group = svg.elem(\'g\');\n
group.elem(\'circle\');\n
group.elem(\'circle\');\n
group.elem(\'circle\');\n
\n
expect(svg._node).toBeDefined();\n
expect(svg._node.firstChild.childNodes.length).toBe(3);\n
\n
group.empty();\n
expect(svg._node.firstChild.childNodes.length).toBe(0);\n
\n
svg.empty();\n
expect(svg._node.firstChild).toBeNull();\n
});\n
\n
it(\'should allow to remove a certain element\', function () {\n
var svg = new window.Chartist.Svg(\'svg\');\n
var text = svg.elem(\'text\');\n
\n
expect(svg._node).toBeDefined();\n
expect(svg._node.childNodes.length).toBe(1);\n
expect(svg._node.firstChild.nodeName.toLowerCase()).toBe(\'text\');\n
\n
text.remove();\n
expect(svg._node.childNodes.length).toBe(0);\n
});\n
\n
it(\'should allow to write text content into elements\', function () {\n
var svg = new window.Chartist.Svg(\'svg\');\n
svg.elem(\'text\').text(\'Hello World\');\n
\n
expect(svg._node).toBeDefined();\n
expect(svg._node.childNodes.length).toBe(1);\n
expect(svg._node.firstChild.nodeName.toLowerCase()).toBe(\'text\');\n
expect(svg._node.firstChild.firstChild.nodeType).toBe(3);\n
expect(svg._node.firstChild.firstChild.textContent).toBe(\'Hello World\');\n
});\n
\n
it(\'should allow to add and remove classes on elements\', function () {\n
var svg = new window.Chartist.Svg(\'svg\')\n
.addClass(\'test-class-1\')\n
.addClass(\'test-class-2\')\n
// Should not allow duplicates\n
.addClass(\'test-class-2\')\n
// Should allow multiple classes with white spaces\n
.addClass(\'test-class-3 test-class-4\');\n
\n
expect(svg._node).toBeDefined();\n
expect(svg._node.getAttribute(\'class\').split(\' \')).toEqual([\n
\'test-class-1\',\n
\'test-class-2\',\n
\'test-class-3\',\n
\'test-class-4\'\n
]);\n
\n
svg.removeClass(\'test-class-1\');\n
// Should allow multiple classes with whitespaces\n
svg.removeClass(\'test-class-2 test-class-3\');\n
\n
expect(svg._node.getAttribute(\'class\')).toBe(\'test-class-4\');\n
});\n
\n
it(\'should allow to travers up in the fluent API chain and set attributes on the way\', function () {\n
var svg = new window.Chartist.Svg(\'svg\');\n
svg.elem(\'g\').elem(\'g\').elem(\'g\').elem(\'circle\')\n
.parent().attr({\n
transform: \'rotate(10 10 10)\'\n
})\n
.parent().attr({\n
transform: \'rotate(20 20 20)\'\n
})\n
.parent().attr({\n
transform: \'rotate(30 30 30)\'\n
})\n
.parent().attr({\n
width: \'100%\',\n
height: \'100%\'\n
});\n
\n
expect(svg._node).toBeDefined();\n
expect(svg._node.attributes.width.textContent).toBe(\'100%\');\n
expect(svg._node.attributes.height.textContent).toBe(\'100%\');\n
\n
expect(svg._node.firstChild).toBeDefined();\n
expect(svg._node.firstChild.attributes.transform.textContent).toBe(\'rotate(30 30 30)\');\n
\n
expect(svg._node.firstChild.firstChild).toBeDefined();\n
expect(svg._node.firstChild.firstChild.attributes.transform.textContent).toBe(\'rotate(20 20 20)\');\n
\n
expect(svg._node.firstChild.firstChild.firstChild).toBeDefined();\n
expect(svg._node.firstChild.firstChild.firstChild.attributes.transform.textContent).toBe(\'rotate(10 10 10)\');\n
});\n
\n
describe(\'path tests\', function () {\n
it(\'should handle position updates correctly\', function () {\n
var path = new Chartist.Svg.Path();\n
expect(path.position()).toBe(0);\n
expect(path.position(100).position()).toBe(0);\n
expect(path.position(-1).position()).toBe(0);\n
\n
path.pathElements = [1, 2, 3];\n
expect(path.position(100).position()).toBe(3);\n
});\n
\n
it(\'should add absolute and relative path elements correctly\', function () {\n
var path = new Chartist.Svg.Path()\n
.move(1, 2)\n
.move(3, 4, true)\n
.line(5, 6)\n
.line(7, 8, true)\n
.curve(9, 10, 11, 12, 13, 14)\n
.curve(15, 16, 17, 18, 19, 20, true);\n
\n
expect(path.pathElements.length).toBe(6);\n
expect(path.pathElements).toEqual([\n
{ command: \'M\', x: 1, y: 2 },\n
{ command: \'m\', x: 3, y: 4 },\n
{ command: \'L\', x: 5, y: 6 },\n
{ command: \'l\', x: 7, y: 8 },\n
{ command: \'C\', x1: 9, y1: 10, x2: 11, y2: 12, x: 13, y: 14 },\n
{ command: \'c\', x1: 15, y1: 16, x2: 17, y2: 18, x: 19, y: 20 }\n
]);\n
});\n
\n
it(\'should insert new elements at correct position\', function () {\n
var path = new Chartist.Svg.Path()\n
.move(1, 2)\n
.move(7, 8)\n
.move(9, 10)\n
.position(1)\n
.move(3, 4)\n
.move(5, 6)\n
.position(100000)\n
.move(11, 12)\n
.position(-100000)\n
.move(-1, 0);\n
\n
expect(path.pathElements.length).toBe(7);\n
expect(path.pathElements).toEqual([\n
{ command: \'M\', x: -1, y: 0 },\n
{ command: \'M\', x: 1, y: 2 },\n
{ command: \'M\', x: 3, y: 4 },\n
{ command: \'M\', x: 5, y: 6 },\n
{ command: \'M\', x: 7, y: 8 },\n
{ command: \'M\', x: 9, y: 10 },\n
{ command: \'M\', x: 11, y: 12 }\n
]);\n
});\n
\n
it(\'should stringify simple shape correctly\', function () {\n
var path = new Chartist.Svg.Path(true).move(10, 10).line(10, 100).line(100, 100).line(100, 10);\n
expect(path.stringify()).toEqual(\'M10,10L10,100L100,100L100,10Z\');\n
});\n
\n
it(\'should stringify with configured precision\', function () {\n
var path = new Chartist.Svg.Path(false, {\n
accuracy: 2\n
}).move(10.12345, 10.14345).line(10.14545, 10).line(10.14000000645, 10.3333333333);\n
expect(path.stringify()).toEqual(\'M10.12,10.14L10.15,10L10.14,10.33\');\n
});\n
\n
it(\'should parse Chartist SVG path style correctly\', function () {\n
var path = new Chartist.Svg.Path().parse(\'M10,10L10,100L100,100L100,10\');\n
expect(path.stringify()).toEqual(\'M10,10L10,100L100,100L100,10\');\n
});\n
\n
it(\'should parse MDN SVG path style correctly\', function () {\n
var path = new Chartist.Svg.Path().parse(\'M10 10 L 10 100 L 100 100 L 100 10 C 1 1, 1 1, 1 1\');\n
expect(path.stringify()).toEqual(\'M10,10L10,100L100,100L100,10C1,1,1,1,1,1\');\n
});\n
\n
it(\'should parse path with closing command\', function () {\n
var path = new Chartist.Svg.Path().parse(\'M10 10 L 10 100 L 100 100 L 100 10 C 1 1, 1 1, 1 1 Z\');\n
expect(path.stringify()).toEqual(\'M10,10L10,100L100,100L100,10C1,1,1,1,1,1\');\n
});\n
\n
it(\'should parse complex path correctly\', function () {\n
var path = new Chartist.Svg.Path(false, {\n
accuracy: false\n
}).parse(\'M7.566371681415929,313.5870318472049L15.132743362831858,322.1479887268699L22.699115044247787,292.49058976570063L30.265486725663717,284.9469379116152L37.83185840707964,277.62070141556273L45.39823008849557,285.4043086222666L52.9646017699115,295.16905806058617L60.530973451327434,288.5395967440654L68.09734513274336,282.3023155078293L75.66371681415929,276.9420221519757L83.23008849557522,271.31296300227655L90.79646017699115,273.1827546735411L98.36283185840708,282.72148250847295L105.929203539823,276.55760703185683L113.49557522123892,278.16318930715545L121.06194690265487,279.67913384762466L128.6283185840708,296.53529757775897L136.1946902654867,324.4003397770142L143.76106194690263,317.1376004332516L151.32743362831857,323.3390406432677L158.89380530973452,328.5597479599146L166.46017699115043,329.67851354926904L174.02654867256635,327.71837583373326L181.5929203539823,335.05972598190976L189.15929203539824,334.29372633331286L196.72566371681415,332.68724934321176L204.29203539823007,330.6752327006325L211.858407079646,325.971917329413L219.42477876106196,328.13057177790404L226.99115044247785,309.6546479835954L234.5575221238938,310.6637826993739L242.12389380530973,310.65221523366176L249.69026548672568,318.40285733188773L257.2566371681416,298.18154267575227L264.8230088495575,307.4788389000347L272.3893805309734,304.189264255087L279.95575221238937,289.0288876874009L287.52212389380526,300.20654714775424L295.0884955752212,298.0164127652739L302.65486725663715,287.69192345832175L310.2212389380531,293.1860711045035L317.78761061946904,300.4760502113585L325.3539823008849,297.94852206276937L332.92035398230087,305.6594311405378L340.4867256637168,306.7859423144216L348.0530973451327,275.68998851331963L355.61946902654864,286.5550640745874L363.1858407079646,288.4952543187362L370.75221238938053,290.1896066608983L378.3185840707965,277.8447927515142L385.88495575221236,282.46018876596827L393.4513274336283,261.617847596371L401.01769911504425,265.06101027918726L408.58407079646014,264.60492966286677L416.1504424778761,252.35288845280365L423.716814159292,239.29220756750195L431.283185840708,229.73170018586225L438.8495575221239,224.1580859168795L446.41592920353986,217.20551113129414L453.9823008849557,212.63435660265037L461.54867256637164,210.4425212857057L469.1150442477876,201.0077146146342L476.6814159292035,182.3934004122068L484.24778761061947,176.98732946386616L491.8141592920354,175.3660655079267L499.38053097345136,181.1589144624976L506.9469026548673,172.81581557677976L514.5132743362832,177.82343674256106L522.079646017699,183.5573714672562L529.646017699115,184.4980688436067L537.2123893805309,201.60789339862924L544.7787610619469,193.42268767053048L552.3451327433628,209.9219909677575L559.9115044247787,221.1318944868172L567.4778761061947,222.47350026973174L575.0442477876105,229.94061399967882L582.6106194690265,213.57676800697396L590.1769911504424,232.97280246785252L597.7433628318583,232.8915724787845L605.3097345132743,231.486089735319L612.8761061946902,234.26534000120475L620.4424778761062,219.90951817170736L628.0088495575221,214.36149678900725L635.5752212389381,204.7245641444236L643.1415929203539,205.04759319834227L650.7079646017698,178.61624621480792L658.2743362831858,174.30656351022486L665.8407079646017,194.06864637030463L673.4070796460177,191.38404795482728L680.9734513274336,188.88380371217903L688.5398230088496,182.47430260433697L696.1061946902654,192.70175438596493L703.6725663716813,182.37945067166908L711.2389380530973,163.80499447227572L718.8053097345132,157.4839718811134L726.3716814159292,149.57403342725343L733.9380530973451,142.6076734278762L741.5044247787611,144.9954413314636L749.070796460177,152.29112878815386L756.637168141593,150.02544379977235L764.2035398230088,139.40203164917125L771.7699115044247,149.22935357717972L779.3362831858407,155.78116263659354L786.9026548672566,145.09966219897575L794.4690265486726,157.52407467202426L802.0353982300885,147.01645902195105L809.6017699115044,141.8658056183404L817.1681415929203,134.36135158737966L824.7345132743362,127.49269525433283L832.3008849557522,120.25886939571154L839.8672566371681,118.26230310074709L847.433628318584,98.76959064327474\');\n
expect(path.stringify()).toEqual(\'M7.566371681415929,313.5870318472049L15.132743362831858,322.1479887268699L22.699115044247787,292.49058976570063L30.265486725663717,284.9469379116152L37.83185840707964,277.62070141556273L45.39823008849557,285.4043086222666L52.9646017699115,295.16905806058617L60.530973451327434,288.5395967440654L68.09734513274336,282.3023155078293L75.66371681415929,276.9420221519757L83.23008849557522,271.31296300227655L90.79646017699115,273.1827546735411L98.36283185840708,282.72148250847295L105.929203539823,276.55760703185683L113.49557522123892,278.16318930715545L121.06194690265487,279.67913384762466L128.6283185840708,296.53529757775897L136.1946902654867,324.4003397770142L143.76106194690263,317.1376004332516L151.32743362831857,323.3390406432677L158.89380530973452,328.5597479599146L166.46017699115043,329.67851354926904L174.02654867256635,327.71837583373326L181.5929203539823,335.05972598190976L189.15929203539824,334.29372633331286L196.72566371681415,332.68724934321176L204.29203539823007,330.6752327006325L211.858407079646,325.971917329413L219.42477876106196,328.13057177790404L226.99115044247785,309.6546479835954L234.5575221238938,310.6637826993739L242.12389380530973,310.65221523366176L249.69026548672568,318.40285733188773L257.2566371681416,298.18154267575227L264.8230088495575,307.4788389000347L272.3893805309734,304.189264255087L279.95575221238937,289.0288876874009L287.52212389380526,300.20654714775424L295.0884955752212,298.0164127652739L302.65486725663715,287.69192345832175L310.2212389380531,293.1860711045035L317.78761061946904,300.4760502113585L325.3539823008849,297.94852206276937L332.92035398230087,305.6594311405378L340.4867256637168,306.7859423144216L348.0530973451327,275.68998851331963L355.61946902654864,286.5550640745874L363.1858407079646,288.4952543187362L370.75221238938053,290.1896066608983L378.3185840707965,277.8447927515142L385.88495575221236,282.46018876596827L393.4513274336283,261.617847596371L401.01769911504425,265.06101027918726L408.58407079646014,264.60492966286677L416.1504424778761,252.35288845280365L423.716814159292,239.29220756750195L431.283185840708,229.73170018586225L438.8495575221239,224.1580859168795L446.41592920353986,217.20551113129414L453.9823008849557,212.63435660265037L461.54867256637164,210.4425212857057L469.1150442477876,201.0077146146342L476.6814159292035,182.3934004122068L484.24778761061947,176.98732946386616L491.8141592920354,175.3660655079267L499.38053097345136,181.1589144624976L506.9469026548673,172.81581557677976L514.5132743362832,177.82343674256106L522.079646017699,183.5573714672562L529.646017699115,184.4980688436067L537.2123893805309,201.60789339862924L544.7787610619469,193.42268767053048L552.3451327433628,209.9219909677575L559.9115044247787,221.1318944868172L567.4778761061947,222.47350026973174L575.0442477876105,229.94061399967882L582.6106194690265,213.57676800697396L590.1769911504424,232.97280246785252L597.7433628318583,232.8915724787845L605.3097345132743,231.486089735319L612.8761061946902,234.26534000120475L620.4424778761062,219.90951817170736L628.0088495575221,214.36149678900725L635.5752212389381,204.7245641444236L643.1415929203539,205.04759319834227L650.7079646017698,178.61624621480792L658.2743362831858,174.30656351022486L665.8407079646017,194.06864637030463L673.4070796460177,191.38404795482728L680.9734513274336,188.88380371217903L688.5398230088496,182.47430260433697L696.1061946902654,192.70175438596493L703.6725663716813,182.37945067166908L711.2389380530973,163.80499447227572L718.8053097345132,157.4839718811134L726.3716814159292,149.57403342725343L733.9380530973451,142.6076734278762L741.5044247787611,144.9954413314636L749.070796460177,152.29112878815386L756.637168141593,150.02544379977235L764.2035398230088,139.40203164917125L771.7699115044247,149.22935357717972L779.3362831858407,155.78116263659354L786.9026548672566,145.09966219897575L794.4690265486726,157.52407467202426L802.0353982300885,147.01645902195105L809.6017699115044,141.8658056183404L817.1681415929203,134.36135158737966L824.7345132743362,127.49269525433283L832.3008849557522,120.25886939571154L839.8672566371681,118.26230310074709L847.433628318584,98.76959064327474\');\n
});\n
\n
it(\'should scale path along both axes\', function () {\n
var path = new Chartist.Svg.Path()\n
.move(1, 2)\n
.line(3, 4)\n
.curve(5, 6, 7, 8, 9, 10)\n
.scale(10, 100);\n
\n
expect(path.pathElements).toEqual([\n
{ command: \'M\', x: 10, y: 200 },\n
{ command: \'L\', x: 30, y: 400 },\n
{ command: \'C\', x1: 50, y1: 600, x2: 70, y2: 800, x: 90, y: 1000 }\n
]);\n
});\n
\n
it(\'should translate path along both axes\', function () {\n
var path = new Chartist.Svg.Path()\n
.move(1, 2)\n
.line(3, 4)\n
.curve(5, 6, 7, 8, 9, 10)\n
.translate(10, 100);\n
\n
expect(path.pathElements).toEqual([\n
{ command: \'M\', x: 11, y: 102 },\n
{ command: \'L\', x: 13, y: 104 },\n
{ command: \'C\', x1: 15, y1: 106, x2: 17, y2: 108, x: 19, y: 110 }\n
]);\n
});\n
\n
it(\'should transform path correctly with custom function\', function () {\n
var path = new Chartist.Svg.Path()\n
.move(1, 2)\n
.line(3, 4)\n
.curve(5, 6, 7, 8, 9, 10)\n
.transform(function(element, paramName, elementIndex, paramIndex) {\n
if(paramIndex > 3) {\n
return 0;\n
} else if(paramName[0] === \'y\') {\n
return 100;\n
}\n
});\n
\n
expect(path.pathElements).toEqual([\n
{ command: \'M\', x: 1, y: 100 },\n
{ command: \'L\', x: 3, y: 100 },\n
{ command: \'C\', x1: 5, y1: 100, x2: 7, y2: 100, x: 0, y: 0 }\n
]);\n
});\n
\n
it(\'should split correctly by move command\', function () {\n
var paths = new Chartist.Svg.Path().parse(\'M0,0L0,0L0,0L0,0M0,0L0,0L0,0L0,0\').splitByCommand(\'M\');\n
expect(paths).toHaveLength(2);\n
expect(paths[0].pathElements[0].command).toBe(\'M\');\n
expect(paths[0].pathElements).toHaveLength(4);\n
expect(paths[1].pathElements[0].command).toBe(\'M\');\n
expect(paths[1].pathElements).toHaveLength(4);\n
});\n
\n
it(\'should split correctly by move command and tailing move element\', function () {\n
var paths = new Chartist.Svg.Path().parse(\'M0,0L0,0L0,0L0,0M0,0L0,0L0,0L0,0M0,0\').splitByCommand(\'M\');\n
expect(paths).toHaveLength(3);\n
expect(paths[2].pathElements[0].command).toBe(\'M\');\n
});\n
\n
it(\'should split correctly by move command and leading other commands\', function () {\n
var paths = new Chartist.Svg.Path().parse(\'L0,0C0,0,0,0,0,0M0,0L0,0L0,0L0,0M0,0L0,0L0,0L0,0\').splitByCommand(\'M\');\n
expect(paths).toHaveLength(3);\n
expect(paths[0].pathElements).toHaveLength(2);\n
expect(paths[0].pathElements[0].command).toBe(\'L\');\n
expect(paths[0].pathElements[1].command).toBe(\'C\');\n
\n
expect(paths[1].pathElements).toHaveLength(4);\n
expect(paths[1].pathElements[0].command).toBe(\'M\');\n
});\n
});\n
});\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>19560</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>spec-svg.js</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment