PHPIndex

This page lists files in the current directory. You can view content, get download/execute commands for Wget, Curl, or PowerShell, or filter the list using wildcards (e.g., `*.sh`).

examples
license.txt
wget 'https://sme10.lists2.roe3.org/pmnl3/js/amcharts/plugins/responsive/license.txt'
View Content
                                 Apache License
                           Version 2.0, January 2004
                        http://www.apache.org/licenses/

   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

   1. Definitions.

      "License" shall mean the terms and conditions for use, reproduction,
      and distribution as defined by Sections 1 through 9 of this document.

      "Licensor" shall mean the copyright owner or entity authorized by
      the copyright owner that is granting the License.

      "Legal Entity" shall mean the union of the acting entity and all
      other entities that control, are controlled by, or are under common
      control with that entity. For the purposes of this definition,
      "control" means (i) the power, direct or indirect, to cause the
      direction or management of such entity, whether by contract or
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
      outstanding shares, or (iii) beneficial ownership of such entity.

      "You" (or "Your") shall mean an individual or Legal Entity
      exercising permissions granted by this License.

      "Source" form shall mean the preferred form for making modifications,
      including but not limited to software source code, documentation
      source, and configuration files.

      "Object" form shall mean any form resulting from mechanical
      transformation or translation of a Source form, including but
      not limited to compiled object code, generated documentation,
      and conversions to other media types.

      "Work" shall mean the work of authorship, whether in Source or
      Object form, made available under the License, as indicated by a
      copyright notice that is included in or attached to the work
      (an example is provided in the Appendix below).

      "Derivative Works" shall mean any work, whether in Source or Object
      form, that is based on (or derived from) the Work and for which the
      editorial revisions, annotations, elaborations, or other modifications
      represent, as a whole, an original work of authorship. For the purposes
      of this License, Derivative Works shall not include works that remain
      separable from, or merely link (or bind by name) to the interfaces of,
      the Work and Derivative Works thereof.

      "Contribution" shall mean any work of authorship, including
      the original version of the Work and any modifications or additions
      to that Work or Derivative Works thereof, that is intentionally
      submitted to Licensor for inclusion in the Work by the copyright owner
      or by an individual or Legal Entity authorized to submit on behalf of
      the copyright owner. For the purposes of this definition, "submitted"
      means any form of electronic, verbal, or written communication sent
      to the Licensor or its representatives, including but not limited to
      communication on electronic mailing lists, source code control systems,
      and issue tracking systems that are managed by, or on behalf of, the
      Licensor for the purpose of discussing and improving the Work, but
      excluding communication that is conspicuously marked or otherwise
      designated in writing by the copyright owner as "Not a Contribution."

      "Contributor" shall mean Licensor and any individual or Legal Entity
      on behalf of whom a Contribution has been received by Licensor and
      subsequently incorporated within the Work.

   2. Grant of Copyright License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      copyright license to reproduce, prepare Derivative Works of,
      publicly display, publicly perform, sublicense, and distribute the
      Work and such Derivative Works in Source or Object form.

   3. Grant of Patent License. Subject to the terms and conditions of
      this License, each Contributor hereby grants to You a perpetual,
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
      (except as stated in this section) patent license to make, have made,
      use, offer to sell, sell, import, and otherwise transfer the Work,
      where such license applies only to those patent claims licensable
      by such Contributor that are necessarily infringed by their
      Contribution(s) alone or by combination of their Contribution(s)
      with the Work to which such Contribution(s) was submitted. If You
      institute patent litigation against any entity (including a
      cross-claim or counterclaim in a lawsuit) alleging that the Work
      or a Contribution incorporated within the Work constitutes direct
      or contributory patent infringement, then any patent licenses
      granted to You under this License for that Work shall terminate
      as of the date such litigation is filed.

   4. Redistribution. You may reproduce and distribute copies of the
      Work or Derivative Works thereof in any medium, with or without
      modifications, and in Source or Object form, provided that You
      meet the following conditions:

      (a) You must give any other recipients of the Work or
          Derivative Works a copy of this License; and

      (b) You must cause any modified files to carry prominent notices
          stating that You changed the files; and

      (c) You must retain, in the Source form of any Derivative Works
          that You distribute, all copyright, patent, trademark, and
          attribution notices from the Source form of the Work,
          excluding those notices that do not pertain to any part of
          the Derivative Works; and

      (d) If the Work includes a "NOTICE" text file as part of its
          distribution, then any Derivative Works that You distribute must
          include a readable copy of the attribution notices contained
          within such NOTICE file, excluding those notices that do not
          pertain to any part of the Derivative Works, in at least one
          of the following places: within a NOTICE text file distributed
          as part of the Derivative Works; within the Source form or
          documentation, if provided along with the Derivative Works; or,
          within a display generated by the Derivative Works, if and
          wherever such third-party notices normally appear. The contents
          of the NOTICE file are for informational purposes only and
          do not modify the License. You may add Your own attribution
          notices within Derivative Works that You distribute, alongside
          or as an addendum to the NOTICE text from the Work, provided
          that such additional attribution notices cannot be construed
          as modifying the License.

      You may add Your own copyright statement to Your modifications and
      may provide additional or different license terms and conditions
      for use, reproduction, or distribution of Your modifications, or
      for any such Derivative Works as a whole, provided Your use,
      reproduction, and distribution of the Work otherwise complies with
      the conditions stated in this License.

   5. Submission of Contributions. Unless You explicitly state otherwise,
      any Contribution intentionally submitted for inclusion in the Work
      by You to the Licensor shall be under the terms and conditions of
      this License, without any additional terms or conditions.
      Notwithstanding the above, nothing herein shall supersede or modify
      the terms of any separate license agreement you may have executed
      with Licensor regarding such Contributions.

   6. Trademarks. This License does not grant permission to use the trade
      names, trademarks, service marks, or product names of the Licensor,
      except as required for reasonable and customary use in describing the
      origin of the Work and reproducing the content of the NOTICE file.

   7. Disclaimer of Warranty. Unless required by applicable law or
      agreed to in writing, Licensor provides the Work (and each
      Contributor provides its Contributions) on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
      implied, including, without limitation, any warranties or conditions
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
      PARTICULAR PURPOSE. You are solely responsible for determining the
      appropriateness of using or redistributing the Work and assume any
      risks associated with Your exercise of permissions under this License.

   8. Limitation of Liability. In no event and under no legal theory,
      whether in tort (including negligence), contract, or otherwise,
      unless required by applicable law (such as deliberate and grossly
      negligent acts) or agreed to in writing, shall any Contributor be
      liable to You for damages, including any direct, indirect, special,
      incidental, or consequential damages of any character arising as a
      result of this License or out of the use or inability to use the
      Work (including but not limited to damages for loss of goodwill,
      work stoppage, computer failure or malfunction, or any and all
      other commercial damages or losses), even if such Contributor
      has been advised of the possibility of such damages.

   9. Accepting Warranty or Additional Liability. While redistributing
      the Work or Derivative Works thereof, You may choose to offer,
      and charge a fee for, acceptance of support, warranty, indemnity,
      or other liability obligations and/or rights consistent with this
      License. However, in accepting such obligations, You may act only
      on Your own behalf and on Your sole responsibility, not on behalf
      of any other Contributor, and only if You agree to indemnify,
      defend, and hold each Contributor harmless for any liability
      incurred by, or claims asserted against, such Contributor by reason
      of your accepting any such warranty or additional liability.

   END OF TERMS AND CONDITIONS

   APPENDIX: How to apply the Apache License to your work.

      To apply the Apache License to your work, attach the following
      boilerplate notice, with the fields enclosed by brackets "{}"
      replaced with your own identifying information. (Don't include
      the brackets!)  The text should be enclosed in the appropriate
      comment syntax for the file format. We also recommend that a
      file or class name and description of purpose be included on the
      same "printed page" as the copyright notice for easier
      identification within third-party archives.

   Copyright {yyyy} {name of copyright owner}

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
readme.md
wget 'https://sme10.lists2.roe3.org/pmnl3/js/amcharts/plugins/responsive/readme.md'
View Content
# amCharts Responsive

Version: 0.9.2


## Description

Use this plugin to enable "responsive" features for amCharts' JavaScript Charts,
JavaScript Stock Chart, or JavaScript Maps.

"Responsive" chart or map will modify it's features dynamically (even as you
resize the container) based on the available area. For example: a full fledged 
line chart with legend guides, labels, titles and other elements will be 
displayed in all its glory if container is big enough.

If the container shrinks (i.e. you resize a browser window or view it on an
iPad), it starts "compacting" the chart. First the legend is removed. Shrink it
even further, axis titles are removed and its value labels are moved inside the
plot area. Going even smaller, bullets, labels gone. All the way to the
sparkline representation of the chart.

Plugin brings a universal set of pre-defined rules that you can use to instantly
enable responsiveness. Those are custom-tailored for each chart/map type and
will probably fit your requirements out-of the-box. All you need to do is to
enable "responsive" plugin for your chart instance.

You can modify those defaults rules, or make your own list. The plugin allows
that. (see further down this file for instructions)


## Usage

1. Include the minified version of file of this plugin. I.e.:

```
<script src="amcharts/plugins/responsive/responsive.min.js" type="text/javascript"></script>
```

(this needs to go after all the other amCharts includes)

2. Add the following setting to your chart configuration:

```
AmCharts.makeChart( "chartdiv", {
  ...,
  "responsive": {
    "enabled": true
  }
} );
```

Or if you are using non-JSON setup:

```
chart.responsive = {
  "enabled": true
};
```

That's it.


## Advanced use

### Rules

You can modify (or completely overwrite) the default responsive rules used by
the plugin.

A plugin works by checking chart area dimensions after each resize. (or after
initial build / mobile device orientation change) It then overrides particular
settings suitable for these particular dimensions.

Override rules are implemented by defining chart rules, or just "rules" moving
forward. Each rule has two things:

1. Dimension conditions;
2. Overrides. (a set of properties to override for this particular rule)

A rule is an object, for example:

```
{
  "minWidth": 200,
  "maxWidth": 400,
  "maxHeight": 400,
  "minHeight": 200,
  "overrides": {
    "precision": 2,
    "legend": {
      "enabled": false
    },
    "valueAxes": {
      "inside": true
    }
  }
}
```

The above rule will be applicable to a chart that is between 200px and 400px in
width and height.

It is not necessary to add all of the dimensional properties. You just neat at
least one.

So for example to make the rule apply to all charts with width 400px or lower,
you would do something like this:

```
{
  "maxWidth": 400,
  "overrides": {
    "precision": 2,
    "legend": {
      "enabled": false
    },
    "valueAxes": {
      "inside": true
    }
  }
}
```

Please note that there are several other conditional properties besides the ones
that deal with chart's dimensions:

* "rotate" (true|false) - set this property if you want to make this rule
  applicable to rotated serial chart only (i.e. bar chart)

* "legendPosition" ("top|bottom|left|right") - set this property if you want the
  rule applied only when the chart legend is set to particular position.
  Please note that this does not check whether the legend is enabled at all.

Now, on to explaining "overrides". It's an object, that contains properties that
you want to override the chart's initial ones with.

It can be either simple properties, like "fontSize" or "precision", or complext
types like object, or array.

To override a property of a child object, such as "legend", you would simply go
with JSON representation of the properties you need to override. I.e.:

```
"legend": {
  "enabled": false
}
```

This will look for a "legend" property in chart object, then change it's
"enabled" property to false.

### Overriding arrays of objects

Some objects in charts are collected in arrays, i.e. "graphs", "valueAxes", etc.

There are some ways to override their properties as well.

To override properties for ALL objects in the array, you would provide an
override instruction as an object. I.e.:

```
"graphs": {
  "bullet": "round",
  "lineThickness": 5
}
```

The above will add a round bullet and set line thickness to all of the graphs on
the chart.

You can also target individual items in the array. There are two ways to do
that:

a) Use "id" property;
b) Apply using the same index.

To individually apply property overrides, you will need to supply override
instructions as an array:

```
"graphs": [
  {
    "id": "g1",
    "bullet": "round",
    "lineThickness": 5
  }
]
```

The above will apply the same properties for the graph with an id of "g1" only.
It will not touch the rest of the graphs.

Please note that original graph definition in your chart settings needs to have
the "id" property set so this plugin can target it.

Or you can omit the "id" and just apply overrides in the same order as you have
them defined. I.e.:

```
"graphs": [
  {
    "bullet": "round"
  },
  {
    "bullet": "square"
  }
]
```

The above will apply round bullets to the first defined graph, and square
bullets to the second graph.

### Chaining multiple rules

The cool pat is that you can daisy-chain the override rules, much like in CSS.

The plugin will examine all of the rules if their dimensional conditions match
current chart condition and will apply their overrides in the same order they
are defined.

Consider this rule set:

```
"responsive": {
  "enabled": true,
  "rules": [
    // at 400px wide, we hide legend
    {
      "maxWidth": 400,
      "overrides": {
        "legend": {
          "enabled"
        }
      }
    },

    // at 300px or less, we move value axis labels inside plot area
    // the legend is still hidden because the above rule is still applicable
    {
      "maxWidth": 300,
      "overrides": {
        "valueAxes": {
          "inside": true
        }
      }
    },

    // at 200 px we hide value axis labels altogether
    {
      "maxWidth": 200,
      "overrides": {
        "valueAxes": {
          "labelsEnabled": false
        }
      }
    }

  ]
}
```

In case several rules modify the same property, the last one will always "win".

### Combining custom rules with pre-defined ones

The plugin will combine your custom rules with pre-defined ones automatically.

In case you want to go pure and set only your own responsive rules, you can set
property "addDefaultRules" to false. I.e.:

```
"responsive": {
  "enabled": true,
  "addDefaultRules": false,
  "rules": [
    {
      "maxWidth": 400,
      "overrides": {
        "legend": {
          "enabled"
        }
      }
    }
  ]
}
```

When your custom rules are combined with pre-defined ones, yours are appended at
the end of the list. This means that your rules will always have the "last
word".


## Requirements

This plugin requires at least 3.13 version of JavaScript Charts, JavaScript
Stock Chart or JavaScript Maps.

Any older versions will be ignored by this plugin. The charts will function but
no responsive rules will be applied to them.


## Demos

Run the index.html in the subdirectory /examples. It will allow viewing misc
chart types at various resolutions.


## Extending this plugin

You're encouraged to modify, extend and make derivative plugins out of this
plugin.

You can modify files, included in this archive or, better yet, fork this project
on GitHub:

https://github.com/amcharts/responsive

We're curious types. Please let us know (contact@amcharts.com) if you do create
something new out of this plugin.


## License

This plugin is licensed under Apache License 2.0.

This basically means you're free to use or modify this plugin, even make your
own versions or completely different products out of it.

Please see attached file "license.txt" for the complete license or online here:

http://www.apache.org/licenses/LICENSE-2.0


## Contact us

* Email:contact@amcharts.com
* Web: http://www.amcharts.com/
* Facebook: https://www.facebook.com/amcharts
* Twitter: https://twitter.com/amcharts


## Changelog

### 0.9.2
* Fixed a custom rules being applied in the wrong order

### 0.9.1
* Made all examples use minified version of the plugin
* Introduced removal of grid lines on micro charts
* Tweaked legend hiding dimensions for pie chart

### 0.9
* Initial release
responsive.js
wget 'https://sme10.lists2.roe3.org/pmnl3/js/amcharts/plugins/responsive/responsive.js'
View Content
/*
Plugin Name: amCharts Responsive
Description: This plugin add responsive functionality to JavaScript Charts and Maps.
Author: Martynas Majeris, amCharts
Version: 0.9.2
Author URI: http://www.amcharts.com/

Copyright 2015 amCharts

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

	http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Please note that the above license covers only this plugin. It by all means does
not apply to any other amCharts products that are covered by different licenses.
*/

AmCharts.addInitHandler( function ( chart ) {

	// check if responsive object is set
	if ( undefined === chart.responsive )
		return;

	// check if it's already initialized
	if ( chart.responsive.ready )
		return;

	// a small variable for easy reference
	var r = chart.responsive;

	// init
	r.ready = true,
	r.currentRules = {};
	r.overridden = [];
	r.original = {};

	// check if responsive is enabled
	if ( true !== r.enabled )
		return;

	// check charts version for compatibility
	// the first compatible version is 3.13
	var version = chart.version.split( '.' );
	if ( ( Number( version[0] ) < 3 ) || ( 3 == Number( version[0] ) && ( Number( version[1] ) < 13 ) ) )
		return;

	// defaults per chart type
	var defaults = {

		/**
		 * AmPie
		 */

		'pie': [

			/**
			 * Disable legend in certain cases
			 */
			{
				"maxWidth": 550,
				"legendPosition": "left",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 550,
				"legendPosition": "right",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 150,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 350,
				"legendPosition": "top",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 350,
				"legendPosition": "bottom",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 150,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},

			/**
			 * Narrow chart
			 */
			{
				"maxWidth": 400,
				"overrides": {
					"labelsEnabled": false
				}
			},
			{
				"maxWidth": 100,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},

			/**
			 * Short chart
			 */
			{
				"maxHeight": 350,
				"overrides": {
					"pullOutRadius": 0
				}
			},
			{
				"maxHeight": 200,
				"overrides": {
					"titles": {
						"enabled": false
					},
					"labelsEnabled": false
				}
			},

			/**
			 * Supersmall
			 */

			{
				"maxWidth": 60,
				"overrides": {
					"autoMargins": false,
					"marginTop": 0,
					"marginBottom": 0,
					"marginLeft": 0,
					"marginRight": 0,
					"radius": "50%",
					"innerRadius": 0,
					"balloon": {
						"enabled": false
					},
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 60,
				"overrides": {
					"marginTop": 0,
					"marginBottom": 0,
					"marginLeft": 0,
					"marginRight": 0,
					"radius": "50%",
					"innerRadius": 0,
					"balloon": {
						"enabled": false
					},
					"legend": {
						"enabled": false
					}
				}
			}

		],

		/**
		 * AmFunnel
		 */

		'funnel': [

			{
				"maxWidth": 550,
				"legendPosition": "left",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 550,
				"legendPosition": "right",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 150,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 500,
				"legendPosition": "top",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 500,
				"legendPosition": "bottom",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 150,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 400,
				"overrides": {
					"labelsEnabled": false,
					"marginLeft": 10,
					"marginRight": 10,
					"legend": {
						"enabled": false
					}
				}
			},

			{
				"maxHeight": 350,
				"overrides": {
					"pullOutRadius": 0,
					"legend": {
						"enabled": false
					}
				}
			},

			{
				"maxHeight": 300,
				"overrides": {
					"titles": {
						"enabled": false
					}
				}
			}
		],

		/**
		 * AmRadar
		 */

		"radar": [

			{
				"maxWidth": 550,
				"legendPosition": "left",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 550,
				"legendPosition": "right",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 150,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 350,
				"legendPosition": "top",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 350,
				"legendPosition": "bottom",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 150,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 300,
				"overrides": {
					"labelsEnabled": false
				}
			},
			{
				"maxWidth": 200,
				"overrides": {
					"autoMargins": false,
					"marginTop": 0,
					"marginBottom": 0,
					"marginLeft": 0,
					"marginRight": 0,
					"radius": "50%",
					"titles": {
						"enabled": false
					},
					"valueAxes": {
						"labelsEnabled": false,
						"radarCategoriesEnabled": false
					}
				}
			},

			{
				"maxHeight": 300,
				"overrides": {
					"labelsEnabled": false
				}
			},

			{
				"maxHeight": 200,
				"overrides": {
					"autoMargins": false,
					"marginTop": 0,
					"marginBottom": 0,
					"marginLeft": 0,
					"marginRight": 0,
					"radius": "50%",
					"titles": {
						"enabled": false
					},
					"valueAxes": {
						"radarCategoriesEnabled": false
					}
				}
			},

			{
				"maxHeight": 100,
				"overrides": {
					"valueAxes": {
						"labelsEnabled": false
					}
				}
			}

		],

		/**
		 * AmGauge
		 */

		'gauge': [
			{
				"maxWidth": 550,
				"legendPosition": "left",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 550,
				"legendPosition": "right",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 150,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 500,
				"legendPosition": "top",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 500,
				"legendPosition": "bottom",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 150,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 200,
				"overrides": {
					"titles": {
						"enabled": false
					},
					"allLabels": {
						"enabled": false
					},
					"axes": {
						"labelsEnabled": false
					}
				}
			},
			{
				"maxHeight": 200,
				"overrides": {
					"titles": {
						"enabled": false
					},
					"allLabels": {
						"enabled": false
					},
					"axes": {
						"labelsEnabled": false
					}
				}
			}
		],
		
		/**
		 * AmSerial
		 */
		"serial": [

			/**
			 * Disable legend in certain cases
			 */
			{
				"maxWidth": 550,
				"legendPosition": "left",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 550,
				"legendPosition": "right",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 100,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 350,
				"legendPosition": "top",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 350,
				"legendPosition": "bottom",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 100,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},


			/**
			 * Narrow chart
			 */
			{
				"maxWidth": 350,
				"overrides": {
					"autoMarginOffset": 0,
					"graphs": {
						"hideBulletsCount": 10
					}
				}
			},
			{
				"maxWidth": 350,
				"rotate": false,
				"overrides": {
					"marginLeft": 10,
					"marginRight": 10,
					"valueAxes": {
						"ignoreAxisWidth": true,
						"inside": true,
						"title": "",
						"showFirstLabel": false,
						"showLastLabel": false
					},
					"graphs": {
						"bullet": "none"
					}
				}
			},
			{
				"maxWidth": 350,
				"rotate": true,
				"overrides": {
					"marginLeft": 10,
					"marginRight": 10,
					"categoryAxis": {
						"ignoreAxisWidth": true,
						"inside": true,
						"title": ""
					}
				}
			},
			{
				"maxWidth": 200,
				"rotate": false,
				"overrides": {
					"marginLeft": 10,
					"marginRight": 10,
					"marginTop": 10,
					"marginBottom": 10,
					"categoryAxis": {
						"ignoreAxisWidth": true,
						"labelsEnabled": false,
						"inside": true,
						"title": "",
						"guides": {
							"inside": true
						}
					},
					"valueAxes": {
						"ignoreAxisWidth": true,
						"labelsEnabled": false,
						"axisAlpha": 0,
						"guides": {
							"label": ""
						}
					},
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 200,
				"rotate": true,
				"overrides": {
					"chartScrollbar": {
						"scrollbarHeight": 4,
						"graph": "",
						"resizeEnabled": false
					},
					"categoryAxis": {
						"labelsEnabled": false,
						"axisAlpha": 0,
						"guides": {
							"label": ""
						}
					},
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 100,
				"rotate": false,
				"overrides": {
					"valueAxes": {
						"gridAlpha": 0
					}
				}
			},
			{
				"maxWidth": 100,
				"rotate": true,
				"overrides": {
					"categoryAxis": {
						"gridAlpha": 0
					}
				}
			},

			/**
			 * Short chart
			 */
			{
				"maxHeight": 300,
				"overrides": {
					"autoMarginOffset": 0,
					"graphs": {
						"hideBulletsCount": 10
					}
				}
			},
			{
				"maxHeight": 200,
				"rotate": false,
				"overrides": {
					"marginTop": 10,
					"marginBottom": 10,
					"categoryAxis": {
						"ignoreAxisWidth": true,
						"inside": true,
						"title": "",
						"showFirstLabel": false,
						"showLastLabel": false
					}
				}
			},
			{
				"maxHeight": 200,
				"rotate": true,
				"overrides": {
					"marginTop": 10,
					"marginBottom": 10,
					"valueAxes": {
						"ignoreAxisWidth": true,
						"inside": true,
						"title": "",
						"showFirstLabel": false,
						"showLastLabel": false
					},
					"graphs": {
						"bullet": "none"
					}
				}
			},
			{
				"maxHeight": 150,
				"rotate": false,
				"overrides": {
					"titles": {
						"enabled": false
					},
					"chartScrollbar": {
						"scrollbarHeight": 4,
						"graph": "",
						"resizeEnabled": false
					},
					"categoryAxis": {
						"labelsEnabled": false,
						"ignoreAxisWidth": true,
						"axisAlpha": 0,
						"guides": {
							"label": ""
						}
					}
				}
			},
			{
				"maxHeight": 150,
				"rotate": true,
				"overrides": {
					"titles": {
						"enabled": false
					},
					"valueAxes": {
						"labelsEnabled": false,
						"ignoreAxisWidth": true,
						"axisAlpha": 0,
						"guides": {
							"label": ""
						}
					}
				}
			},
			{
				"maxHeight": 100,
				"rotate": false,
				"overrides": {
					"valueAxes": {
						"labelsEnabled": false,
						"ignoreAxisWidth": true,
						"axisAlpha": 0,
						"gridAlpha": 0,
						"guides": {
							"label": ""
						}
					}
				}
			},
			{
				"maxHeight": 100,
				"rotate": true,
				"overrides": {
					"categoryAxis": {
						"labelsEnabled": false,
						"ignoreAxisWidth": true,
						"axisAlpha": 0,
						"gridAlpha": 0,
						"guides": {
							"label": ""
						}
					}
				}
			},

			/**
			 * Really small charts: microcharts and sparklines
			 */
			{
				"maxWidth": 100,
				"overrides": {
					"autoMargins": false,
					"marginTop": 0,
					"marginBottom": 0,
					"marginLeft": 0,
					"marginRight": 0,
					"categoryAxis": {
						"labelsEnabled": false
					},
					"valueAxes": {
						"labelsEnabled": false
					}
				}
			},
			{
				"maxHeight": 100,
				"overrides": {
					"autoMargins": false,
					"marginTop": 0,
					"marginBottom": 0,
					"marginLeft": 0,
					"marginRight": 0,
					"categoryAxis": {
						"labelsEnabled": false
					},
					"valueAxes": {
						"labelsEnabled": false
					}
				}
			}

			],
		
		/**
		 * AmXY
		 */
		"xy": [

			/**
			 * Disable legend in certain cases
			 */
			{
				"maxWidth": 550,
				"legendPosition": "left",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 550,
				"legendPosition": "right",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 100,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 350,
				"legendPosition": "top",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 350,
				"legendPosition": "bottom",
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxHeight": 100,
				"overrides": {
					"legend": {
						"enabled": false
					}
				}
			},

			/**
			 * Narrow chart
			 */
			{
				"maxWidth": 250,
				"overrides": {
					"autoMarginOffset": 0,
					"autoMargins": false,
					"marginTop": 0,
					"marginBottom": 0,
					"marginLeft": 0,
					"marginRight": 0,
					"valueAxes": {
						"inside": true,
						"title": "",
						"showFirstLabel": false,
						"showLastLabel": false
					},
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 150,
				"overrides": {
					"valueyAxes": {
						"labelsEnabled": false,
						"axisAlpha": 0,
						"gridAlpha": 0,
						"guides": {
							"label": ""
						}
					}
				}
			},

			/**
			 * Short chart
			 */
			{
				"maxHeight": 250,
				"overrides": {
					"autoMarginOffset": 0,
					"autoMargins": false,
					"marginTop": 0,
					"marginBottom": 0,
					"marginLeft": 0,
					"marginRight": 0,
					"valueAxes": {
						"inside": true,
						"title": "",
						"showFirstLabel": false,
						"showLastLabel": false
					},
					"legend": {
						"enabled": false
					}
				}
			},
			{
				"maxWidth": 150,
				"overrides": {
					"valueyAxes": {
						"labelsEnabled": false,
						"axisAlpha": 0,
						"gridAlpha": 0,
						"guides": {
							"label": ""
						}
					}
				}
			}],

		/**
		 * AmStock
		 */

		'stock': [
			
			{
				"maxWidth": 500,
				"overrides": {
					"dataSetSelector": {
						"position": "top"
					},
					"periodSelector": {
						"position": "bottom"
					}
				}
			},

			{
				"maxWidth": 400,
				"overrides": {
					"dataSetSelector": {
						"selectText": "",
						"compareText": ""
					},
					"periodSelector": {
						"periodsText": "",
						"inputFieldsEnabled": false
					}
				}
			}
		],

		/**
		 * AmMap
		 */

		'map': [
			{
				"maxWidth": 200,
				"overrides": {
					"zoomControl": {
						"zoomControlEnabled": false
					},
					"smallMap": {
						"enabled": false
					},
					"valueLegend": {
						"enabled": false
					},
					"dataProvider": {
						"areas": {
							"descriptionWindowWidth": 160,
							"descriptionWindowRight": 10,
							"descriptionWindowTop": 10
						},
						"images": {
							"descriptionWindowWidth": 160,
							"descriptionWindowRight": 10,
							"descriptionWindowTop": 10
						},
						"lines": {
							"descriptionWindowWidth": 160,
							"descriptionWindowRight": 10,
							"descriptionWindowTop": 10
						}
					}
				}
			},
			{
				"maxWidth": 150,
				"overrides": {
					"dataProvider": {
						"areas": {
							"descriptionWindowWidth": 110,
							"descriptionWindowRight": 10,
							"descriptionWindowTop": 10
						},
						"images": {
							"descriptionWindowWidth": 110,
							"descriptionWindowRight": 10,
							"descriptionWindowTop": 10
						},
						"lines": {
							"descriptionWindowWidth": 110,
							"descriptionWindowLeft": 10,
							"descriptionWindowRight": 10
						}
					}
				}
			},
			{
				"maxHeight": 200,
				"overrides": {
					"zoomControl": {
						"zoomControlEnabled": false
					},
					"smallMap": {
						"enabled": false
					},
					"valueLegend": {
						"enabled": false
					},
					"dataProvider": {
						"areas": {
							"descriptionWindowHeight": 160,
							"descriptionWindowRight": 10,
							"descriptionWindowTop": 10
						},
						"images": {
							"descriptionWindowHeight": 160,
							"descriptionWindowRight": 10,
							"descriptionWindowTop": 10
						},
						"lines": {
							"descriptionWindowHeight": 160,
							"descriptionWindowRight": 10,
							"descriptionWindowTop": 10
						}
					}
				}
			},
			{
				"maxHeight": 150,
				"overrides": {
					"dataProvider": {
						"areas": {
							"descriptionWindowHeight": 110,
							"descriptionWindowRight": 10,
							"descriptionWindowTop": 10
						},
						"images": {
							"descriptionWindowHeight": 110,
							"descriptionWindowRight": 10,
							"descriptionWindowTop": 10
						},
						"lines": {
							"descriptionWindowHeight": 110,
							"descriptionWindowLeft": 10,
							"descriptionWindowRight": 10
						}
					}
				}
			}
		]
	};

	// populate with defaults if necessary
	if ( undefined == r.rules || 0 == r.rules.length || !isArray( r.rules ) )
		r.rules = defaults[chart.type];
	else if ( false !== r.addDefaultRules )
		r.rules = defaults[chart.type].concat( r.rules );

	// set original 
	setOriginalProperty( chart, 'zoomOutOnDataUpdate', chart.zoomOutOnDataUpdate );

	// tap into chart resize events
	chart.addListener( 'resized', checkRules );
	chart.addListener( 'init', checkRules );

	function checkRules () {
		
		// get current chart dimensions
		var w = chart.divRealWidth;
		var h = chart.divRealHeight;

		// get current rules
		var rulesChanged = false;
		for ( var x in r.rules ) {
			var rule = r.rules[x];
			if (
				( undefined == rule.minWidth || ( rule.minWidth <= w ) )
				&&
				( undefined == rule.maxWidth || ( rule.maxWidth >= w ) )
				&&
				( undefined == rule.minHeight || ( rule.minHeight <= h ) )
				&&
				( undefined == rule.maxHeight || ( rule.maxHeight >= h ) )
				&&
				( undefined == rule.rotate || ( true === rule.rotate && true === chart.rotate ) || ( false === rule.rotate && ( undefined === chart.rotate || false === chart.rotate ) ) )
				&&
				( undefined == rule.legendPosition || ( undefined !== chart.legend && undefined !== chart.legend.position && chart.legend.position === rule.legendPosition ) )
			) {
				if ( undefined == r.currentRules[x] ) {
					r.currentRules[x] = true;
					rulesChanged = true;
				}
			}
			else {
				if ( undefined != r.currentRules[x] ) {
					r.currentRules[x] = undefined;
					rulesChanged = true;
				}
			}
		}

		// check if any rules have changed
		if ( !rulesChanged )
			return;

		// apply original config
		restoreOriginals();
		
		// apply rule-specific properties
		for ( var x in r.currentRules ) {
			if ( undefined != r.currentRules[x] )
				applyConfig( chart, r.rules[x].overrides );
		}
		
		// re-apply zooms/slices as necessary
		// TODO
		
		// redraw the chart
		redrawChart();
	}

	function findArrayObject ( node, id ) {
		if ( node instanceof Array ) {
			for( var x in node ) {
				if ( 'object' === typeof node[x] && node[x].id == id )
					return node[x];
			}
		}
		return false;
	}

	function redrawChart () {
		chart.dataChanged = true;
		if ( 'xy' !== chart.type )
			chart.marginsUpdated = false;
		chart.zoomOutOnDataUpdate = false;
		chart.validateNow( true );
		restoreOriginalProperty( chart, 'zoomOutOnDataUpdate' );
	}

	function isArray ( obj ) {
		return obj instanceof Array;
	}

	function isObject ( obj ) {
		return 'object' === typeof( obj );
	}

	function applyConfig ( original, override ) {
		for( var key in override ) {
			if ( undefined === original[key] ) {
				original[key] = override[key];
				setOriginalProperty( original, key, '_r_none' );
			}
			else if ( isArray( original[key] ) ) {
				// special case - apply overrides selectively

				// an array of simple values
				if ( original[key].length && ! isObject( original[key][0] ) ) {
					setOriginalProperty( original, key, original[key] );
					original[key] = override[key];
				}

				// an array of objects
				else if ( isArray( override[key] ) ) {
					for ( var x in override[key] ) {
						var originalNode = false;
						if ( undefined === override[key][x].id && undefined != original[key][x] )
							originalNode = original[key][x];
						else if ( undefined !== override[key][x].id )
							originalNode = findArrayObject( original[key], override[key][x].id );
						if ( originalNode ) {
							applyConfig( originalNode, override[key][x] );
						}
					}
				}

				// override all array objects with the same values form a single
				// override object
				else if ( isObject( override[key] ) ) {
					for( var x in original[key] ) {
						applyConfig( original[key][x], override[key] );
					}
				}

				// error situation
				else {
					// do nothing (we can't override array using single value)
				}
			}
			else if ( isObject( original[key] ) ) {
				applyConfig( original[key], override[key] );
			}
			else {
				setOriginalProperty( original, key, original[key] );
				original[key] = override[key];
			}
		}
	}

	function setOriginalProperty ( object, prop, value ) {
		if ( undefined === object['_r_' + prop] )
			object['_r_' + prop] = value;

		r.overridden.push( { o: object, p: prop } );
	}

	function restoreOriginals () {
		var p;
		while( p = r.overridden.pop() ) {
			if ( '_r_none' === p.o['_r_' + p.p] )
				delete p.o[p.p];
			else
				p.o[p.p] = p.o['_r_' + p.p];
		}
	}

	function restoreOriginalProperty ( object, prop ) {
		object[prop] = object['_r_' + prop];
	}

}, [ 'pie', 'serial', 'xy', 'funnel', 'radar', 'gauge', 'stock', 'map' ] );
responsive.min.js
wget 'https://sme10.lists2.roe3.org/pmnl3/js/amcharts/plugins/responsive/responsive.min.js'
View Content
AmCharts.addInitHandler(function(a){function e(){var c=a.divRealWidth,d=a.divRealHeight,e=!1;for(var f in b.rules){var h=b.rules[f];(void 0==h.minWidth||h.minWidth<=c)&&(void 0==h.maxWidth||h.maxWidth>=c)&&(void 0==h.minHeight||h.minHeight<=d)&&(void 0==h.maxHeight||h.maxHeight>=d)&&(void 0==h.rotate||!0===h.rotate&&!0===a.rotate||!1===h.rotate&&(void 0===a.rotate||!1===a.rotate))&&(void 0==h.legendPosition||void 0!==a.legend&&void 0!==a.legend.position&&a.legend.position===h.legendPosition)?void 0==b.currentRules[f]&&(b.currentRules[f]=!0,e=!0):void 0!=b.currentRules[f]&&(b.currentRules[f]=void 0,e=!0)}if(e){l();for(var f in b.currentRules)void 0!=b.currentRules[f]&&j(a,b.rules[f].overrides);g()}}function f(a,b){if(a instanceof Array)for(var c in a)if("object"==typeof a[c]&&a[c].id==b)return a[c];return!1}function g(){a.dataChanged=!0,"xy"!==a.type&&(a.marginsUpdated=!1),a.zoomOutOnDataUpdate=!1,a.validateNow(!0),m(a,"zoomOutOnDataUpdate")}function h(a){return a instanceof Array}function i(a){return"object"==typeof a}function j(a,b){for(var c in b)if(void 0===a[c])a[c]=b[c],k(a,c,"_r_none");else if(h(a[c])){if(a[c].length&&!i(a[c][0]))k(a,c,a[c]),a[c]=b[c];else if(h(b[c]))for(var d in b[c]){var e=!1;void 0===b[c][d].id&&void 0!=a[c][d]?e=a[c][d]:void 0!==b[c][d].id&&(e=f(a[c],b[c][d].id)),e&&j(e,b[c][d])}else if(i(b[c]))for(var d in a[c])j(a[c][d],b[c])}else i(a[c])?j(a[c],b[c]):(k(a,c,a[c]),a[c]=b[c])}function k(a,c,d){void 0===a["_r_"+c]&&(a["_r_"+c]=d),b.overridden.push({o:a,p:c})}function l(){for(var a;a=b.overridden.pop();)"_r_none"===a.o["_r_"+a.p]?delete a.o[a.p]:a.o[a.p]=a.o["_r_"+a.p]}function m(a,b){a[b]=a["_r_"+b]}if(void 0!==a.responsive&&!a.responsive.ready){var b=a.responsive;if(b.ready=!0,b.currentRules={},b.overridden=[],b.original={},!0===b.enabled){var c=a.version.split(".");if(!(Number(c[0])<3||3==Number(c[0])&&Number(c[1])<13)){var d={pie:[{maxWidth:550,legendPosition:"left",overrides:{legend:{enabled:!1}}},{maxWidth:550,legendPosition:"right",overrides:{legend:{enabled:!1}}},{maxWidth:150,overrides:{legend:{enabled:!1}}},{maxHeight:350,legendPosition:"top",overrides:{legend:{enabled:!1}}},{maxHeight:350,legendPosition:"bottom",overrides:{legend:{enabled:!1}}},{maxHeight:150,overrides:{legend:{enabled:!1}}},{maxWidth:400,overrides:{labelsEnabled:!1}},{maxWidth:100,overrides:{legend:{enabled:!1}}},{maxHeight:350,overrides:{pullOutRadius:0}},{maxHeight:200,overrides:{titles:{enabled:!1},labelsEnabled:!1}},{maxWidth:60,overrides:{autoMargins:!1,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,radius:"50%",innerRadius:0,balloon:{enabled:!1},legend:{enabled:!1}}},{maxHeight:60,overrides:{marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,radius:"50%",innerRadius:0,balloon:{enabled:!1},legend:{enabled:!1}}}],funnel:[{maxWidth:550,legendPosition:"left",overrides:{legend:{enabled:!1}}},{maxWidth:550,legendPosition:"right",overrides:{legend:{enabled:!1}}},{maxWidth:150,overrides:{legend:{enabled:!1}}},{maxHeight:500,legendPosition:"top",overrides:{legend:{enabled:!1}}},{maxHeight:500,legendPosition:"bottom",overrides:{legend:{enabled:!1}}},{maxHeight:150,overrides:{legend:{enabled:!1}}},{maxWidth:400,overrides:{labelsEnabled:!1,marginLeft:10,marginRight:10,legend:{enabled:!1}}},{maxHeight:350,overrides:{pullOutRadius:0,legend:{enabled:!1}}},{maxHeight:300,overrides:{titles:{enabled:!1}}}],radar:[{maxWidth:550,legendPosition:"left",overrides:{legend:{enabled:!1}}},{maxWidth:550,legendPosition:"right",overrides:{legend:{enabled:!1}}},{maxWidth:150,overrides:{legend:{enabled:!1}}},{maxHeight:350,legendPosition:"top",overrides:{legend:{enabled:!1}}},{maxHeight:350,legendPosition:"bottom",overrides:{legend:{enabled:!1}}},{maxHeight:150,overrides:{legend:{enabled:!1}}},{maxWidth:300,overrides:{labelsEnabled:!1}},{maxWidth:200,overrides:{autoMargins:!1,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,radius:"50%",titles:{enabled:!1},valueAxes:{labelsEnabled:!1,radarCategoriesEnabled:!1}}},{maxHeight:300,overrides:{labelsEnabled:!1}},{maxHeight:200,overrides:{autoMargins:!1,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,radius:"50%",titles:{enabled:!1},valueAxes:{radarCategoriesEnabled:!1}}},{maxHeight:100,overrides:{valueAxes:{labelsEnabled:!1}}}],gauge:[{maxWidth:550,legendPosition:"left",overrides:{legend:{enabled:!1}}},{maxWidth:550,legendPosition:"right",overrides:{legend:{enabled:!1}}},{maxWidth:150,overrides:{legend:{enabled:!1}}},{maxHeight:500,legendPosition:"top",overrides:{legend:{enabled:!1}}},{maxHeight:500,legendPosition:"bottom",overrides:{legend:{enabled:!1}}},{maxHeight:150,overrides:{legend:{enabled:!1}}},{maxWidth:200,overrides:{titles:{enabled:!1},allLabels:{enabled:!1},axes:{labelsEnabled:!1}}},{maxHeight:200,overrides:{titles:{enabled:!1},allLabels:{enabled:!1},axes:{labelsEnabled:!1}}}],serial:[{maxWidth:550,legendPosition:"left",overrides:{legend:{enabled:!1}}},{maxWidth:550,legendPosition:"right",overrides:{legend:{enabled:!1}}},{maxWidth:100,overrides:{legend:{enabled:!1}}},{maxHeight:350,legendPosition:"top",overrides:{legend:{enabled:!1}}},{maxHeight:350,legendPosition:"bottom",overrides:{legend:{enabled:!1}}},{maxHeight:100,overrides:{legend:{enabled:!1}}},{maxWidth:350,overrides:{autoMarginOffset:0,graphs:{hideBulletsCount:10}}},{maxWidth:350,rotate:!1,overrides:{marginLeft:10,marginRight:10,valueAxes:{ignoreAxisWidth:!0,inside:!0,title:"",showFirstLabel:!1,showLastLabel:!1},graphs:{bullet:"none"}}},{maxWidth:350,rotate:!0,overrides:{marginLeft:10,marginRight:10,categoryAxis:{ignoreAxisWidth:!0,inside:!0,title:""}}},{maxWidth:200,rotate:!1,overrides:{marginLeft:10,marginRight:10,marginTop:10,marginBottom:10,categoryAxis:{ignoreAxisWidth:!0,labelsEnabled:!1,inside:!0,title:"",guides:{inside:!0}},valueAxes:{ignoreAxisWidth:!0,labelsEnabled:!1,axisAlpha:0,guides:{label:""}},legend:{enabled:!1}}},{maxWidth:200,rotate:!0,overrides:{chartScrollbar:{scrollbarHeight:4,graph:"",resizeEnabled:!1},categoryAxis:{labelsEnabled:!1,axisAlpha:0,guides:{label:""}},legend:{enabled:!1}}},{maxWidth:100,rotate:!1,overrides:{valueAxes:{gridAlpha:0}}},{maxWidth:100,rotate:!0,overrides:{categoryAxis:{gridAlpha:0}}},{maxHeight:300,overrides:{autoMarginOffset:0,graphs:{hideBulletsCount:10}}},{maxHeight:200,rotate:!1,overrides:{marginTop:10,marginBottom:10,categoryAxis:{ignoreAxisWidth:!0,inside:!0,title:"",showFirstLabel:!1,showLastLabel:!1}}},{maxHeight:200,rotate:!0,overrides:{marginTop:10,marginBottom:10,valueAxes:{ignoreAxisWidth:!0,inside:!0,title:"",showFirstLabel:!1,showLastLabel:!1},graphs:{bullet:"none"}}},{maxHeight:150,rotate:!1,overrides:{titles:{enabled:!1},chartScrollbar:{scrollbarHeight:4,graph:"",resizeEnabled:!1},categoryAxis:{labelsEnabled:!1,ignoreAxisWidth:!0,axisAlpha:0,guides:{label:""}}}},{maxHeight:150,rotate:!0,overrides:{titles:{enabled:!1},valueAxes:{labelsEnabled:!1,ignoreAxisWidth:!0,axisAlpha:0,guides:{label:""}}}},{maxHeight:100,rotate:!1,overrides:{valueAxes:{labelsEnabled:!1,ignoreAxisWidth:!0,axisAlpha:0,gridAlpha:0,guides:{label:""}}}},{maxHeight:100,rotate:!0,overrides:{categoryAxis:{labelsEnabled:!1,ignoreAxisWidth:!0,axisAlpha:0,gridAlpha:0,guides:{label:""}}}},{maxWidth:100,overrides:{autoMargins:!1,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,categoryAxis:{labelsEnabled:!1},valueAxes:{labelsEnabled:!1}}},{maxHeight:100,overrides:{autoMargins:!1,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,categoryAxis:{labelsEnabled:!1},valueAxes:{labelsEnabled:!1}}}],xy:[{maxWidth:550,legendPosition:"left",overrides:{legend:{enabled:!1}}},{maxWidth:550,legendPosition:"right",overrides:{legend:{enabled:!1}}},{maxWidth:100,overrides:{legend:{enabled:!1}}},{maxHeight:350,legendPosition:"top",overrides:{legend:{enabled:!1}}},{maxHeight:350,legendPosition:"bottom",overrides:{legend:{enabled:!1}}},{maxHeight:100,overrides:{legend:{enabled:!1}}},{maxWidth:250,overrides:{autoMarginOffset:0,autoMargins:!1,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,valueAxes:{inside:!0,title:"",showFirstLabel:!1,showLastLabel:!1},legend:{enabled:!1}}},{maxWidth:150,overrides:{valueyAxes:{labelsEnabled:!1,axisAlpha:0,gridAlpha:0,guides:{label:""}}}},{maxHeight:250,overrides:{autoMarginOffset:0,autoMargins:!1,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,valueAxes:{inside:!0,title:"",showFirstLabel:!1,showLastLabel:!1},legend:{enabled:!1}}},{maxWidth:150,overrides:{valueyAxes:{labelsEnabled:!1,axisAlpha:0,gridAlpha:0,guides:{label:""}}}}],stock:[{maxWidth:500,overrides:{dataSetSelector:{position:"top"},periodSelector:{position:"bottom"}}},{maxWidth:400,overrides:{dataSetSelector:{selectText:"",compareText:""},periodSelector:{periodsText:"",inputFieldsEnabled:!1}}}],map:[{maxWidth:200,overrides:{zoomControl:{zoomControlEnabled:!1},smallMap:{enabled:!1},valueLegend:{enabled:!1},dataProvider:{areas:{descriptionWindowWidth:160,descriptionWindowRight:10,descriptionWindowTop:10},images:{descriptionWindowWidth:160,descriptionWindowRight:10,descriptionWindowTop:10},lines:{descriptionWindowWidth:160,descriptionWindowRight:10,descriptionWindowTop:10}}}},{maxWidth:150,overrides:{dataProvider:{areas:{descriptionWindowWidth:110,descriptionWindowRight:10,descriptionWindowTop:10},images:{descriptionWindowWidth:110,descriptionWindowRight:10,descriptionWindowTop:10},lines:{descriptionWindowWidth:110,descriptionWindowLeft:10,descriptionWindowRight:10}}}},{maxHeight:200,overrides:{zoomControl:{zoomControlEnabled:!1},smallMap:{enabled:!1},valueLegend:{enabled:!1},dataProvider:{areas:{descriptionWindowHeight:160,descriptionWindowRight:10,descriptionWindowTop:10},images:{descriptionWindowHeight:160,descriptionWindowRight:10,descriptionWindowTop:10},lines:{descriptionWindowHeight:160,descriptionWindowRight:10,descriptionWindowTop:10}}}},{maxHeight:150,overrides:{dataProvider:{areas:{descriptionWindowHeight:110,descriptionWindowRight:10,descriptionWindowTop:10},images:{descriptionWindowHeight:110,descriptionWindowRight:10,descriptionWindowTop:10},lines:{descriptionWindowHeight:110,descriptionWindowLeft:10,descriptionWindowRight:10}}}}]};void 0!=b.rules&&0!=b.rules.length&&h(b.rules)?!1!==b.addDefaultRules&&(b.rules=d[a.type].concat(b.rules)):b.rules=d[a.type],k(a,"zoomOutOnDataUpdate",a.zoomOutOnDataUpdate),a.addListener("resized",e),a.addListener("init",e)}}}},["pie","serial","xy","funnel","radar","gauge","stock","map"]);