parent
4389e51ac3
commit
6fee124243
@ -0,0 +1,32 @@
|
||||
{
|
||||
"name": "vue",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"node_modules/echarts": {
|
||||
"version": "5.6.0",
|
||||
"resolved": "https://registry.npmmirror.com/echarts/-/echarts-5.6.0.tgz",
|
||||
"integrity": "sha512-oTbVTsXfKuEhxftHqL5xprgLoc0k7uScAwtryCgWF6hPYFLRwOUHiFmHGCBKP5NPFNkDVopOieyUqYGH8Fa3kA==",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"tslib": "2.3.0",
|
||||
"zrender": "5.6.1"
|
||||
}
|
||||
},
|
||||
"node_modules/tslib": {
|
||||
"version": "2.3.0",
|
||||
"resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz",
|
||||
"integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==",
|
||||
"license": "0BSD"
|
||||
},
|
||||
"node_modules/zrender": {
|
||||
"version": "5.6.1",
|
||||
"resolved": "https://registry.npmmirror.com/zrender/-/zrender-5.6.1.tgz",
|
||||
"integrity": "sha512-OFXkDJKcrlx5su2XbzJvj/34Q3m6PvyCZkVPHGYpcCJ52ek4U/ymZyfuV1nKE23AyBJ51E/6Yr0mhZ7xGTO4ag==",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"tslib": "2.3.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,222 @@
|
||||
|
||||
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.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
========================================================================
|
||||
Apache ECharts Subcomponents:
|
||||
|
||||
The Apache ECharts project contains subcomponents with separate copyright
|
||||
notices and license terms. Your use of the source code for these
|
||||
subcomponents is also subject to the terms and conditions of the following
|
||||
licenses.
|
||||
|
||||
BSD 3-Clause (d3.js):
|
||||
The following files embed [d3.js](https://github.com/d3/d3) BSD 3-Clause:
|
||||
`/src/chart/treemap/treemapLayout.ts`,
|
||||
`/src/chart/tree/layoutHelper.ts`,
|
||||
`/src/chart/graph/forceHelper.ts`,
|
||||
`/src/util/number.ts`
|
||||
See `/licenses/LICENSE-d3` for details of the license.
|
@ -0,0 +1,5 @@
|
||||
Apache ECharts
|
||||
Copyright 2017-2024 The Apache Software Foundation
|
||||
|
||||
This product includes software developed at
|
||||
The Apache Software Foundation (https://www.apache.org/).
|
@ -0,0 +1,98 @@
|
||||
# Apache ECharts
|
||||
|
||||
<a href="https://echarts.apache.org/">
|
||||
<img style="vertical-align: top;" src="./asset/logo.png?raw=true" alt="logo" height="50px">
|
||||
</a>
|
||||
|
||||
Apache ECharts is a free, powerful charting and visualization library offering easy ways to add intuitive, interactive, and highly customizable charts to your commercial products. It is written in pure JavaScript and based on <a href="https://github.com/ecomfe/zrender">zrender</a>, which is a whole new lightweight canvas library.
|
||||
|
||||
**[中文官网](https://echarts.apache.org/zh/index.html)** | **[ENGLISH HOMEPAGE](https://echarts.apache.org/en/index.html)**
|
||||
|
||||
[](https://github.com/apache/echarts/blob/master/LICENSE) [](https://www.npmjs.com/package/echarts) [](https://www.npmjs.com/package/echarts) [](https://github.com/apache/echarts/graphs/contributors)
|
||||
|
||||
[](https://github.com/apache/echarts/actions/workflows/ci.yml)
|
||||
|
||||
## Get Apache ECharts
|
||||
|
||||
You may choose one of the following methods:
|
||||
|
||||
+ Download from the [official website](https://echarts.apache.org/download.html)
|
||||
+ `npm install echarts --save`
|
||||
+ CDN: [jsDelivr CDN](https://www.jsdelivr.com/package/npm/echarts?path=dist)
|
||||
|
||||
## Docs
|
||||
|
||||
+ [Get Started](https://echarts.apache.org/handbook)
|
||||
+ [API](https://echarts.apache.org/api.html)
|
||||
+ [Option Manual](https://echarts.apache.org/option.html)
|
||||
+ [Examples](https://echarts.apache.org/examples)
|
||||
|
||||
## Get Help
|
||||
|
||||
+ [GitHub Issues](https://github.com/apache/echarts/issues) for bug report and feature requests
|
||||
+ Email [dev@echarts.apache.org](mailto:dev@echarts.apache.org) for general questions
|
||||
+ Subscribe to the [mailing list](https://echarts.apache.org/maillist.html) to get updated with the project
|
||||
|
||||
## Build
|
||||
|
||||
Build echarts source code:
|
||||
|
||||
Execute the instructions in the root directory of the echarts:
|
||||
([Node.js](https://nodejs.org) is required)
|
||||
|
||||
```shell
|
||||
# Install the dependencies from NPM:
|
||||
npm install
|
||||
|
||||
# Rebuild source code immediately in watch mode when changing the source code.
|
||||
# It opens the `./test` directory, and you may open `-cases.html` to get the list
|
||||
# of all test cases.
|
||||
# If you wish to create a test case, run `npm run mktest:help` to learn more.
|
||||
npm run dev
|
||||
|
||||
# Check the correctness of TypeScript code.
|
||||
npm run checktype
|
||||
|
||||
# If intending to build and get all types of the "production" files:
|
||||
npm run release
|
||||
```
|
||||
|
||||
Then the "production" files are generated in the `dist` directory.
|
||||
|
||||
## Contribution
|
||||
|
||||
Please refer to the [contributing](https://github.com/apache/echarts/blob/master/CONTRIBUTING.md) document if you wish to debug locally or make pull requests.
|
||||
|
||||
## Resources
|
||||
|
||||
### Awesome ECharts
|
||||
|
||||
[https://github.com/ecomfe/awesome-echarts](https://github.com/ecomfe/awesome-echarts)
|
||||
|
||||
### Extensions
|
||||
|
||||
+ [ECharts GL](https://github.com/ecomfe/echarts-gl) An extension pack of ECharts, which provides 3D plots, globe visualization, and WebGL acceleration.
|
||||
|
||||
+ [Liquidfill 水球图](https://github.com/ecomfe/echarts-liquidfill)
|
||||
|
||||
+ [Wordcloud 字符云](https://github.com/ecomfe/echarts-wordcloud)
|
||||
|
||||
+ [Extension for Baidu Map 百度地图扩展](https://github.com/apache/echarts/tree/master/extension-src/bmap) An extension provides a wrapper of Baidu Map Service SDK.
|
||||
|
||||
+ [vue-echarts](https://github.com/ecomfe/vue-echarts) ECharts component for Vue.js
|
||||
|
||||
+ [echarts-stat](https://github.com/ecomfe/echarts-stat) Statistics tool for ECharts
|
||||
|
||||
## License
|
||||
|
||||
ECharts is available under the Apache License V2.
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
Please refer to [Apache Code of Conduct](https://www.apache.org/foundation/policies/conduct.html).
|
||||
|
||||
## Paper
|
||||
|
||||
Deqing Li, Honghui Mei, Yi Shen, Shuang Su, Wenli Zhang, Junting Wang, Ming Zu, Wei Chen.
|
||||
[ECharts: A Declarative Framework for Rapid Construction of Web-based Visualization](https://www.sciencedirect.com/science/article/pii/S2468502X18300068).
|
||||
Visual Informatics, 2018.
|
After Width: | Height: | Size: 7.2 KiB |
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
export * from './types/dist/charts';
|
@ -0,0 +1,27 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
// In somehow. If we export like
|
||||
// export * as LineChart './chart/line/install'
|
||||
// The exported code will be transformed to
|
||||
// import * as LineChart_1 './chart/line/install'; export {LineChart_1 as LineChart};
|
||||
// Treeshaking in webpack will not work even if we configured sideEffects to false in package.json
|
||||
|
||||
export * from './lib/export/charts.js';
|
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
export * from './types/dist/components';
|
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
export * from './lib/export/components.js';
|
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
export * from './types/dist/core';
|
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
export * from './lib/export/core.js';
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,368 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('echarts')) :
|
||||
typeof define === 'function' && define.amd ? define(['exports', 'echarts'], factory) :
|
||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.bmap = {}, global.echarts));
|
||||
}(this, (function (exports, echarts) { 'use strict';
|
||||
|
||||
function BMapCoordSys(bmap, api) {
|
||||
this._bmap = bmap;
|
||||
this.dimensions = ['lng', 'lat'];
|
||||
this._mapOffset = [0, 0];
|
||||
this._api = api;
|
||||
this._projection = new BMap.MercatorProjection();
|
||||
}
|
||||
BMapCoordSys.prototype.type = 'bmap';
|
||||
BMapCoordSys.prototype.dimensions = ['lng', 'lat'];
|
||||
BMapCoordSys.prototype.setZoom = function (zoom) {
|
||||
this._zoom = zoom;
|
||||
};
|
||||
BMapCoordSys.prototype.setCenter = function (center) {
|
||||
this._center = this._projection.lngLatToPoint(new BMap.Point(center[0], center[1]));
|
||||
};
|
||||
BMapCoordSys.prototype.setMapOffset = function (mapOffset) {
|
||||
this._mapOffset = mapOffset;
|
||||
};
|
||||
BMapCoordSys.prototype.getBMap = function () {
|
||||
return this._bmap;
|
||||
};
|
||||
BMapCoordSys.prototype.dataToPoint = function (data) {
|
||||
var point = new BMap.Point(data[0], data[1]);
|
||||
// TODO mercator projection is toooooooo slow
|
||||
// let mercatorPoint = this._projection.lngLatToPoint(point);
|
||||
// let width = this._api.getZr().getWidth();
|
||||
// let height = this._api.getZr().getHeight();
|
||||
// let divider = Math.pow(2, 18 - 10);
|
||||
// return [
|
||||
// Math.round((mercatorPoint.x - this._center.x) / divider + width / 2),
|
||||
// Math.round((this._center.y - mercatorPoint.y) / divider + height / 2)
|
||||
// ];
|
||||
var px = this._bmap.pointToOverlayPixel(point);
|
||||
var mapOffset = this._mapOffset;
|
||||
return [px.x - mapOffset[0], px.y - mapOffset[1]];
|
||||
};
|
||||
BMapCoordSys.prototype.pointToData = function (pt) {
|
||||
var mapOffset = this._mapOffset;
|
||||
pt = this._bmap.overlayPixelToPoint({
|
||||
x: pt[0] + mapOffset[0],
|
||||
y: pt[1] + mapOffset[1]
|
||||
});
|
||||
return [pt.lng, pt.lat];
|
||||
};
|
||||
BMapCoordSys.prototype.getViewRect = function () {
|
||||
var api = this._api;
|
||||
return new echarts.graphic.BoundingRect(0, 0, api.getWidth(), api.getHeight());
|
||||
};
|
||||
BMapCoordSys.prototype.getRoamTransform = function () {
|
||||
return echarts.matrix.create();
|
||||
};
|
||||
BMapCoordSys.prototype.prepareCustoms = function () {
|
||||
var rect = this.getViewRect();
|
||||
return {
|
||||
coordSys: {
|
||||
// The name exposed to user is always 'cartesian2d' but not 'grid'.
|
||||
type: 'bmap',
|
||||
x: rect.x,
|
||||
y: rect.y,
|
||||
width: rect.width,
|
||||
height: rect.height
|
||||
},
|
||||
api: {
|
||||
coord: echarts.util.bind(this.dataToPoint, this),
|
||||
size: echarts.util.bind(dataToCoordSize, this)
|
||||
}
|
||||
};
|
||||
};
|
||||
BMapCoordSys.prototype.convertToPixel = function (ecModel, finder, value) {
|
||||
// here we ignore finder as only one bmap component is allowed
|
||||
return this.dataToPoint(value);
|
||||
};
|
||||
BMapCoordSys.prototype.convertFromPixel = function (ecModel, finder, value) {
|
||||
return this.pointToData(value);
|
||||
};
|
||||
function dataToCoordSize(dataSize, dataItem) {
|
||||
dataItem = dataItem || [0, 0];
|
||||
return echarts.util.map([0, 1], function (dimIdx) {
|
||||
var val = dataItem[dimIdx];
|
||||
var halfSize = dataSize[dimIdx] / 2;
|
||||
var p1 = [];
|
||||
var p2 = [];
|
||||
p1[dimIdx] = val - halfSize;
|
||||
p2[dimIdx] = val + halfSize;
|
||||
p1[1 - dimIdx] = p2[1 - dimIdx] = dataItem[1 - dimIdx];
|
||||
return Math.abs(this.dataToPoint(p1)[dimIdx] - this.dataToPoint(p2)[dimIdx]);
|
||||
}, this);
|
||||
}
|
||||
var Overlay;
|
||||
// For deciding which dimensions to use when creating list data
|
||||
BMapCoordSys.dimensions = BMapCoordSys.prototype.dimensions;
|
||||
function createOverlayCtor() {
|
||||
function Overlay(root) {
|
||||
this._root = root;
|
||||
}
|
||||
Overlay.prototype = new BMap.Overlay();
|
||||
/**
|
||||
* 初始化
|
||||
*
|
||||
* @param {BMap.Map} map
|
||||
* @override
|
||||
*/
|
||||
Overlay.prototype.initialize = function (map) {
|
||||
map.getPanes().labelPane.appendChild(this._root);
|
||||
return this._root;
|
||||
};
|
||||
/**
|
||||
* @override
|
||||
*/
|
||||
Overlay.prototype.draw = function () {};
|
||||
return Overlay;
|
||||
}
|
||||
BMapCoordSys.create = function (ecModel, api) {
|
||||
var bmapCoordSys;
|
||||
var root = api.getDom();
|
||||
// TODO Dispose
|
||||
ecModel.eachComponent('bmap', function (bmapModel) {
|
||||
var painter = api.getZr().painter;
|
||||
var viewportRoot = painter.getViewportRoot();
|
||||
if (typeof BMap === 'undefined') {
|
||||
throw new Error('BMap api is not loaded');
|
||||
}
|
||||
Overlay = Overlay || createOverlayCtor();
|
||||
if (bmapCoordSys) {
|
||||
throw new Error('Only one bmap component can exist');
|
||||
}
|
||||
var bmap;
|
||||
if (!bmapModel.__bmap) {
|
||||
// Not support IE8
|
||||
var bmapRoot = root.querySelector('.ec-extension-bmap');
|
||||
if (bmapRoot) {
|
||||
// Reset viewport left and top, which will be changed
|
||||
// in moving handler in BMapView
|
||||
viewportRoot.style.left = '0px';
|
||||
viewportRoot.style.top = '0px';
|
||||
root.removeChild(bmapRoot);
|
||||
}
|
||||
bmapRoot = document.createElement('div');
|
||||
bmapRoot.className = 'ec-extension-bmap';
|
||||
// fix #13424
|
||||
bmapRoot.style.cssText = 'position:absolute;width:100%;height:100%';
|
||||
root.appendChild(bmapRoot);
|
||||
// initializes bmap
|
||||
var mapOptions = bmapModel.get('mapOptions');
|
||||
if (mapOptions) {
|
||||
mapOptions = echarts.util.clone(mapOptions);
|
||||
// Not support `mapType`, use `bmap.setMapType(MapType)` instead.
|
||||
delete mapOptions.mapType;
|
||||
}
|
||||
bmap = bmapModel.__bmap = new BMap.Map(bmapRoot, mapOptions);
|
||||
var overlay = new Overlay(viewportRoot);
|
||||
bmap.addOverlay(overlay);
|
||||
// Override
|
||||
painter.getViewportRootOffset = function () {
|
||||
return {
|
||||
offsetLeft: 0,
|
||||
offsetTop: 0
|
||||
};
|
||||
};
|
||||
}
|
||||
bmap = bmapModel.__bmap;
|
||||
// Set bmap options
|
||||
// centerAndZoom before layout and render
|
||||
var center = bmapModel.get('center');
|
||||
var zoom = bmapModel.get('zoom');
|
||||
if (center && zoom) {
|
||||
var bmapCenter = bmap.getCenter();
|
||||
var bmapZoom = bmap.getZoom();
|
||||
var centerOrZoomChanged = bmapModel.centerOrZoomChanged([bmapCenter.lng, bmapCenter.lat], bmapZoom);
|
||||
if (centerOrZoomChanged) {
|
||||
var pt = new BMap.Point(center[0], center[1]);
|
||||
bmap.centerAndZoom(pt, zoom);
|
||||
}
|
||||
}
|
||||
bmapCoordSys = new BMapCoordSys(bmap, api);
|
||||
bmapCoordSys.setMapOffset(bmapModel.__mapOffset || [0, 0]);
|
||||
bmapCoordSys.setZoom(zoom);
|
||||
bmapCoordSys.setCenter(center);
|
||||
bmapModel.coordinateSystem = bmapCoordSys;
|
||||
});
|
||||
ecModel.eachSeries(function (seriesModel) {
|
||||
if (seriesModel.get('coordinateSystem') === 'bmap') {
|
||||
seriesModel.coordinateSystem = bmapCoordSys;
|
||||
}
|
||||
});
|
||||
// return created coordinate systems
|
||||
return bmapCoordSys && [bmapCoordSys];
|
||||
};
|
||||
|
||||
function v2Equal(a, b) {
|
||||
return a && b && a[0] === b[0] && a[1] === b[1];
|
||||
}
|
||||
echarts.extendComponentModel({
|
||||
type: 'bmap',
|
||||
getBMap: function () {
|
||||
// __bmap is injected when creating BMapCoordSys
|
||||
return this.__bmap;
|
||||
},
|
||||
setCenterAndZoom: function (center, zoom) {
|
||||
this.option.center = center;
|
||||
this.option.zoom = zoom;
|
||||
},
|
||||
centerOrZoomChanged: function (center, zoom) {
|
||||
var option = this.option;
|
||||
return !(v2Equal(center, option.center) && zoom === option.zoom);
|
||||
},
|
||||
defaultOption: {
|
||||
center: [104.114129, 37.550339],
|
||||
zoom: 5,
|
||||
// 2.0 https://lbsyun.baidu.com/custom/index.htm
|
||||
mapStyle: {},
|
||||
// 3.0 https://lbsyun.baidu.com/index.php?title=open/custom
|
||||
mapStyleV2: {},
|
||||
// See https://lbsyun.baidu.com/cms/jsapi/reference/jsapi_reference.html#a0b1
|
||||
mapOptions: {},
|
||||
roam: false
|
||||
}
|
||||
});
|
||||
|
||||
function isEmptyObject(obj) {
|
||||
for (var key in obj) {
|
||||
if (obj.hasOwnProperty(key)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
echarts.extendComponentView({
|
||||
type: 'bmap',
|
||||
render: function (bMapModel, ecModel, api) {
|
||||
var rendering = true;
|
||||
var bmap = bMapModel.getBMap();
|
||||
var viewportRoot = api.getZr().painter.getViewportRoot();
|
||||
var coordSys = bMapModel.coordinateSystem;
|
||||
var moveHandler = function (type, target) {
|
||||
if (rendering) {
|
||||
return;
|
||||
}
|
||||
var offsetEl = viewportRoot.parentNode.parentNode.parentNode;
|
||||
var mapOffset = [-parseInt(offsetEl.style.left, 10) || 0, -parseInt(offsetEl.style.top, 10) || 0];
|
||||
// only update style when map offset changed
|
||||
var viewportRootStyle = viewportRoot.style;
|
||||
var offsetLeft = mapOffset[0] + 'px';
|
||||
var offsetTop = mapOffset[1] + 'px';
|
||||
if (viewportRootStyle.left !== offsetLeft) {
|
||||
viewportRootStyle.left = offsetLeft;
|
||||
}
|
||||
if (viewportRootStyle.top !== offsetTop) {
|
||||
viewportRootStyle.top = offsetTop;
|
||||
}
|
||||
coordSys.setMapOffset(mapOffset);
|
||||
bMapModel.__mapOffset = mapOffset;
|
||||
api.dispatchAction({
|
||||
type: 'bmapRoam',
|
||||
animation: {
|
||||
duration: 0
|
||||
}
|
||||
});
|
||||
};
|
||||
function zoomEndHandler() {
|
||||
if (rendering) {
|
||||
return;
|
||||
}
|
||||
api.dispatchAction({
|
||||
type: 'bmapRoam',
|
||||
animation: {
|
||||
duration: 0
|
||||
}
|
||||
});
|
||||
}
|
||||
bmap.removeEventListener('moving', this._oldMoveHandler);
|
||||
bmap.removeEventListener('moveend', this._oldMoveHandler);
|
||||
bmap.removeEventListener('zoomend', this._oldZoomEndHandler);
|
||||
bmap.addEventListener('moving', moveHandler);
|
||||
bmap.addEventListener('moveend', moveHandler);
|
||||
bmap.addEventListener('zoomend', zoomEndHandler);
|
||||
this._oldMoveHandler = moveHandler;
|
||||
this._oldZoomEndHandler = zoomEndHandler;
|
||||
var roam = bMapModel.get('roam');
|
||||
if (roam && roam !== 'scale') {
|
||||
bmap.enableDragging();
|
||||
} else {
|
||||
bmap.disableDragging();
|
||||
}
|
||||
if (roam && roam !== 'move') {
|
||||
bmap.enableScrollWheelZoom();
|
||||
bmap.enableDoubleClickZoom();
|
||||
bmap.enablePinchToZoom();
|
||||
} else {
|
||||
bmap.disableScrollWheelZoom();
|
||||
bmap.disableDoubleClickZoom();
|
||||
bmap.disablePinchToZoom();
|
||||
}
|
||||
/* map 2.0 */
|
||||
var originalStyle = bMapModel.__mapStyle;
|
||||
var newMapStyle = bMapModel.get('mapStyle') || {};
|
||||
// FIXME, Not use JSON methods
|
||||
var mapStyleStr = JSON.stringify(newMapStyle);
|
||||
if (JSON.stringify(originalStyle) !== mapStyleStr) {
|
||||
// FIXME May have blank tile when dragging if setMapStyle
|
||||
if (!isEmptyObject(newMapStyle)) {
|
||||
bmap.setMapStyle(echarts.util.clone(newMapStyle));
|
||||
}
|
||||
bMapModel.__mapStyle = JSON.parse(mapStyleStr);
|
||||
}
|
||||
/* map 3.0 */
|
||||
var originalStyle2 = bMapModel.__mapStyle2;
|
||||
var newMapStyle2 = bMapModel.get('mapStyleV2') || {};
|
||||
// FIXME, Not use JSON methods
|
||||
var mapStyleStr2 = JSON.stringify(newMapStyle2);
|
||||
if (JSON.stringify(originalStyle2) !== mapStyleStr2) {
|
||||
// FIXME May have blank tile when dragging if setMapStyle
|
||||
if (!isEmptyObject(newMapStyle2)) {
|
||||
bmap.setMapStyleV2(echarts.util.clone(newMapStyle2));
|
||||
}
|
||||
bMapModel.__mapStyle2 = JSON.parse(mapStyleStr2);
|
||||
}
|
||||
rendering = false;
|
||||
}
|
||||
});
|
||||
|
||||
echarts.registerCoordinateSystem('bmap', BMapCoordSys);
|
||||
// Action
|
||||
echarts.registerAction({
|
||||
type: 'bmapRoam',
|
||||
event: 'bmapRoam',
|
||||
update: 'updateLayout'
|
||||
}, function (payload, ecModel) {
|
||||
ecModel.eachComponent('bmap', function (bMapModel) {
|
||||
var bmap = bMapModel.getBMap();
|
||||
var center = bmap.getCenter();
|
||||
bMapModel.setCenterAndZoom([center.lng, center.lat], bmap.getZoom());
|
||||
});
|
||||
});
|
||||
var version = '1.0.0';
|
||||
|
||||
exports.version = version;
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
})));
|
||||
//# sourceMappingURL=bmap.js.map
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,22 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("echarts")):"function"==typeof define&&define.amd?define(["exports","echarts"],t):t((e=e||self).bmap={},e.echarts)}(this,function(e,d){"use strict";function l(e,t){this._bmap=e,this.dimensions=["lng","lat"],this._mapOffset=[0,0],this._api=t,this._projection=new BMap.MercatorProjection}function t(a,r){return r=r||[0,0],d.util.map([0,1],function(e){var t=r[e],o=a[e]/2,n=[],i=[];return n[e]=t-o,i[e]=t+o,n[1-e]=i[1-e]=r[1-e],Math.abs(this.dataToPoint(n)[e]-this.dataToPoint(i)[e])},this)}var c;function f(e){for(var t in e)if(e.hasOwnProperty(t))return;return 1}l.prototype.dimensions=["lng","lat"],l.prototype.setZoom=function(e){this._zoom=e},l.prototype.setCenter=function(e){this._center=this._projection.lngLatToPoint(new BMap.Point(e[0],e[1]))},l.prototype.setMapOffset=function(e){this._mapOffset=e},l.prototype.getBMap=function(){return this._bmap},l.prototype.dataToPoint=function(e){var t=new BMap.Point(e[0],e[1]),e=this._bmap.pointToOverlayPixel(t),t=this._mapOffset;return[e.x-t[0],e.y-t[1]]},l.prototype.pointToData=function(e){var t=this._mapOffset;return[(e=this._bmap.overlayPixelToPoint({x:e[0]+t[0],y:e[1]+t[1]})).lng,e.lat]},l.prototype.getViewRect=function(){var e=this._api;return new d.graphic.BoundingRect(0,0,e.getWidth(),e.getHeight())},l.prototype.getRoamTransform=function(){return d.matrix.create()},l.prototype.prepareCustoms=function(){var e=this.getViewRect();return{coordSys:{type:"bmap",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:d.util.bind(this.dataToPoint,this),size:d.util.bind(t,this)}}},l.dimensions=l.prototype.dimensions,l.create=function(e,p){var s,m=p.getDom();e.eachComponent("bmap",function(e){var t,o=p.getZr().painter,n=o.getViewportRoot();if("undefined"==typeof BMap)throw new Error("BMap api is not loaded");function i(e){this._root=e}if(c=c||((i.prototype=new BMap.Overlay).initialize=function(e){return e.getPanes().labelPane.appendChild(this._root),this._root},i.prototype.draw=function(){},i),s)throw new Error("Only one bmap component can exist");e.__bmap||((a=m.querySelector(".ec-extension-bmap"))&&(n.style.left="0px",n.style.top="0px",m.removeChild(a)),(a=document.createElement("div")).className="ec-extension-bmap",a.style.cssText="position:absolute;width:100%;height:100%",m.appendChild(a),(r=e.get("mapOptions"))&&delete(r=d.util.clone(r)).mapType,t=e.__bmap=new BMap.Map(a,r),a=new c(n),t.addOverlay(a),o.getViewportRootOffset=function(){return{offsetLeft:0,offsetTop:0}}),t=e.__bmap;var a,r=e.get("center"),n=e.get("zoom");r&&n&&(a=t.getCenter(),o=t.getZoom(),e.centerOrZoomChanged([a.lng,a.lat],o)&&(o=new BMap.Point(r[0],r[1]),t.centerAndZoom(o,n))),(s=new l(t,p)).setMapOffset(e.__mapOffset||[0,0]),s.setZoom(n),s.setCenter(r),e.coordinateSystem=s}),e.eachSeries(function(e){"bmap"===e.get("coordinateSystem")&&(e.coordinateSystem=s)})},d.extendComponentModel({type:"bmap",getBMap:function(){return this.__bmap},setCenterAndZoom:function(e,t){this.option.center=e,this.option.zoom=t},centerOrZoomChanged:function(e,t){var o,n=this.option;return o=e,e=n.center,!(o&&e&&o[0]===e[0]&&o[1]===e[1]&&t===n.zoom)},defaultOption:{center:[104.114129,37.550339],zoom:5,mapStyle:{},mapStyleV2:{},mapOptions:{},roam:!1}}),d.extendComponentView({type:"bmap",render:function(r,e,p){var s=!0,t=r.getBMap(),m=p.getZr().painter.getViewportRoot(),l=r.coordinateSystem,o=function(e,t){var o,n,i,a;s||(a=m.parentNode.parentNode.parentNode,o=[-parseInt(a.style.left,10)||0,-parseInt(a.style.top,10)||0],n=m.style,i=o[0]+"px",a=o[1]+"px",n.left!==i&&(n.left=i),n.top!==a&&(n.top=a),l.setMapOffset(o),r.__mapOffset=o,p.dispatchAction({type:"bmapRoam",animation:{duration:0}}))};function n(){s||p.dispatchAction({type:"bmapRoam",animation:{duration:0}})}t.removeEventListener("moving",this._oldMoveHandler),t.removeEventListener("moveend",this._oldMoveHandler),t.removeEventListener("zoomend",this._oldZoomEndHandler),t.addEventListener("moving",o),t.addEventListener("moveend",o),t.addEventListener("zoomend",n),this._oldMoveHandler=o,this._oldZoomEndHandler=n;var i=r.get("roam");i&&"scale"!==i?t.enableDragging():t.disableDragging(),i&&"move"!==i?(t.enableScrollWheelZoom(),t.enableDoubleClickZoom(),t.enablePinchToZoom()):(t.disableScrollWheelZoom(),t.disableDoubleClickZoom(),t.disablePinchToZoom());var a=r.__mapStyle,o=r.get("mapStyle")||{},i=JSON.stringify(o);JSON.stringify(a)!==i&&(f(o)||t.setMapStyle(d.util.clone(o)),r.__mapStyle=JSON.parse(i));a=r.__mapStyle2,o=r.get("mapStyleV2")||{},i=JSON.stringify(o);JSON.stringify(a)!==i&&(f(o)||t.setMapStyleV2(d.util.clone(o)),r.__mapStyle2=JSON.parse(i)),s=!1}}),d.registerCoordinateSystem("bmap",l),d.registerAction({type:"bmapRoam",event:"bmapRoam",update:"updateLayout"},function(e,t){t.eachComponent("bmap",function(e){var t=e.getBMap(),o=t.getCenter();e.setCenterAndZoom([o.lng,o.lat],t.getZoom())})});e.version="1.0.0",Object.defineProperty(e,"__esModule",{value:!0})});
|
@ -0,0 +1,402 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('echarts')) :
|
||||
typeof define === 'function' && define.amd ? define(['exports', 'echarts'], factory) :
|
||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.dataTool = {}, global.echarts));
|
||||
}(this, (function (exports, echarts) { 'use strict';
|
||||
|
||||
var BUILTIN_OBJECT = reduce([
|
||||
'Function',
|
||||
'RegExp',
|
||||
'Date',
|
||||
'Error',
|
||||
'CanvasGradient',
|
||||
'CanvasPattern',
|
||||
'Image',
|
||||
'Canvas'
|
||||
], function (obj, val) {
|
||||
obj['[object ' + val + ']'] = true;
|
||||
return obj;
|
||||
}, {});
|
||||
var TYPED_ARRAY = reduce([
|
||||
'Int8',
|
||||
'Uint8',
|
||||
'Uint8Clamped',
|
||||
'Int16',
|
||||
'Uint16',
|
||||
'Int32',
|
||||
'Uint32',
|
||||
'Float32',
|
||||
'Float64'
|
||||
], function (obj, val) {
|
||||
obj['[object ' + val + 'Array]'] = true;
|
||||
return obj;
|
||||
}, {});
|
||||
var arrayProto = Array.prototype;
|
||||
var nativeSlice = arrayProto.slice;
|
||||
var nativeMap = arrayProto.map;
|
||||
var ctorFunction = function () { }.constructor;
|
||||
var protoFunction = ctorFunction ? ctorFunction.prototype : null;
|
||||
function map(arr, cb, context) {
|
||||
if (!arr) {
|
||||
return [];
|
||||
}
|
||||
if (!cb) {
|
||||
return slice(arr);
|
||||
}
|
||||
if (arr.map && arr.map === nativeMap) {
|
||||
return arr.map(cb, context);
|
||||
}
|
||||
else {
|
||||
var result = [];
|
||||
for (var i = 0, len = arr.length; i < len; i++) {
|
||||
result.push(cb.call(context, arr[i], i, arr));
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
function reduce(arr, cb, memo, context) {
|
||||
if (!(arr && cb)) {
|
||||
return;
|
||||
}
|
||||
for (var i = 0, len = arr.length; i < len; i++) {
|
||||
memo = cb.call(context, memo, arr[i], i, arr);
|
||||
}
|
||||
return memo;
|
||||
}
|
||||
function bindPolyfill(func, context) {
|
||||
var args = [];
|
||||
for (var _i = 2; _i < arguments.length; _i++) {
|
||||
args[_i - 2] = arguments[_i];
|
||||
}
|
||||
return function () {
|
||||
return func.apply(context, args.concat(nativeSlice.call(arguments)));
|
||||
};
|
||||
}
|
||||
var bind = (protoFunction && isFunction(protoFunction.bind))
|
||||
? protoFunction.call.bind(protoFunction.bind)
|
||||
: bindPolyfill;
|
||||
function isFunction(value) {
|
||||
return typeof value === 'function';
|
||||
}
|
||||
function slice(arr) {
|
||||
var args = [];
|
||||
for (var _i = 1; _i < arguments.length; _i++) {
|
||||
args[_i - 1] = arguments[_i];
|
||||
}
|
||||
return nativeSlice.apply(arr, args);
|
||||
}
|
||||
|
||||
function parse(xml) {
|
||||
var doc;
|
||||
if (typeof xml === 'string') {
|
||||
var parser = new DOMParser();
|
||||
doc = parser.parseFromString(xml, 'text/xml');
|
||||
} else {
|
||||
doc = xml;
|
||||
}
|
||||
if (!doc || doc.getElementsByTagName('parsererror').length) {
|
||||
return null;
|
||||
}
|
||||
var gexfRoot = getChildByTagName(doc, 'gexf');
|
||||
if (!gexfRoot) {
|
||||
return null;
|
||||
}
|
||||
var graphRoot = getChildByTagName(gexfRoot, 'graph');
|
||||
var attributes = parseAttributes(getChildByTagName(graphRoot, 'attributes'));
|
||||
var attributesMap = {};
|
||||
for (var i = 0; i < attributes.length; i++) {
|
||||
attributesMap[attributes[i].id] = attributes[i];
|
||||
}
|
||||
return {
|
||||
nodes: parseNodes(getChildByTagName(graphRoot, 'nodes'), attributesMap),
|
||||
links: parseEdges(getChildByTagName(graphRoot, 'edges'))
|
||||
};
|
||||
}
|
||||
function parseAttributes(parent) {
|
||||
return parent ? map(getChildrenByTagName(parent, 'attribute'), function (attribDom) {
|
||||
return {
|
||||
id: getAttr(attribDom, 'id'),
|
||||
title: getAttr(attribDom, 'title'),
|
||||
type: getAttr(attribDom, 'type')
|
||||
};
|
||||
}) : [];
|
||||
}
|
||||
function parseNodes(parent, attributesMap) {
|
||||
return parent ? map(getChildrenByTagName(parent, 'node'), function (nodeDom) {
|
||||
var id = getAttr(nodeDom, 'id');
|
||||
var label = getAttr(nodeDom, 'label');
|
||||
var node = {
|
||||
id: id,
|
||||
name: label,
|
||||
itemStyle: {
|
||||
normal: {}
|
||||
}
|
||||
};
|
||||
var vizSizeDom = getChildByTagName(nodeDom, 'viz:size');
|
||||
var vizPosDom = getChildByTagName(nodeDom, 'viz:position');
|
||||
var vizColorDom = getChildByTagName(nodeDom, 'viz:color');
|
||||
// let vizShapeDom = getChildByTagName(nodeDom, 'viz:shape');
|
||||
var attvaluesDom = getChildByTagName(nodeDom, 'attvalues');
|
||||
if (vizSizeDom) {
|
||||
node.symbolSize = parseFloat(getAttr(vizSizeDom, 'value'));
|
||||
}
|
||||
if (vizPosDom) {
|
||||
node.x = parseFloat(getAttr(vizPosDom, 'x'));
|
||||
node.y = parseFloat(getAttr(vizPosDom, 'y'));
|
||||
// z
|
||||
}
|
||||
if (vizColorDom) {
|
||||
node.itemStyle.normal.color = 'rgb(' + [getAttr(vizColorDom, 'r') | 0, getAttr(vizColorDom, 'g') | 0, getAttr(vizColorDom, 'b') | 0].join(',') + ')';
|
||||
}
|
||||
// if (vizShapeDom) {
|
||||
// node.shape = getAttr(vizShapeDom, 'shape');
|
||||
// }
|
||||
if (attvaluesDom) {
|
||||
var attvalueDomList = getChildrenByTagName(attvaluesDom, 'attvalue');
|
||||
node.attributes = {};
|
||||
for (var j = 0; j < attvalueDomList.length; j++) {
|
||||
var attvalueDom = attvalueDomList[j];
|
||||
var attId = getAttr(attvalueDom, 'for');
|
||||
var attValue = getAttr(attvalueDom, 'value');
|
||||
var attribute = attributesMap[attId];
|
||||
if (attribute) {
|
||||
switch (attribute.type) {
|
||||
case 'integer':
|
||||
case 'long':
|
||||
attValue = parseInt(attValue, 10);
|
||||
break;
|
||||
case 'float':
|
||||
case 'double':
|
||||
attValue = parseFloat(attValue);
|
||||
break;
|
||||
case 'boolean':
|
||||
attValue = attValue.toLowerCase() === 'true';
|
||||
break;
|
||||
}
|
||||
node.attributes[attId] = attValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
return node;
|
||||
}) : [];
|
||||
}
|
||||
function parseEdges(parent) {
|
||||
return parent ? map(getChildrenByTagName(parent, 'edge'), function (edgeDom) {
|
||||
var id = getAttr(edgeDom, 'id');
|
||||
var label = getAttr(edgeDom, 'label');
|
||||
var sourceId = getAttr(edgeDom, 'source');
|
||||
var targetId = getAttr(edgeDom, 'target');
|
||||
var edge = {
|
||||
id: id,
|
||||
name: label,
|
||||
source: sourceId,
|
||||
target: targetId,
|
||||
lineStyle: {
|
||||
normal: {}
|
||||
}
|
||||
};
|
||||
var lineStyle = edge.lineStyle.normal;
|
||||
var vizThicknessDom = getChildByTagName(edgeDom, 'viz:thickness');
|
||||
var vizColorDom = getChildByTagName(edgeDom, 'viz:color');
|
||||
// let vizShapeDom = getChildByTagName(edgeDom, 'viz:shape');
|
||||
if (vizThicknessDom) {
|
||||
lineStyle.width = parseFloat(vizThicknessDom.getAttribute('value'));
|
||||
}
|
||||
if (vizColorDom) {
|
||||
lineStyle.color = 'rgb(' + [getAttr(vizColorDom, 'r') | 0, getAttr(vizColorDom, 'g') | 0, getAttr(vizColorDom, 'b') | 0].join(',') + ')';
|
||||
}
|
||||
// if (vizShapeDom) {
|
||||
// edge.shape = vizShapeDom.getAttribute('shape');
|
||||
// }
|
||||
return edge;
|
||||
}) : [];
|
||||
}
|
||||
function getAttr(el, attrName) {
|
||||
return el.getAttribute(attrName);
|
||||
}
|
||||
function getChildByTagName(parent, tagName) {
|
||||
var node = parent.firstChild;
|
||||
while (node) {
|
||||
if (node.nodeType !== 1 || node.nodeName.toLowerCase() !== tagName.toLowerCase()) {
|
||||
node = node.nextSibling;
|
||||
} else {
|
||||
return node;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function getChildrenByTagName(parent, tagName) {
|
||||
var node = parent.firstChild;
|
||||
var children = [];
|
||||
while (node) {
|
||||
if (node.nodeName.toLowerCase() === tagName.toLowerCase()) {
|
||||
children.push(node);
|
||||
}
|
||||
node = node.nextSibling;
|
||||
}
|
||||
return children;
|
||||
}
|
||||
|
||||
var gexf = /*#__PURE__*/Object.freeze({
|
||||
__proto__: null,
|
||||
parse: parse
|
||||
});
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
function asc(arr) {
|
||||
arr.sort(function (a, b) {
|
||||
return a - b;
|
||||
});
|
||||
return arr;
|
||||
}
|
||||
function quantile(ascArr, p) {
|
||||
var H = (ascArr.length - 1) * p + 1;
|
||||
var h = Math.floor(H);
|
||||
var v = +ascArr[h - 1];
|
||||
var e = H - h;
|
||||
return e ? v + e * (ascArr[h] - v) : v;
|
||||
}
|
||||
/**
|
||||
* See:
|
||||
* <https://en.wikipedia.org/wiki/Box_plot#cite_note-frigge_hoaglin_iglewicz-2>
|
||||
* <http://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/boxplot.stats.html>
|
||||
*
|
||||
* Helper method for preparing data.
|
||||
*
|
||||
* @param {Array.<number>} rawData like
|
||||
* [
|
||||
* [12,232,443], (raw data set for the first box)
|
||||
* [3843,5545,1232], (raw data set for the second box)
|
||||
* ...
|
||||
* ]
|
||||
* @param {Object} [opt]
|
||||
*
|
||||
* @param {(number|string)} [opt.boundIQR=1.5] Data less than min bound is outlier.
|
||||
* default 1.5, means Q1 - 1.5 * (Q3 - Q1).
|
||||
* If 'none'/0 passed, min bound will not be used.
|
||||
* @param {(number|string)} [opt.layout='horizontal']
|
||||
* Box plot layout, can be 'horizontal' or 'vertical'
|
||||
* @return {Object} {
|
||||
* boxData: Array.<Array.<number>>
|
||||
* outliers: Array.<Array.<number>>
|
||||
* axisData: Array.<string>
|
||||
* }
|
||||
*/
|
||||
function prepareBoxplotData (rawData, opt) {
|
||||
opt = opt || {};
|
||||
var boxData = [];
|
||||
var outliers = [];
|
||||
var axisData = [];
|
||||
var boundIQR = opt.boundIQR;
|
||||
var useExtreme = boundIQR === 'none' || boundIQR === 0;
|
||||
for (var i = 0; i < rawData.length; i++) {
|
||||
axisData.push(i + '');
|
||||
var ascList = asc(rawData[i].slice());
|
||||
var Q1 = quantile(ascList, 0.25);
|
||||
var Q2 = quantile(ascList, 0.5);
|
||||
var Q3 = quantile(ascList, 0.75);
|
||||
var min = ascList[0];
|
||||
var max = ascList[ascList.length - 1];
|
||||
var bound = (boundIQR == null ? 1.5 : boundIQR) * (Q3 - Q1);
|
||||
var low = useExtreme ? min : Math.max(min, Q1 - bound);
|
||||
var high = useExtreme ? max : Math.min(max, Q3 + bound);
|
||||
boxData.push([low, Q1, Q2, Q3, high]);
|
||||
for (var j = 0; j < ascList.length; j++) {
|
||||
var dataItem = ascList[j];
|
||||
if (dataItem < low || dataItem > high) {
|
||||
var outlier = [i, dataItem];
|
||||
opt.layout === 'vertical' && outlier.reverse();
|
||||
outliers.push(outlier);
|
||||
}
|
||||
}
|
||||
}
|
||||
return {
|
||||
boxData: boxData,
|
||||
outliers: outliers,
|
||||
axisData: axisData
|
||||
};
|
||||
}
|
||||
|
||||
// import { boxplotTransform } from './boxplotTransform.js';
|
||||
var version = '1.0.0';
|
||||
// export {boxplotTransform};
|
||||
// For backward compatibility, where the namespace `dataTool` will
|
||||
// be mounted on `echarts` is the extension `dataTool` is imported.
|
||||
// But the old version of echarts do not have `dataTool` namespace,
|
||||
// so check it before mounting.
|
||||
if (echarts.dataTool) {
|
||||
echarts.dataTool.version = version;
|
||||
echarts.dataTool.gexf = gexf;
|
||||
echarts.dataTool.prepareBoxplotData = prepareBoxplotData;
|
||||
// echarts.dataTool.boxplotTransform = boxplotTransform;
|
||||
}
|
||||
|
||||
exports.gexf = gexf;
|
||||
exports.prepareBoxplotData = prepareBoxplotData;
|
||||
exports.version = version;
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
})));
|
||||
//# sourceMappingURL=dataTool.js.map
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,22 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("echarts")):"function"==typeof define&&define.amd?define(["exports","echarts"],t):t((e=e||self).dataTool={},e.echarts)}(this,function(e,t){"use strict";var r=Array.prototype,i=r.slice,l=r.map,o=function(){}.constructor,r=o?o.prototype:null;function a(e,t,r){if(!e)return[];if(!t)return function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return i.apply(e,t)}(e);if(e.map&&e.map===l)return e.map(t,r);for(var o=[],n=0,a=e.length;n<a;n++)o.push(t.call(r,e[n],n,e));return o}r&&"function"==typeof r.bind&&r.call.bind(r.bind);function p(e,t){return e.getAttribute(t)}function c(e,t){for(var r=e.firstChild;r;){if(1===r.nodeType&&r.nodeName.toLowerCase()===t.toLowerCase())return r;r=r.nextSibling}return null}function d(e,t){for(var r=e.firstChild,o=[];r;)r.nodeName.toLowerCase()===t.toLowerCase()&&o.push(r),r=r.nextSibling;return o}o=Object.freeze({__proto__:null,parse:function(e){if(!(t="string"==typeof e?(new DOMParser).parseFromString(e,"text/xml"):e)||t.getElementsByTagName("parsererror").length)return null;if(!(e=c(t,"gexf")))return null;for(var f,t=c(e,"graph"),r=(e=c(t,"attributes"))?a(d(e,"attribute"),function(e){return{id:p(e,"id"),title:p(e,"title"),type:p(e,"type")}}):[],o={},n=0;n<r.length;n++)o[r[n].id]=r[n];return{nodes:(e=c(t,"nodes"),f=o,e?a(d(e,"node"),function(e){var t={id:p(e,"id"),name:p(e,"label"),itemStyle:{normal:{}}},r=c(e,"viz:size"),o=c(e,"viz:position"),n=c(e,"viz:color"),e=c(e,"attvalues");if(r&&(t.symbolSize=parseFloat(p(r,"value"))),o&&(t.x=parseFloat(p(o,"x")),t.y=parseFloat(p(o,"y"))),n&&(t.itemStyle.normal.color="rgb("+[0|p(n,"r"),0|p(n,"g"),0|p(n,"b")].join(",")+")"),e){var a=d(e,"attvalue");t.attributes={};for(var i=0;i<a.length;i++){var l=a[i],u=p(l,"for"),s=p(l,"value"),l=f[u];if(l){switch(l.type){case"integer":case"long":s=parseInt(s,10);break;case"float":case"double":s=parseFloat(s);break;case"boolean":s="true"===s.toLowerCase()}t.attributes[u]=s}}}return t}):[]),links:(t=c(t,"edges"))?a(d(t,"edge"),function(e){var t={id:p(e,"id"),name:p(e,"label"),source:p(e,"source"),target:p(e,"target"),lineStyle:{normal:{}}},r=t.lineStyle.normal,o=c(e,"viz:thickness"),e=c(e,"viz:color");return o&&(r.width=parseFloat(o.getAttribute("value"))),e&&(r.color="rgb("+[0|p(e,"r"),0|p(e,"g"),0|p(e,"b")].join(",")+")"),t}):[]}}});function y(e,t){var r=(e.length-1)*t+1,o=Math.floor(r),t=+e[o-1],r=r-o;return r?t+r*(e[o]-t):t}function n(e,t){for(var r=[],o=[],n=[],a=(t=t||{}).boundIQR,i="none"===a||0===a,l=0;l<e.length;l++){n.push(l+"");var u=((g=e[l].slice()).sort(function(e,t){return e-t}),g),s=y(u,.25),f=y(u,.5),p=y(u,.75),c=u[0],d=u[u.length-1],g=(null==a?1.5:a)*(p-s),v=i?c:Math.max(c,s-g),b=i?d:Math.min(d,p+g);r.push([v,s,f,p,b]);for(var h=0;h<u.length;h++){var m=u[h];(m<v||b<m)&&(m=[l,m],"vertical"===t.layout&&m.reverse(),o.push(m))}}return{boxData:r,outliers:o,axisData:n}}r="1.0.0";t.dataTool&&(t.dataTool.version=r,t.dataTool.gexf=o,t.dataTool.prepareBoxplotData=n),e.gexf=o,e.prepareBoxplotData=n,e.version=r,Object.defineProperty(e,"__esModule",{value:!0})});
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "commonjs"
|
||||
}
|
@ -0,0 +1,235 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
// @ts-nocheck
|
||||
/* global BMap */
|
||||
import { util as zrUtil, graphic, matrix } from 'echarts';
|
||||
function BMapCoordSys(bmap, api) {
|
||||
this._bmap = bmap;
|
||||
this.dimensions = ['lng', 'lat'];
|
||||
this._mapOffset = [0, 0];
|
||||
this._api = api;
|
||||
this._projection = new BMap.MercatorProjection();
|
||||
}
|
||||
BMapCoordSys.prototype.type = 'bmap';
|
||||
BMapCoordSys.prototype.dimensions = ['lng', 'lat'];
|
||||
BMapCoordSys.prototype.setZoom = function (zoom) {
|
||||
this._zoom = zoom;
|
||||
};
|
||||
BMapCoordSys.prototype.setCenter = function (center) {
|
||||
this._center = this._projection.lngLatToPoint(new BMap.Point(center[0], center[1]));
|
||||
};
|
||||
BMapCoordSys.prototype.setMapOffset = function (mapOffset) {
|
||||
this._mapOffset = mapOffset;
|
||||
};
|
||||
BMapCoordSys.prototype.getBMap = function () {
|
||||
return this._bmap;
|
||||
};
|
||||
BMapCoordSys.prototype.dataToPoint = function (data) {
|
||||
var point = new BMap.Point(data[0], data[1]);
|
||||
// TODO mercator projection is toooooooo slow
|
||||
// let mercatorPoint = this._projection.lngLatToPoint(point);
|
||||
// let width = this._api.getZr().getWidth();
|
||||
// let height = this._api.getZr().getHeight();
|
||||
// let divider = Math.pow(2, 18 - 10);
|
||||
// return [
|
||||
// Math.round((mercatorPoint.x - this._center.x) / divider + width / 2),
|
||||
// Math.round((this._center.y - mercatorPoint.y) / divider + height / 2)
|
||||
// ];
|
||||
var px = this._bmap.pointToOverlayPixel(point);
|
||||
var mapOffset = this._mapOffset;
|
||||
return [px.x - mapOffset[0], px.y - mapOffset[1]];
|
||||
};
|
||||
BMapCoordSys.prototype.pointToData = function (pt) {
|
||||
var mapOffset = this._mapOffset;
|
||||
pt = this._bmap.overlayPixelToPoint({
|
||||
x: pt[0] + mapOffset[0],
|
||||
y: pt[1] + mapOffset[1]
|
||||
});
|
||||
return [pt.lng, pt.lat];
|
||||
};
|
||||
BMapCoordSys.prototype.getViewRect = function () {
|
||||
var api = this._api;
|
||||
return new graphic.BoundingRect(0, 0, api.getWidth(), api.getHeight());
|
||||
};
|
||||
BMapCoordSys.prototype.getRoamTransform = function () {
|
||||
return matrix.create();
|
||||
};
|
||||
BMapCoordSys.prototype.prepareCustoms = function () {
|
||||
var rect = this.getViewRect();
|
||||
return {
|
||||
coordSys: {
|
||||
// The name exposed to user is always 'cartesian2d' but not 'grid'.
|
||||
type: 'bmap',
|
||||
x: rect.x,
|
||||
y: rect.y,
|
||||
width: rect.width,
|
||||
height: rect.height
|
||||
},
|
||||
api: {
|
||||
coord: zrUtil.bind(this.dataToPoint, this),
|
||||
size: zrUtil.bind(dataToCoordSize, this)
|
||||
}
|
||||
};
|
||||
};
|
||||
BMapCoordSys.prototype.convertToPixel = function (ecModel, finder, value) {
|
||||
// here we ignore finder as only one bmap component is allowed
|
||||
return this.dataToPoint(value);
|
||||
};
|
||||
BMapCoordSys.prototype.convertFromPixel = function (ecModel, finder, value) {
|
||||
return this.pointToData(value);
|
||||
};
|
||||
function dataToCoordSize(dataSize, dataItem) {
|
||||
dataItem = dataItem || [0, 0];
|
||||
return zrUtil.map([0, 1], function (dimIdx) {
|
||||
var val = dataItem[dimIdx];
|
||||
var halfSize = dataSize[dimIdx] / 2;
|
||||
var p1 = [];
|
||||
var p2 = [];
|
||||
p1[dimIdx] = val - halfSize;
|
||||
p2[dimIdx] = val + halfSize;
|
||||
p1[1 - dimIdx] = p2[1 - dimIdx] = dataItem[1 - dimIdx];
|
||||
return Math.abs(this.dataToPoint(p1)[dimIdx] - this.dataToPoint(p2)[dimIdx]);
|
||||
}, this);
|
||||
}
|
||||
var Overlay;
|
||||
// For deciding which dimensions to use when creating list data
|
||||
BMapCoordSys.dimensions = BMapCoordSys.prototype.dimensions;
|
||||
function createOverlayCtor() {
|
||||
function Overlay(root) {
|
||||
this._root = root;
|
||||
}
|
||||
Overlay.prototype = new BMap.Overlay();
|
||||
/**
|
||||
* 初始化
|
||||
*
|
||||
* @param {BMap.Map} map
|
||||
* @override
|
||||
*/
|
||||
Overlay.prototype.initialize = function (map) {
|
||||
map.getPanes().labelPane.appendChild(this._root);
|
||||
return this._root;
|
||||
};
|
||||
/**
|
||||
* @override
|
||||
*/
|
||||
Overlay.prototype.draw = function () {};
|
||||
return Overlay;
|
||||
}
|
||||
BMapCoordSys.create = function (ecModel, api) {
|
||||
var bmapCoordSys;
|
||||
var root = api.getDom();
|
||||
// TODO Dispose
|
||||
ecModel.eachComponent('bmap', function (bmapModel) {
|
||||
var painter = api.getZr().painter;
|
||||
var viewportRoot = painter.getViewportRoot();
|
||||
if (typeof BMap === 'undefined') {
|
||||
throw new Error('BMap api is not loaded');
|
||||
}
|
||||
Overlay = Overlay || createOverlayCtor();
|
||||
if (bmapCoordSys) {
|
||||
throw new Error('Only one bmap component can exist');
|
||||
}
|
||||
var bmap;
|
||||
if (!bmapModel.__bmap) {
|
||||
// Not support IE8
|
||||
var bmapRoot = root.querySelector('.ec-extension-bmap');
|
||||
if (bmapRoot) {
|
||||
// Reset viewport left and top, which will be changed
|
||||
// in moving handler in BMapView
|
||||
viewportRoot.style.left = '0px';
|
||||
viewportRoot.style.top = '0px';
|
||||
root.removeChild(bmapRoot);
|
||||
}
|
||||
bmapRoot = document.createElement('div');
|
||||
bmapRoot.className = 'ec-extension-bmap';
|
||||
// fix #13424
|
||||
bmapRoot.style.cssText = 'position:absolute;width:100%;height:100%';
|
||||
root.appendChild(bmapRoot);
|
||||
// initializes bmap
|
||||
var mapOptions = bmapModel.get('mapOptions');
|
||||
if (mapOptions) {
|
||||
mapOptions = zrUtil.clone(mapOptions);
|
||||
// Not support `mapType`, use `bmap.setMapType(MapType)` instead.
|
||||
delete mapOptions.mapType;
|
||||
}
|
||||
bmap = bmapModel.__bmap = new BMap.Map(bmapRoot, mapOptions);
|
||||
var overlay = new Overlay(viewportRoot);
|
||||
bmap.addOverlay(overlay);
|
||||
// Override
|
||||
painter.getViewportRootOffset = function () {
|
||||
return {
|
||||
offsetLeft: 0,
|
||||
offsetTop: 0
|
||||
};
|
||||
};
|
||||
}
|
||||
bmap = bmapModel.__bmap;
|
||||
// Set bmap options
|
||||
// centerAndZoom before layout and render
|
||||
var center = bmapModel.get('center');
|
||||
var zoom = bmapModel.get('zoom');
|
||||
if (center && zoom) {
|
||||
var bmapCenter = bmap.getCenter();
|
||||
var bmapZoom = bmap.getZoom();
|
||||
var centerOrZoomChanged = bmapModel.centerOrZoomChanged([bmapCenter.lng, bmapCenter.lat], bmapZoom);
|
||||
if (centerOrZoomChanged) {
|
||||
var pt = new BMap.Point(center[0], center[1]);
|
||||
bmap.centerAndZoom(pt, zoom);
|
||||
}
|
||||
}
|
||||
bmapCoordSys = new BMapCoordSys(bmap, api);
|
||||
bmapCoordSys.setMapOffset(bmapModel.__mapOffset || [0, 0]);
|
||||
bmapCoordSys.setZoom(zoom);
|
||||
bmapCoordSys.setCenter(center);
|
||||
bmapModel.coordinateSystem = bmapCoordSys;
|
||||
});
|
||||
ecModel.eachSeries(function (seriesModel) {
|
||||
if (seriesModel.get('coordinateSystem') === 'bmap') {
|
||||
seriesModel.coordinateSystem = bmapCoordSys;
|
||||
}
|
||||
});
|
||||
// return created coordinate systems
|
||||
return bmapCoordSys && [bmapCoordSys];
|
||||
};
|
||||
export default BMapCoordSys;
|
@ -0,0 +1,74 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
// @ts-nocheck
|
||||
import * as echarts from 'echarts';
|
||||
function v2Equal(a, b) {
|
||||
return a && b && a[0] === b[0] && a[1] === b[1];
|
||||
}
|
||||
export default echarts.extendComponentModel({
|
||||
type: 'bmap',
|
||||
getBMap: function () {
|
||||
// __bmap is injected when creating BMapCoordSys
|
||||
return this.__bmap;
|
||||
},
|
||||
setCenterAndZoom: function (center, zoom) {
|
||||
this.option.center = center;
|
||||
this.option.zoom = zoom;
|
||||
},
|
||||
centerOrZoomChanged: function (center, zoom) {
|
||||
var option = this.option;
|
||||
return !(v2Equal(center, option.center) && zoom === option.zoom);
|
||||
},
|
||||
defaultOption: {
|
||||
center: [104.114129, 37.550339],
|
||||
zoom: 5,
|
||||
// 2.0 https://lbsyun.baidu.com/custom/index.htm
|
||||
mapStyle: {},
|
||||
// 3.0 https://lbsyun.baidu.com/index.php?title=open/custom
|
||||
mapStyleV2: {},
|
||||
// See https://lbsyun.baidu.com/cms/jsapi/reference/jsapi_reference.html#a0b1
|
||||
mapOptions: {},
|
||||
roam: false
|
||||
}
|
||||
});
|
@ -0,0 +1,146 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
// @ts-nocheck
|
||||
import * as echarts from 'echarts';
|
||||
function isEmptyObject(obj) {
|
||||
for (var key in obj) {
|
||||
if (obj.hasOwnProperty(key)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
export default echarts.extendComponentView({
|
||||
type: 'bmap',
|
||||
render: function (bMapModel, ecModel, api) {
|
||||
var rendering = true;
|
||||
var bmap = bMapModel.getBMap();
|
||||
var viewportRoot = api.getZr().painter.getViewportRoot();
|
||||
var coordSys = bMapModel.coordinateSystem;
|
||||
var moveHandler = function (type, target) {
|
||||
if (rendering) {
|
||||
return;
|
||||
}
|
||||
var offsetEl = viewportRoot.parentNode.parentNode.parentNode;
|
||||
var mapOffset = [-parseInt(offsetEl.style.left, 10) || 0, -parseInt(offsetEl.style.top, 10) || 0];
|
||||
// only update style when map offset changed
|
||||
var viewportRootStyle = viewportRoot.style;
|
||||
var offsetLeft = mapOffset[0] + 'px';
|
||||
var offsetTop = mapOffset[1] + 'px';
|
||||
if (viewportRootStyle.left !== offsetLeft) {
|
||||
viewportRootStyle.left = offsetLeft;
|
||||
}
|
||||
if (viewportRootStyle.top !== offsetTop) {
|
||||
viewportRootStyle.top = offsetTop;
|
||||
}
|
||||
coordSys.setMapOffset(mapOffset);
|
||||
bMapModel.__mapOffset = mapOffset;
|
||||
api.dispatchAction({
|
||||
type: 'bmapRoam',
|
||||
animation: {
|
||||
duration: 0
|
||||
}
|
||||
});
|
||||
};
|
||||
function zoomEndHandler() {
|
||||
if (rendering) {
|
||||
return;
|
||||
}
|
||||
api.dispatchAction({
|
||||
type: 'bmapRoam',
|
||||
animation: {
|
||||
duration: 0
|
||||
}
|
||||
});
|
||||
}
|
||||
bmap.removeEventListener('moving', this._oldMoveHandler);
|
||||
bmap.removeEventListener('moveend', this._oldMoveHandler);
|
||||
bmap.removeEventListener('zoomend', this._oldZoomEndHandler);
|
||||
bmap.addEventListener('moving', moveHandler);
|
||||
bmap.addEventListener('moveend', moveHandler);
|
||||
bmap.addEventListener('zoomend', zoomEndHandler);
|
||||
this._oldMoveHandler = moveHandler;
|
||||
this._oldZoomEndHandler = zoomEndHandler;
|
||||
var roam = bMapModel.get('roam');
|
||||
if (roam && roam !== 'scale') {
|
||||
bmap.enableDragging();
|
||||
} else {
|
||||
bmap.disableDragging();
|
||||
}
|
||||
if (roam && roam !== 'move') {
|
||||
bmap.enableScrollWheelZoom();
|
||||
bmap.enableDoubleClickZoom();
|
||||
bmap.enablePinchToZoom();
|
||||
} else {
|
||||
bmap.disableScrollWheelZoom();
|
||||
bmap.disableDoubleClickZoom();
|
||||
bmap.disablePinchToZoom();
|
||||
}
|
||||
/* map 2.0 */
|
||||
var originalStyle = bMapModel.__mapStyle;
|
||||
var newMapStyle = bMapModel.get('mapStyle') || {};
|
||||
// FIXME, Not use JSON methods
|
||||
var mapStyleStr = JSON.stringify(newMapStyle);
|
||||
if (JSON.stringify(originalStyle) !== mapStyleStr) {
|
||||
// FIXME May have blank tile when dragging if setMapStyle
|
||||
if (!isEmptyObject(newMapStyle)) {
|
||||
bmap.setMapStyle(echarts.util.clone(newMapStyle));
|
||||
}
|
||||
bMapModel.__mapStyle = JSON.parse(mapStyleStr);
|
||||
}
|
||||
/* map 3.0 */
|
||||
var originalStyle2 = bMapModel.__mapStyle2;
|
||||
var newMapStyle2 = bMapModel.get('mapStyleV2') || {};
|
||||
// FIXME, Not use JSON methods
|
||||
var mapStyleStr2 = JSON.stringify(newMapStyle2);
|
||||
if (JSON.stringify(originalStyle2) !== mapStyleStr2) {
|
||||
// FIXME May have blank tile when dragging if setMapStyle
|
||||
if (!isEmptyObject(newMapStyle2)) {
|
||||
bmap.setMapStyleV2(echarts.util.clone(newMapStyle2));
|
||||
}
|
||||
bMapModel.__mapStyle2 = JSON.parse(mapStyleStr2);
|
||||
}
|
||||
rendering = false;
|
||||
}
|
||||
});
|
@ -0,0 +1,65 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
// @ts-nocheck
|
||||
/**
|
||||
* BMap component extension
|
||||
*/
|
||||
import * as echarts from 'echarts';
|
||||
import BMapCoordSys from './BMapCoordSys.js';
|
||||
import './BMapModel.js';
|
||||
import './BMapView.js';
|
||||
echarts.registerCoordinateSystem('bmap', BMapCoordSys);
|
||||
// Action
|
||||
echarts.registerAction({
|
||||
type: 'bmapRoam',
|
||||
event: 'bmapRoam',
|
||||
update: 'updateLayout'
|
||||
}, function (payload, ecModel) {
|
||||
ecModel.eachComponent('bmap', function (bMapModel) {
|
||||
var bmap = bMapModel.getBMap();
|
||||
var center = bmap.getCenter();
|
||||
bMapModel.setCenterAndZoom([center.lng, center.lat], bmap.getZoom());
|
||||
});
|
||||
});
|
||||
export var version = '1.0.0';
|
@ -0,0 +1,202 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
// @ts-nocheck
|
||||
/**
|
||||
* This is a parse of GEXF.
|
||||
*
|
||||
* The spec of GEXF:
|
||||
* https://gephi.org/gexf/1.2draft/gexf-12draft-primer.pdf
|
||||
*/
|
||||
import * as zrUtil from 'zrender/lib/core/util.js';
|
||||
export function parse(xml) {
|
||||
var doc;
|
||||
if (typeof xml === 'string') {
|
||||
var parser = new DOMParser();
|
||||
doc = parser.parseFromString(xml, 'text/xml');
|
||||
} else {
|
||||
doc = xml;
|
||||
}
|
||||
if (!doc || doc.getElementsByTagName('parsererror').length) {
|
||||
return null;
|
||||
}
|
||||
var gexfRoot = getChildByTagName(doc, 'gexf');
|
||||
if (!gexfRoot) {
|
||||
return null;
|
||||
}
|
||||
var graphRoot = getChildByTagName(gexfRoot, 'graph');
|
||||
var attributes = parseAttributes(getChildByTagName(graphRoot, 'attributes'));
|
||||
var attributesMap = {};
|
||||
for (var i = 0; i < attributes.length; i++) {
|
||||
attributesMap[attributes[i].id] = attributes[i];
|
||||
}
|
||||
return {
|
||||
nodes: parseNodes(getChildByTagName(graphRoot, 'nodes'), attributesMap),
|
||||
links: parseEdges(getChildByTagName(graphRoot, 'edges'))
|
||||
};
|
||||
}
|
||||
function parseAttributes(parent) {
|
||||
return parent ? zrUtil.map(getChildrenByTagName(parent, 'attribute'), function (attribDom) {
|
||||
return {
|
||||
id: getAttr(attribDom, 'id'),
|
||||
title: getAttr(attribDom, 'title'),
|
||||
type: getAttr(attribDom, 'type')
|
||||
};
|
||||
}) : [];
|
||||
}
|
||||
function parseNodes(parent, attributesMap) {
|
||||
return parent ? zrUtil.map(getChildrenByTagName(parent, 'node'), function (nodeDom) {
|
||||
var id = getAttr(nodeDom, 'id');
|
||||
var label = getAttr(nodeDom, 'label');
|
||||
var node = {
|
||||
id: id,
|
||||
name: label,
|
||||
itemStyle: {
|
||||
normal: {}
|
||||
}
|
||||
};
|
||||
var vizSizeDom = getChildByTagName(nodeDom, 'viz:size');
|
||||
var vizPosDom = getChildByTagName(nodeDom, 'viz:position');
|
||||
var vizColorDom = getChildByTagName(nodeDom, 'viz:color');
|
||||
// let vizShapeDom = getChildByTagName(nodeDom, 'viz:shape');
|
||||
var attvaluesDom = getChildByTagName(nodeDom, 'attvalues');
|
||||
if (vizSizeDom) {
|
||||
node.symbolSize = parseFloat(getAttr(vizSizeDom, 'value'));
|
||||
}
|
||||
if (vizPosDom) {
|
||||
node.x = parseFloat(getAttr(vizPosDom, 'x'));
|
||||
node.y = parseFloat(getAttr(vizPosDom, 'y'));
|
||||
// z
|
||||
}
|
||||
if (vizColorDom) {
|
||||
node.itemStyle.normal.color = 'rgb(' + [getAttr(vizColorDom, 'r') | 0, getAttr(vizColorDom, 'g') | 0, getAttr(vizColorDom, 'b') | 0].join(',') + ')';
|
||||
}
|
||||
// if (vizShapeDom) {
|
||||
// node.shape = getAttr(vizShapeDom, 'shape');
|
||||
// }
|
||||
if (attvaluesDom) {
|
||||
var attvalueDomList = getChildrenByTagName(attvaluesDom, 'attvalue');
|
||||
node.attributes = {};
|
||||
for (var j = 0; j < attvalueDomList.length; j++) {
|
||||
var attvalueDom = attvalueDomList[j];
|
||||
var attId = getAttr(attvalueDom, 'for');
|
||||
var attValue = getAttr(attvalueDom, 'value');
|
||||
var attribute = attributesMap[attId];
|
||||
if (attribute) {
|
||||
switch (attribute.type) {
|
||||
case 'integer':
|
||||
case 'long':
|
||||
attValue = parseInt(attValue, 10);
|
||||
break;
|
||||
case 'float':
|
||||
case 'double':
|
||||
attValue = parseFloat(attValue);
|
||||
break;
|
||||
case 'boolean':
|
||||
attValue = attValue.toLowerCase() === 'true';
|
||||
break;
|
||||
default:
|
||||
}
|
||||
node.attributes[attId] = attValue;
|
||||
}
|
||||
}
|
||||
}
|
||||
return node;
|
||||
}) : [];
|
||||
}
|
||||
function parseEdges(parent) {
|
||||
return parent ? zrUtil.map(getChildrenByTagName(parent, 'edge'), function (edgeDom) {
|
||||
var id = getAttr(edgeDom, 'id');
|
||||
var label = getAttr(edgeDom, 'label');
|
||||
var sourceId = getAttr(edgeDom, 'source');
|
||||
var targetId = getAttr(edgeDom, 'target');
|
||||
var edge = {
|
||||
id: id,
|
||||
name: label,
|
||||
source: sourceId,
|
||||
target: targetId,
|
||||
lineStyle: {
|
||||
normal: {}
|
||||
}
|
||||
};
|
||||
var lineStyle = edge.lineStyle.normal;
|
||||
var vizThicknessDom = getChildByTagName(edgeDom, 'viz:thickness');
|
||||
var vizColorDom = getChildByTagName(edgeDom, 'viz:color');
|
||||
// let vizShapeDom = getChildByTagName(edgeDom, 'viz:shape');
|
||||
if (vizThicknessDom) {
|
||||
lineStyle.width = parseFloat(vizThicknessDom.getAttribute('value'));
|
||||
}
|
||||
if (vizColorDom) {
|
||||
lineStyle.color = 'rgb(' + [getAttr(vizColorDom, 'r') | 0, getAttr(vizColorDom, 'g') | 0, getAttr(vizColorDom, 'b') | 0].join(',') + ')';
|
||||
}
|
||||
// if (vizShapeDom) {
|
||||
// edge.shape = vizShapeDom.getAttribute('shape');
|
||||
// }
|
||||
return edge;
|
||||
}) : [];
|
||||
}
|
||||
function getAttr(el, attrName) {
|
||||
return el.getAttribute(attrName);
|
||||
}
|
||||
function getChildByTagName(parent, tagName) {
|
||||
var node = parent.firstChild;
|
||||
while (node) {
|
||||
if (node.nodeType !== 1 || node.nodeName.toLowerCase() !== tagName.toLowerCase()) {
|
||||
node = node.nextSibling;
|
||||
} else {
|
||||
return node;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
function getChildrenByTagName(parent, tagName) {
|
||||
var node = parent.firstChild;
|
||||
var children = [];
|
||||
while (node) {
|
||||
if (node.nodeName.toLowerCase() === tagName.toLowerCase()) {
|
||||
children.push(node);
|
||||
}
|
||||
node = node.nextSibling;
|
||||
}
|
||||
return children;
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
// @ts-nocheck
|
||||
import * as echarts from 'echarts';
|
||||
import * as gexf from './gexf.js';
|
||||
import prepareBoxplotData from './prepareBoxplotData.js';
|
||||
// import { boxplotTransform } from './boxplotTransform.js';
|
||||
export var version = '1.0.0';
|
||||
export { gexf };
|
||||
export { prepareBoxplotData };
|
||||
// export {boxplotTransform};
|
||||
// For backward compatibility, where the namespace `dataTool` will
|
||||
// be mounted on `echarts` is the extension `dataTool` is imported.
|
||||
// But the old version of echarts do not have `dataTool` namespace,
|
||||
// so check it before mounting.
|
||||
if (echarts.dataTool) {
|
||||
echarts.dataTool.version = version;
|
||||
echarts.dataTool.gexf = gexf;
|
||||
echarts.dataTool.prepareBoxplotData = prepareBoxplotData;
|
||||
// echarts.dataTool.boxplotTransform = boxplotTransform;
|
||||
}
|
@ -0,0 +1,116 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
function asc(arr) {
|
||||
arr.sort(function (a, b) {
|
||||
return a - b;
|
||||
});
|
||||
return arr;
|
||||
}
|
||||
function quantile(ascArr, p) {
|
||||
var H = (ascArr.length - 1) * p + 1;
|
||||
var h = Math.floor(H);
|
||||
var v = +ascArr[h - 1];
|
||||
var e = H - h;
|
||||
return e ? v + e * (ascArr[h] - v) : v;
|
||||
}
|
||||
/**
|
||||
* See:
|
||||
* <https://en.wikipedia.org/wiki/Box_plot#cite_note-frigge_hoaglin_iglewicz-2>
|
||||
* <http://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/boxplot.stats.html>
|
||||
*
|
||||
* Helper method for preparing data.
|
||||
*
|
||||
* @param {Array.<number>} rawData like
|
||||
* [
|
||||
* [12,232,443], (raw data set for the first box)
|
||||
* [3843,5545,1232], (raw data set for the second box)
|
||||
* ...
|
||||
* ]
|
||||
* @param {Object} [opt]
|
||||
*
|
||||
* @param {(number|string)} [opt.boundIQR=1.5] Data less than min bound is outlier.
|
||||
* default 1.5, means Q1 - 1.5 * (Q3 - Q1).
|
||||
* If 'none'/0 passed, min bound will not be used.
|
||||
* @param {(number|string)} [opt.layout='horizontal']
|
||||
* Box plot layout, can be 'horizontal' or 'vertical'
|
||||
* @return {Object} {
|
||||
* boxData: Array.<Array.<number>>
|
||||
* outliers: Array.<Array.<number>>
|
||||
* axisData: Array.<string>
|
||||
* }
|
||||
*/
|
||||
export default function (rawData, opt) {
|
||||
opt = opt || {};
|
||||
var boxData = [];
|
||||
var outliers = [];
|
||||
var axisData = [];
|
||||
var boundIQR = opt.boundIQR;
|
||||
var useExtreme = boundIQR === 'none' || boundIQR === 0;
|
||||
for (var i = 0; i < rawData.length; i++) {
|
||||
axisData.push(i + '');
|
||||
var ascList = asc(rawData[i].slice());
|
||||
var Q1 = quantile(ascList, 0.25);
|
||||
var Q2 = quantile(ascList, 0.5);
|
||||
var Q3 = quantile(ascList, 0.75);
|
||||
var min = ascList[0];
|
||||
var max = ascList[ascList.length - 1];
|
||||
var bound = (boundIQR == null ? 1.5 : boundIQR) * (Q3 - Q1);
|
||||
var low = useExtreme ? min : Math.max(min, Q1 - bound);
|
||||
var high = useExtreme ? max : Math.min(max, Q3 + bound);
|
||||
boxData.push([low, Q1, Q2, Q3, high]);
|
||||
for (var j = 0; j < ascList.length; j++) {
|
||||
var dataItem = ascList[j];
|
||||
if (dataItem < low || dataItem > high) {
|
||||
var outlier = [i, dataItem];
|
||||
opt.layout === 'vertical' && outlier.reverse();
|
||||
outliers.push(outlier);
|
||||
}
|
||||
}
|
||||
}
|
||||
return {
|
||||
boxData: boxData,
|
||||
outliers: outliers,
|
||||
axisData: axisData
|
||||
};
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
export * from './types/dist/features';
|
@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
export * from './lib/export/features.js';
|
@ -0,0 +1,178 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Arabic.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
|
||||
time: {
|
||||
month: [
|
||||
'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو',
|
||||
'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'
|
||||
],
|
||||
monthAbbr: [
|
||||
'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو',
|
||||
'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'تحديد الكل',
|
||||
inverse: 'عكس التحديد'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'تحديد صندوقي',
|
||||
polygon: 'تحديد حلقي',
|
||||
lineX: 'تحديد أفقي',
|
||||
lineY: 'تحديد عمودي',
|
||||
keep: 'الاحتفاظ بالمحدد',
|
||||
clear: 'إلغاء التحديد'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'عرض البيانات',
|
||||
lang: ['عرض البيانات', 'إغلاق', 'تحديث']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'تكبير',
|
||||
back: 'استعادة التكبير'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'خطوط',
|
||||
bar: 'أشرطة',
|
||||
stack: 'تكديس',
|
||||
tiled: 'مربعات'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'استعادة'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'حفظ كملف صورة',
|
||||
lang: ['للحفظ كصورة انقر بالزر الأيمن']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'رسم بياني دائري',
|
||||
bar: 'رسم بياني شريطي',
|
||||
line: 'رسم بياني خطي',
|
||||
scatter: 'نقاط مبعثرة',
|
||||
effectScatter: 'نقاط مبعثرة متموجة',
|
||||
radar: 'رسم بياني راداري',
|
||||
tree: 'شجرة',
|
||||
treemap: 'مخطط شجري',
|
||||
boxplot: 'مخطط صندوقي',
|
||||
candlestick: 'مخطط شمعدان',
|
||||
k: 'رسم بياني خطي من النوع K',
|
||||
heatmap: 'خريطة حرارية',
|
||||
map: 'خريطة',
|
||||
parallel: 'خريطة الإحداثيات المتناظرة',
|
||||
lines: 'خطوط',
|
||||
graph: 'مخطط علائقي',
|
||||
sankey: 'مخطط ثعباني',
|
||||
funnel: 'مخطط هرمي',
|
||||
gauge: 'مقياس',
|
||||
pictorialBar: 'مخطط مصوّر',
|
||||
themeRiver: 'نمط خريطة النهر',
|
||||
sunburst: 'مخطط شمسي',
|
||||
custom: 'مخطط مخصص',
|
||||
chart: 'مخطط'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'هذا رسم بياني حول "{title}".',
|
||||
withoutTitle: 'هذا رسم بياني.'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' من النوع {seriesType} اسمه {seriesName}.',
|
||||
withoutName: ' من النوع {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. يتكون من {seriesCount} سلسلة.',
|
||||
withName: ' الـ {seriesId} هي سلسلة من النوع {seriesType} تستعرض {seriesName}.',
|
||||
withoutName: ' الـ {seriesId} هي سلسلة من النوع {seriesType}.',
|
||||
separator: {
|
||||
middle: '، ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'البيانات هي كالتالي: ',
|
||||
partialData: 'أول {displayCnt} عناصر هي: ',
|
||||
withName: 'قيمة العنصر {name} هي {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: '، ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,174 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Arabic.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
|
||||
time: {
|
||||
month: [
|
||||
'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو',
|
||||
'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'
|
||||
],
|
||||
monthAbbr: [
|
||||
'يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو',
|
||||
'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'الأحد', 'الإثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'تحديد الكل',
|
||||
inverse: 'عكس التحديد'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'تحديد صندوقي',
|
||||
polygon: 'تحديد حلقي',
|
||||
lineX: 'تحديد أفقي',
|
||||
lineY: 'تحديد عمودي',
|
||||
keep: 'الاحتفاظ بالمحدد',
|
||||
clear: 'إلغاء التحديد'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'عرض البيانات',
|
||||
lang: ['عرض البيانات', 'إغلاق', 'تحديث']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'تكبير',
|
||||
back: 'استعادة التكبير'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'خطوط',
|
||||
bar: 'أشرطة',
|
||||
stack: 'تكديس',
|
||||
tiled: 'مربعات'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'استعادة'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'حفظ كملف صورة',
|
||||
lang: ['للحفظ كصورة انقر بالزر الأيمن']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'رسم بياني دائري',
|
||||
bar: 'رسم بياني شريطي',
|
||||
line: 'رسم بياني خطي',
|
||||
scatter: 'نقاط مبعثرة',
|
||||
effectScatter: 'نقاط مبعثرة متموجة',
|
||||
radar: 'رسم بياني راداري',
|
||||
tree: 'شجرة',
|
||||
treemap: 'مخطط شجري',
|
||||
boxplot: 'مخطط صندوقي',
|
||||
candlestick: 'مخطط شمعدان',
|
||||
k: 'رسم بياني خطي من النوع K',
|
||||
heatmap: 'خريطة حرارية',
|
||||
map: 'خريطة',
|
||||
parallel: 'خريطة الإحداثيات المتناظرة',
|
||||
lines: 'خطوط',
|
||||
graph: 'مخطط علائقي',
|
||||
sankey: 'مخطط ثعباني',
|
||||
funnel: 'مخطط هرمي',
|
||||
gauge: 'مقياس',
|
||||
pictorialBar: 'مخطط مصوّر',
|
||||
themeRiver: 'نمط خريطة النهر',
|
||||
sunburst: 'مخطط شمسي',
|
||||
custom: 'مخطط مخصص',
|
||||
chart: 'مخطط'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'هذا رسم بياني حول "{title}".',
|
||||
withoutTitle: 'هذا رسم بياني.'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' من النوع {seriesType} اسمه {seriesName}.',
|
||||
withoutName: ' من النوع {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. يتكون من {seriesCount} سلسلة.',
|
||||
withName: ' الـ {seriesId} هي سلسلة من النوع {seriesType} تستعرض {seriesName}.',
|
||||
withoutName: ' الـ {seriesId} هي سلسلة من النوع {seriesType}.',
|
||||
separator: {
|
||||
middle: '، ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'البيانات هي كالتالي: ',
|
||||
partialData: 'أول {displayCnt} عناصر هي: ',
|
||||
withName: 'قيمة العنصر {name} هي {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: '، ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
echarts.registerLocale('AR', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Czech.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen',
|
||||
'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Led', 'Úno', 'Bře', 'Dub', 'Kvě', 'Čvn',
|
||||
'Čvc', 'Srp', 'Zář', 'Říj', 'Lis', 'Pro'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Neděle', 'Pondělí', 'Úterý', 'Středa', 'Čtvrtek', 'Pátek', 'Sobota'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Vše',
|
||||
inverse: 'Inv'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Obdélníkový výběr',
|
||||
polygon: 'Lasso výběr',
|
||||
lineX: 'Horizontální výběr',
|
||||
lineY: 'Vertikální výběr',
|
||||
keep: 'Ponechat výběr',
|
||||
clear: 'Zrušit výběr'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Data',
|
||||
lang: ['Data', 'Zavřít', 'Obnovit']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Přiblížit',
|
||||
back: 'Oddálit'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Změnit na Spojnicový graf',
|
||||
bar: 'Změnit na Sloupcový graf',
|
||||
stack: 'Plošný',
|
||||
tiled: 'Tile'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Obnovit'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Uložit jako obrázek',
|
||||
lang: ['Obrázek uložte pravým kliknutím']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Výsečový graf',
|
||||
bar: 'Sloupcový graf',
|
||||
line: 'Spojnicový graf',
|
||||
scatter: 'XY bodový graf',
|
||||
effectScatter: 'Effect XY bodový graf',
|
||||
radar: 'Paprskový graf',
|
||||
tree: 'Strom',
|
||||
treemap: 'Stromová mapa',
|
||||
boxplot: 'Krabicový graf',
|
||||
candlestick: 'Burzovní graf',
|
||||
k: 'K spojnicový graf',
|
||||
heatmap: 'Teplotní mapa',
|
||||
map: 'Mapa',
|
||||
parallel: 'Rovnoběžné souřadnice',
|
||||
lines: 'Spojnicový graf',
|
||||
graph: 'Graf vztahů',
|
||||
sankey: 'Sankeyův diagram',
|
||||
funnel: 'Trychtýř (Funnel)',
|
||||
gauge: 'Indikátor',
|
||||
pictorialBar: 'Obrázkový sloupcový graf',
|
||||
themeRiver: 'Theme River Map',
|
||||
sunburst: 'Vícevrstvý prstencový graf',
|
||||
custom: 'Graficu persunalizatu',
|
||||
chart: 'Graf'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Toto je graf o "{title}"',
|
||||
withoutTitle: 'Toto je graf'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: '{seriesName} s typem {seriesType}.',
|
||||
withoutName: ' s typem {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Obsahuje {seriesCount} řad.',
|
||||
withName: ' Řada {seriesId} je typu {seriesType} repreyentující {seriesName}.',
|
||||
withoutName: ' Řada {seriesId} je typu {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Všechna data jsou: ',
|
||||
partialData: 'První {displayCnt} položky jsou: ',
|
||||
withName: 'data pro {name} jsou {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Czech.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Leden', 'Únor', 'Březen', 'Duben', 'Květen', 'Červen',
|
||||
'Červenec', 'Srpen', 'Září', 'Říjen', 'Listopad', 'Prosinec'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Led', 'Úno', 'Bře', 'Dub', 'Kvě', 'Čvn',
|
||||
'Čvc', 'Srp', 'Zář', 'Říj', 'Lis', 'Pro'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Neděle', 'Pondělí', 'Úterý', 'Středa', 'Čtvrtek', 'Pátek', 'Sobota'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Vše',
|
||||
inverse: 'Inv'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Obdélníkový výběr',
|
||||
polygon: 'Lasso výběr',
|
||||
lineX: 'Horizontální výběr',
|
||||
lineY: 'Vertikální výběr',
|
||||
keep: 'Ponechat výběr',
|
||||
clear: 'Zrušit výběr'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Data',
|
||||
lang: ['Data', 'Zavřít', 'Obnovit']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Přiblížit',
|
||||
back: 'Oddálit'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Změnit na Spojnicový graf',
|
||||
bar: 'Změnit na Sloupcový graf',
|
||||
stack: 'Plošný',
|
||||
tiled: 'Tile'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Obnovit'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Uložit jako obrázek',
|
||||
lang: ['Obrázek uložte pravým kliknutím']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Výsečový graf',
|
||||
bar: 'Sloupcový graf',
|
||||
line: 'Spojnicový graf',
|
||||
scatter: 'XY bodový graf',
|
||||
effectScatter: 'Effect XY bodový graf',
|
||||
radar: 'Paprskový graf',
|
||||
tree: 'Strom',
|
||||
treemap: 'Stromová mapa',
|
||||
boxplot: 'Krabicový graf',
|
||||
candlestick: 'Burzovní graf',
|
||||
k: 'K spojnicový graf',
|
||||
heatmap: 'Teplotní mapa',
|
||||
map: 'Mapa',
|
||||
parallel: 'Rovnoběžné souřadnice',
|
||||
lines: 'Spojnicový graf',
|
||||
graph: 'Graf vztahů',
|
||||
sankey: 'Sankeyův diagram',
|
||||
funnel: 'Trychtýř (Funnel)',
|
||||
gauge: 'Indikátor',
|
||||
pictorialBar: 'Obrázkový sloupcový graf',
|
||||
themeRiver: 'Theme River Map',
|
||||
sunburst: 'Vícevrstvý prstencový graf',
|
||||
custom: 'Graficu persunalizatu',
|
||||
chart: 'Graf'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Toto je graf o "{title}"',
|
||||
withoutTitle: 'Toto je graf'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: '{seriesName} s typem {seriesType}.',
|
||||
withoutName: ' s typem {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Obsahuje {seriesCount} řad.',
|
||||
withName: ' Řada {seriesId} je typu {seriesType} repreyentující {seriesName}.',
|
||||
withoutName: ' Řada {seriesId} je typu {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Všechna data jsou: ',
|
||||
partialData: 'První {displayCnt} položky jsou: ',
|
||||
withName: 'data pro {name} jsou {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('CS', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: German.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni',
|
||||
'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Jan', 'Feb', 'Mrz', 'Apr', 'Mai', 'Jun',
|
||||
'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Alle',
|
||||
inverse: 'Invertiert'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Box Auswahl',
|
||||
polygon: 'Lasso Auswahl',
|
||||
lineX: 'Horizontale Auswahl',
|
||||
lineY: 'Vertikale Auswahl',
|
||||
keep: 'Bereich Auswahl',
|
||||
clear: 'Auswahl zurücksetzen'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Daten Ansicht',
|
||||
lang: ['Daten Ansicht', 'Schließen', 'Aktualisieren']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Zoom zurücksetzen'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Zu Liniendiagramm wechseln',
|
||||
bar: 'Zu Balkendiagramm wechseln',
|
||||
stack: 'Stapel',
|
||||
tiled: 'Kachel'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Wiederherstellen'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Als Bild speichern',
|
||||
lang: ['Rechtsklick zum Speichern des Bildes']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Tortendiagramm',
|
||||
bar: 'Balkendiagramm',
|
||||
line: 'Liniendiagramm',
|
||||
scatter: 'Streudiagramm',
|
||||
effectScatter: 'Welligkeits-Streudiagramm',
|
||||
radar: 'Radar-Karte',
|
||||
tree: 'Baum',
|
||||
treemap: 'Baumkarte',
|
||||
boxplot: 'Boxplot',
|
||||
candlestick: 'Kerzenständer',
|
||||
k: 'K Liniendiagramm',
|
||||
heatmap: 'Heatmap',
|
||||
map: 'Karte',
|
||||
parallel: 'Parallele Koordinatenkarte',
|
||||
lines: 'Liniendiagramm',
|
||||
graph: 'Beziehungsgrafik',
|
||||
sankey: 'Sankey-Diagramm',
|
||||
funnel: 'Trichterdiagramm',
|
||||
gauge: 'Meßanzeige',
|
||||
pictorialBar: 'Bildlicher Balken',
|
||||
themeRiver: 'Thematische Flusskarte',
|
||||
sunburst: 'Sonnenausbruch',
|
||||
custom: 'Graficu persunalizatu',
|
||||
chart: 'Diagramm'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Dies ist ein Diagramm über "{title}"',
|
||||
withoutTitle: 'Dies ist ein Diagramm'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' mit Typ {seriesType} namens {seriesName}.',
|
||||
withoutName: ' mit Typ {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Es besteht aus {seriesCount} Serienzählung.',
|
||||
withName: ' Die Serie {seriesId} ist ein {seriesType} welcher {seriesName} darstellt.',
|
||||
withoutName: ' Die {seriesId}-Reihe ist ein {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Die Daten sind wie folgt: ',
|
||||
partialData: 'Die ersten {displayCnt} Elemente sind: ',
|
||||
withName: 'die Daten für {name} sind {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ',',
|
||||
end: '.'
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: German.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni',
|
||||
'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Jan', 'Feb', 'Mrz', 'Apr', 'Mai', 'Jun',
|
||||
'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Alle',
|
||||
inverse: 'Invertiert'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Box Auswahl',
|
||||
polygon: 'Lasso Auswahl',
|
||||
lineX: 'Horizontale Auswahl',
|
||||
lineY: 'Vertikale Auswahl',
|
||||
keep: 'Bereich Auswahl',
|
||||
clear: 'Auswahl zurücksetzen'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Daten Ansicht',
|
||||
lang: ['Daten Ansicht', 'Schließen', 'Aktualisieren']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Zoom zurücksetzen'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Zu Liniendiagramm wechseln',
|
||||
bar: 'Zu Balkendiagramm wechseln',
|
||||
stack: 'Stapel',
|
||||
tiled: 'Kachel'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Wiederherstellen'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Als Bild speichern',
|
||||
lang: ['Rechtsklick zum Speichern des Bildes']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Tortendiagramm',
|
||||
bar: 'Balkendiagramm',
|
||||
line: 'Liniendiagramm',
|
||||
scatter: 'Streudiagramm',
|
||||
effectScatter: 'Welligkeits-Streudiagramm',
|
||||
radar: 'Radar-Karte',
|
||||
tree: 'Baum',
|
||||
treemap: 'Baumkarte',
|
||||
boxplot: 'Boxplot',
|
||||
candlestick: 'Kerzenständer',
|
||||
k: 'K Liniendiagramm',
|
||||
heatmap: 'Heatmap',
|
||||
map: 'Karte',
|
||||
parallel: 'Parallele Koordinatenkarte',
|
||||
lines: 'Liniendiagramm',
|
||||
graph: 'Beziehungsgrafik',
|
||||
sankey: 'Sankey-Diagramm',
|
||||
funnel: 'Trichterdiagramm',
|
||||
gauge: 'Meßanzeige',
|
||||
pictorialBar: 'Bildlicher Balken',
|
||||
themeRiver: 'Thematische Flusskarte',
|
||||
sunburst: 'Sonnenausbruch',
|
||||
custom: 'Graficu persunalizatu',
|
||||
chart: 'Diagramm'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Dies ist ein Diagramm über "{title}"',
|
||||
withoutTitle: 'Dies ist ein Diagramm'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' mit Typ {seriesType} namens {seriesName}.',
|
||||
withoutName: ' mit Typ {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Es besteht aus {seriesCount} Serienzählung.',
|
||||
withName: ' Die Serie {seriesId} ist ein {seriesType} welcher {seriesName} darstellt.',
|
||||
withoutName: ' Die {seriesId}-Reihe ist ein {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Die Daten sind wie folgt: ',
|
||||
partialData: 'Die ersten {displayCnt} Elemente sind: ',
|
||||
withName: 'die Daten für {name} sind {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ',',
|
||||
end: '.'
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('DE', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: English.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'January', 'February', 'March', 'April', 'May', 'June',
|
||||
'July', 'August', 'September', 'October', 'November', 'December'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
|
||||
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'All',
|
||||
inverse: 'Inv'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Box Select',
|
||||
polygon: 'Lasso Select',
|
||||
lineX: 'Horizontally Select',
|
||||
lineY: 'Vertically Select',
|
||||
keep: 'Keep Selections',
|
||||
clear: 'Clear Selections'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Data View',
|
||||
lang: ['Data View', 'Close', 'Refresh']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Zoom Reset'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Switch to Line Chart',
|
||||
bar: 'Switch to Bar Chart',
|
||||
stack: 'Stack',
|
||||
tiled: 'Tile'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Restore'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Save as Image',
|
||||
lang: ['Right Click to Save Image']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Pie chart',
|
||||
bar: 'Bar chart',
|
||||
line: 'Line chart',
|
||||
scatter: 'Scatter plot',
|
||||
effectScatter: 'Ripple scatter plot',
|
||||
radar: 'Radar chart',
|
||||
tree: 'Tree',
|
||||
treemap: 'Treemap',
|
||||
boxplot: 'Boxplot',
|
||||
candlestick: 'Candlestick',
|
||||
k: 'K line chart',
|
||||
heatmap: 'Heat map',
|
||||
map: 'Map',
|
||||
parallel: 'Parallel coordinate map',
|
||||
lines: 'Line graph',
|
||||
graph: 'Relationship graph',
|
||||
sankey: 'Sankey diagram',
|
||||
funnel: 'Funnel chart',
|
||||
gauge: 'Gauge',
|
||||
pictorialBar: 'Pictorial bar',
|
||||
themeRiver: 'Theme River Map',
|
||||
sunburst: 'Sunburst',
|
||||
custom: 'Custom chart',
|
||||
chart: 'Chart'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'This is a chart about "{title}"',
|
||||
withoutTitle: 'This is a chart'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' with type {seriesType} named {seriesName}.',
|
||||
withoutName: ' with type {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. It consists of {seriesCount} series count.',
|
||||
withName: ' The {seriesId} series is a {seriesType} representing {seriesName}.',
|
||||
withoutName: ' The {seriesId} series is a {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'The data is as follows: ',
|
||||
partialData: 'The first {displayCnt} items are: ',
|
||||
withName: 'the data for {name} is {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: English.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'January', 'February', 'March', 'April', 'May', 'June',
|
||||
'July', 'August', 'September', 'October', 'November', 'December'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
|
||||
'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'All',
|
||||
inverse: 'Inv'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Box Select',
|
||||
polygon: 'Lasso Select',
|
||||
lineX: 'Horizontally Select',
|
||||
lineY: 'Vertically Select',
|
||||
keep: 'Keep Selections',
|
||||
clear: 'Clear Selections'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Data View',
|
||||
lang: ['Data View', 'Close', 'Refresh']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Zoom Reset'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Switch to Line Chart',
|
||||
bar: 'Switch to Bar Chart',
|
||||
stack: 'Stack',
|
||||
tiled: 'Tile'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Restore'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Save as Image',
|
||||
lang: ['Right Click to Save Image']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Pie chart',
|
||||
bar: 'Bar chart',
|
||||
line: 'Line chart',
|
||||
scatter: 'Scatter plot',
|
||||
effectScatter: 'Ripple scatter plot',
|
||||
radar: 'Radar chart',
|
||||
tree: 'Tree',
|
||||
treemap: 'Treemap',
|
||||
boxplot: 'Boxplot',
|
||||
candlestick: 'Candlestick',
|
||||
k: 'K line chart',
|
||||
heatmap: 'Heat map',
|
||||
map: 'Map',
|
||||
parallel: 'Parallel coordinate map',
|
||||
lines: 'Line graph',
|
||||
graph: 'Relationship graph',
|
||||
sankey: 'Sankey diagram',
|
||||
funnel: 'Funnel chart',
|
||||
gauge: 'Gauge',
|
||||
pictorialBar: 'Pictorial bar',
|
||||
themeRiver: 'Theme River Map',
|
||||
sunburst: 'Sunburst',
|
||||
custom: 'Custom chart',
|
||||
chart: 'Chart'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'This is a chart about "{title}"',
|
||||
withoutTitle: 'This is a chart'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' with type {seriesType} named {seriesName}.',
|
||||
withoutName: ' with type {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. It consists of {seriesCount} series count.',
|
||||
withName: ' The {seriesId} series is a {seriesType} representing {seriesName}.',
|
||||
withoutName: ' The {seriesId} series is a {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'The data is as follows: ',
|
||||
partialData: 'The first {displayCnt} items are: ',
|
||||
withName: 'the data for {name} is {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('EN', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio',
|
||||
'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre'
|
||||
],
|
||||
monthAbbr: [
|
||||
'ene', 'feb', 'mar', 'abr', 'may', 'jun',
|
||||
'jul', 'ago', 'sep', 'oct', 'nov', 'dic'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'dom', 'lun', 'mar', 'mie', 'jue', 'vie', 'sáb'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Todas',
|
||||
inverse: 'Inversa'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Selección de cuadro',
|
||||
polygon: 'Selección de lazo',
|
||||
lineX: 'Seleccionar horizontalmente',
|
||||
lineY: 'Seleccionar verticalmente',
|
||||
keep: 'Mantener selección',
|
||||
clear: 'Despejar selecciones'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Ver datos',
|
||||
lang: ['Ver datos', 'Cerrar', 'Actualizar']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Restablecer zoom'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Cambiar a gráfico de líneas',
|
||||
bar: 'Cambiar a gráfico de barras',
|
||||
stack: 'Pila',
|
||||
tiled: 'Teja'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Restaurar'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Guardar como imagen',
|
||||
lang: ['Clic derecho para guardar imagen']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Gráfico circular',
|
||||
bar: 'Gráfico de barras',
|
||||
line: 'Gráfico de líneas',
|
||||
scatter: 'Diagrama de dispersión',
|
||||
effectScatter: 'Diagrama de dispersión de ondas',
|
||||
radar: 'Gráfico de radar',
|
||||
tree: 'Árbol',
|
||||
treemap: 'Mapa de árbol',
|
||||
boxplot: 'Diagrama de caja',
|
||||
candlestick: 'Gráfico de velas',
|
||||
k: 'Gráfico de líneas K',
|
||||
heatmap: 'Mapa de calor',
|
||||
map: 'Mapa',
|
||||
parallel: 'Mapa de coordenadas paralelas',
|
||||
lines: 'Gráfico de líneas',
|
||||
graph: 'Gráfico de relaciones',
|
||||
sankey: 'Diagrama de Sankey',
|
||||
funnel: 'Gráfico de embudo',
|
||||
gauge: 'Medidor',
|
||||
pictorialBar: 'Gráfico de barras pictóricas',
|
||||
themeRiver: 'Mapa de río temático',
|
||||
sunburst: 'Sunburst',
|
||||
custom: 'Gráfico personalizado',
|
||||
chart: 'Gráfico'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Este es un gráfico sobre “{title}”',
|
||||
withoutTitle: 'Este es un gráfico'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' con tipo {seriesType} llamado {seriesName}.',
|
||||
withoutName: ' con tipo {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Consta de {seriesCount} series.',
|
||||
withName: ' La serie {seriesId} es un {seriesType} que representa {seriesName}.',
|
||||
withoutName: ' La serie {seriesId} es un {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Los datos son los siguientes: ',
|
||||
partialData: 'Los primeros {displayCnt} elementos son: ',
|
||||
withName: 'los datos para {name} son {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,167 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio',
|
||||
'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre'
|
||||
],
|
||||
monthAbbr: [
|
||||
'ene', 'feb', 'mar', 'abr', 'may', 'jun',
|
||||
'jul', 'ago', 'sep', 'oct', 'nov', 'dic'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'dom', 'lun', 'mar', 'mie', 'jue', 'vie', 'sáb'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Todas',
|
||||
inverse: 'Inversa'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Selección de cuadro',
|
||||
polygon: 'Selección de lazo',
|
||||
lineX: 'Seleccionar horizontalmente',
|
||||
lineY: 'Seleccionar verticalmente',
|
||||
keep: 'Mantener selección',
|
||||
clear: 'Despejar selecciones'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Ver datos',
|
||||
lang: ['Ver datos', 'Cerrar', 'Actualizar']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Restablecer zoom'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Cambiar a gráfico de líneas',
|
||||
bar: 'Cambiar a gráfico de barras',
|
||||
stack: 'Pila',
|
||||
tiled: 'Teja'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Restaurar'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Guardar como imagen',
|
||||
lang: ['Clic derecho para guardar imagen']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Gráfico circular',
|
||||
bar: 'Gráfico de barras',
|
||||
line: 'Gráfico de líneas',
|
||||
scatter: 'Diagrama de dispersión',
|
||||
effectScatter: 'Diagrama de dispersión de ondas',
|
||||
radar: 'Gráfico de radar',
|
||||
tree: 'Árbol',
|
||||
treemap: 'Mapa de árbol',
|
||||
boxplot: 'Diagrama de caja',
|
||||
candlestick: 'Gráfico de velas',
|
||||
k: 'Gráfico de líneas K',
|
||||
heatmap: 'Mapa de calor',
|
||||
map: 'Mapa',
|
||||
parallel: 'Mapa de coordenadas paralelas',
|
||||
lines: 'Gráfico de líneas',
|
||||
graph: 'Gráfico de relaciones',
|
||||
sankey: 'Diagrama de Sankey',
|
||||
funnel: 'Gráfico de embudo',
|
||||
gauge: 'Medidor',
|
||||
pictorialBar: 'Gráfico de barras pictóricas',
|
||||
themeRiver: 'Mapa de río temático',
|
||||
sunburst: 'Sunburst',
|
||||
custom: 'Gráfico personalizado',
|
||||
chart: 'Gráfico'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Este es un gráfico sobre “{title}”',
|
||||
withoutTitle: 'Este es un gráfico'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' con tipo {seriesType} llamado {seriesName}.',
|
||||
withoutName: ' con tipo {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Consta de {seriesCount} series.',
|
||||
withName: ' La serie {seriesId} es un {seriesType} que representa {seriesName}.',
|
||||
withoutName: ' La serie {seriesId} es un {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Los datos son los siguientes: ',
|
||||
partialData: 'Los primeros {displayCnt} elementos son: ',
|
||||
withName: 'los datos para {name} son {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('ES', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Persian.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'بهمن', 'اسفند', 'فروردین', 'اردیبهشت', 'خرداد', 'تیر',
|
||||
'مرداد', 'شهریور', 'مهر', 'آبان', 'آذر', 'دی'
|
||||
],
|
||||
monthAbbr: [
|
||||
'بهمن', 'اسفند', 'فروردین', 'اردیبهشت', 'خرداد', 'تیر',
|
||||
'مرداد', 'شهریور', 'مهر', 'آبان', 'آذر', 'دی'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'همه',
|
||||
inverse: 'معکوس'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'چهار ضلعی',
|
||||
polygon: 'چند ضلعی',
|
||||
lineX: 'افقی',
|
||||
lineY: 'عمودی',
|
||||
keep: 'قفل کردن',
|
||||
clear: 'پاک کردن'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'نمایش دادهها',
|
||||
lang: ['نمایش دادهها', 'خروج', 'بارگذاری مجدد']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'بزرگنمایی',
|
||||
back: 'خروج از بزرگنمایی'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'نمودار خطی',
|
||||
bar: 'نمودار میلهای',
|
||||
stack: 'پشته',
|
||||
tiled: 'کاشی'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'بازگردانی'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'ذخیره تصویر',
|
||||
lang: ['راست کلیک برای ذخیره تصویر']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'نمودار دایرهای',
|
||||
bar: 'نمودار میلهای',
|
||||
line: 'نمودار خطی',
|
||||
scatter: 'طرح پراکنده',
|
||||
effectScatter: 'طرح پراکنده موج دار',
|
||||
radar: 'نمودار راداری',
|
||||
tree: 'درخت',
|
||||
treemap: 'نقشه درختی',
|
||||
boxplot: 'طرح جعبه',
|
||||
candlestick: 'شمعی',
|
||||
k: 'نمودار خطی k',
|
||||
heatmap: 'نقشه گرمایی',
|
||||
map: 'نقشه',
|
||||
parallel: 'نقشه مختصات موازی',
|
||||
lines: 'گراف خطی',
|
||||
graph: 'گراف ارتباط',
|
||||
sankey: 'دیاگرام سنکی',
|
||||
funnel: 'نمودار قیفی',
|
||||
gauge: 'اندازه گیر',
|
||||
pictorialBar: 'نوار تصویری',
|
||||
themeRiver: 'نقشه رودخانه رنگی',
|
||||
sunburst: 'آفتاب زدگی',
|
||||
custom: 'نمودار سفارشی',
|
||||
chart: 'نمودار'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'نمودار مربوط به "{title}"',
|
||||
withoutTitle: 'این یک نمودار است'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: 'با نوع {seriesType} و نام {seriesName}.',
|
||||
withoutName: 'با نوع {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. تشکیل شده از {seriesCount} سری.',
|
||||
withName: '{seriesId} سری نوعی از {seriesType} به نام {seriesName} است.',
|
||||
withoutName: 'سری {seriesId} نوعی از {seriesType} است.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'دیتای نمونه: ',
|
||||
partialData: 'اولین عنصر از {displayCnt}:',
|
||||
withName: 'مقدار {name}, {value} است',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Persian.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'بهمن', 'اسفند', 'فروردین', 'اردیبهشت', 'خرداد', 'تیر',
|
||||
'مرداد', 'شهریور', 'مهر', 'آبان', 'آذر', 'دی'
|
||||
],
|
||||
monthAbbr: [
|
||||
'بهمن', 'اسفند', 'فروردین', 'اردیبهشت', 'خرداد', 'تیر',
|
||||
'مرداد', 'شهریور', 'مهر', 'آبان', 'آذر', 'دی'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'همه',
|
||||
inverse: 'معکوس'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'چهار ضلعی',
|
||||
polygon: 'چند ضلعی',
|
||||
lineX: 'افقی',
|
||||
lineY: 'عمودی',
|
||||
keep: 'قفل کردن',
|
||||
clear: 'پاک کردن'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'نمایش دادهها',
|
||||
lang: ['نمایش دادهها', 'خروج', 'بارگذاری مجدد']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'بزرگنمایی',
|
||||
back: 'خروج از بزرگنمایی'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'نمودار خطی',
|
||||
bar: 'نمودار میلهای',
|
||||
stack: 'پشته',
|
||||
tiled: 'کاشی'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'بازگردانی'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'ذخیره تصویر',
|
||||
lang: ['راست کلیک برای ذخیره تصویر']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'نمودار دایرهای',
|
||||
bar: 'نمودار میلهای',
|
||||
line: 'نمودار خطی',
|
||||
scatter: 'طرح پراکنده',
|
||||
effectScatter: 'طرح پراکنده موج دار',
|
||||
radar: 'نمودار راداری',
|
||||
tree: 'درخت',
|
||||
treemap: 'نقشه درختی',
|
||||
boxplot: 'طرح جعبه',
|
||||
candlestick: 'شمعی',
|
||||
k: 'نمودار خطی k',
|
||||
heatmap: 'نقشه گرمایی',
|
||||
map: 'نقشه',
|
||||
parallel: 'نقشه مختصات موازی',
|
||||
lines: 'گراف خطی',
|
||||
graph: 'گراف ارتباط',
|
||||
sankey: 'دیاگرام سنکی',
|
||||
funnel: 'نمودار قیفی',
|
||||
gauge: 'اندازه گیر',
|
||||
pictorialBar: 'نوار تصویری',
|
||||
themeRiver: 'نقشه رودخانه رنگی',
|
||||
sunburst: 'آفتاب زدگی',
|
||||
custom: 'نمودار سفارشی',
|
||||
chart: 'نمودار'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'نمودار مربوط به "{title}"',
|
||||
withoutTitle: 'این یک نمودار است'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: 'با نوع {seriesType} و نام {seriesName}.',
|
||||
withoutName: 'با نوع {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. تشکیل شده از {seriesCount} سری.',
|
||||
withName: '{seriesId} سری نوعی از {seriesType} به نام {seriesName} است.',
|
||||
withoutName: 'سری {seriesId} نوعی از {seriesType} است.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'دیتای نمونه: ',
|
||||
partialData: 'اولین عنصر از {displayCnt}:',
|
||||
withName: 'مقدار {name}, {value} است',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('FA', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'tammikuuta', 'helmikuuta', 'maaliskuuta', 'huhtikuuta', 'toukokuuta', 'kesäkuuta',
|
||||
'heinäkuuta', 'elokuuta', 'syyskuuta', 'lokakuuta', 'marraskuuta', 'joulukuuta'
|
||||
],
|
||||
monthAbbr: [
|
||||
'tammik', 'helmik', 'maalisk', 'huhtik', 'toukok', 'kesäk',
|
||||
'heinäk', 'elok', 'syysk', 'lokak', 'marrask', 'jouluk'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'sunnuntaina', 'maanantaina', 'tiistaina', 'keskiviikkona', 'torstaina', 'perjantaina', 'lauantaina'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Kaikki',
|
||||
inverse: 'Käänteinen'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Laatikko valinta',
|
||||
polygon: 'Lasso valinta',
|
||||
lineX: 'Vaakataso valinta',
|
||||
lineY: 'Pysty valinta',
|
||||
keep: 'Pidä valinta',
|
||||
clear: 'Poista valinta'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Data näkymä',
|
||||
lang: ['Data näkymä', 'Sulje', 'Päivitä']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoomaa',
|
||||
back: 'Zoomin nollaus'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Vaihda Viivakaavioon',
|
||||
bar: 'Vaihda palkkikaavioon',
|
||||
stack: 'Pinoa',
|
||||
tiled: 'Erottele'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Palauta'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Tallenna kuvana',
|
||||
lang: ['Paina oikeaa hiirennappia tallentaaksesi kuva']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Ympyrädiagrammi',
|
||||
bar: 'Pylväsdiagrammi',
|
||||
line: 'Viivakaavio',
|
||||
scatter: 'Pisteplot',
|
||||
effectScatter: 'Ripple-pisteplot',
|
||||
radar: 'Sädekaavio',
|
||||
tree: 'Puu',
|
||||
treemap: 'Tilastoaluekartta',
|
||||
boxplot: 'Viivadiagrammi',
|
||||
candlestick: 'Kynttiläkaavio',
|
||||
k: 'K-linjakaavio',
|
||||
heatmap: 'Lämpökartta',
|
||||
map: 'Kartta',
|
||||
parallel: 'Rinnakkaiskoordinaattikartta',
|
||||
lines: 'Viivakuvaaja',
|
||||
graph: 'Suhdekuvaaja',
|
||||
sankey: 'Sankey-kaavio',
|
||||
funnel: 'Suppilokaavio',
|
||||
gauge: 'Mittari',
|
||||
pictorialBar: 'Kuvallinen pylväs',
|
||||
themeRiver: 'Teemajokikartta',
|
||||
sunburst: 'Auringonkehä',
|
||||
custom: 'Mukautettu kaavio',
|
||||
chart: 'Kaavio'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Tämä on kaavio “{title}”',
|
||||
withoutTitle: 'Tämä on kaavio'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' tyyppiä {seriesType} nimeltään {seriesName}.',
|
||||
withoutName: ' tyyppiä {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Se koostuu {seriesCount} sarjasta.',
|
||||
withName: ' Sarja {seriesId} on {seriesType}, joka edustaa {seriesName}.',
|
||||
withoutName: ' Sarja {seriesId} on {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Tiedot ovat seuraavat: ',
|
||||
partialData: 'Ensimmäiset {displayCnt} kohtaa ovat: ',
|
||||
withName: 'tiedot nimelle {name} ovat {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,167 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'tammikuuta', 'helmikuuta', 'maaliskuuta', 'huhtikuuta', 'toukokuuta', 'kesäkuuta',
|
||||
'heinäkuuta', 'elokuuta', 'syyskuuta', 'lokakuuta', 'marraskuuta', 'joulukuuta'
|
||||
],
|
||||
monthAbbr: [
|
||||
'tammik', 'helmik', 'maalisk', 'huhtik', 'toukok', 'kesäk',
|
||||
'heinäk', 'elok', 'syysk', 'lokak', 'marrask', 'jouluk'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'sunnuntaina', 'maanantaina', 'tiistaina', 'keskiviikkona', 'torstaina', 'perjantaina', 'lauantaina'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'su', 'ma', 'ti', 'ke', 'to', 'pe', 'la'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Kaikki',
|
||||
inverse: 'Käänteinen'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Laatikko valinta',
|
||||
polygon: 'Lasso valinta',
|
||||
lineX: 'Vaakataso valinta',
|
||||
lineY: 'Pysty valinta',
|
||||
keep: 'Pidä valinta',
|
||||
clear: 'Poista valinta'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Data näkymä',
|
||||
lang: ['Data näkymä', 'Sulje', 'Päivitä']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoomaa',
|
||||
back: 'Zoomin nollaus'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Vaihda Viivakaavioon',
|
||||
bar: 'Vaihda palkkikaavioon',
|
||||
stack: 'Pinoa',
|
||||
tiled: 'Erottele'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Palauta'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Tallenna kuvana',
|
||||
lang: ['Paina oikeaa hiirennappia tallentaaksesi kuva']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Ympyrädiagrammi',
|
||||
bar: 'Pylväsdiagrammi',
|
||||
line: 'Viivakaavio',
|
||||
scatter: 'Pisteplot',
|
||||
effectScatter: 'Ripple-pisteplot',
|
||||
radar: 'Sädekaavio',
|
||||
tree: 'Puu',
|
||||
treemap: 'Tilastoaluekartta',
|
||||
boxplot: 'Viivadiagrammi',
|
||||
candlestick: 'Kynttiläkaavio',
|
||||
k: 'K-linjakaavio',
|
||||
heatmap: 'Lämpökartta',
|
||||
map: 'Kartta',
|
||||
parallel: 'Rinnakkaiskoordinaattikartta',
|
||||
lines: 'Viivakuvaaja',
|
||||
graph: 'Suhdekuvaaja',
|
||||
sankey: 'Sankey-kaavio',
|
||||
funnel: 'Suppilokaavio',
|
||||
gauge: 'Mittari',
|
||||
pictorialBar: 'Kuvallinen pylväs',
|
||||
themeRiver: 'Teemajokikartta',
|
||||
sunburst: 'Auringonkehä',
|
||||
custom: 'Mukautettu kaavio',
|
||||
chart: 'Kaavio'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Tämä on kaavio “{title}”',
|
||||
withoutTitle: 'Tämä on kaavio'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' tyyppiä {seriesType} nimeltään {seriesName}.',
|
||||
withoutName: ' tyyppiä {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Se koostuu {seriesCount} sarjasta.',
|
||||
withName: ' Sarja {seriesId} on {seriesType}, joka edustaa {seriesName}.',
|
||||
withoutName: ' Sarja {seriesId} on {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Tiedot ovat seuraavat: ',
|
||||
partialData: 'Ensimmäiset {displayCnt} kohtaa ovat: ',
|
||||
withName: 'tiedot nimelle {name} ovat {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('FI', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Français.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin',
|
||||
'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Jan', 'Fév', 'Mars', 'Avr', 'Mai', 'Juin',
|
||||
'Juil', 'Août', 'Sept', 'Oct', 'Nov', 'Déc'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Tout',
|
||||
inverse: 'Inverse'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Sélection rectangulaire',
|
||||
polygon: 'Sélection au lasso',
|
||||
lineX: 'Sélectionner horizontalement',
|
||||
lineY: 'Sélectionner verticalement',
|
||||
keep: 'Garder la sélection',
|
||||
clear: 'Effacer la sélection'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Visualisation des données',
|
||||
lang: ['Visualisation des données', 'Fermer', 'Rafraîchir']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Zoom Remise à zéro'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Changer pour Ligne',
|
||||
bar: 'Changer pour Histogramme',
|
||||
stack: 'Superposition',
|
||||
tiled: 'Tuile'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Restaurer'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Sauvegarder l\'image',
|
||||
lang: ['Clic droit pour sauvegarder l\'image']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Camembert',
|
||||
bar: 'Histogramme',
|
||||
line: 'Ligne',
|
||||
scatter: 'Nuage de points',
|
||||
effectScatter: 'Nuage de points stylisé',
|
||||
radar: 'Radar',
|
||||
tree: 'Arbre',
|
||||
treemap: 'Treemap',
|
||||
boxplot: 'Boîte à moustaches',
|
||||
candlestick: 'Chandelier',
|
||||
k: 'Linéaire K',
|
||||
heatmap: 'Carte de fréquentation',
|
||||
map: 'Carte',
|
||||
parallel: 'Données parallèles',
|
||||
lines: 'Lignes',
|
||||
graph: 'Graphe',
|
||||
sankey: 'Sankey',
|
||||
funnel: 'Entonnoir',
|
||||
gauge: 'Jauge',
|
||||
pictorialBar: 'Barres à images',
|
||||
themeRiver: 'Stream Graph',
|
||||
sunburst: 'Sunburst',
|
||||
custom: 'Graphique personnalisé',
|
||||
chart: 'Graphique'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Cette carte est intitulée "{title}"',
|
||||
withoutTitle: 'C\'est une carte'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' Avec le type de {seriesType} qui s\'appelle {seriesName}.',
|
||||
withoutName: ' Avec le type de {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: ' Elle comprend {seriesCount} séries.',
|
||||
withName: ' La série {seriesId} représente {seriesName} de {seriesType}.',
|
||||
withoutName: ' La série {seriesId} est un/une {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Les données sont: ',
|
||||
partialData: 'Les premiers {displayCnt} éléments sont : ',
|
||||
withName: 'Les données pour {name} sont {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Français.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin',
|
||||
'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Jan', 'Fév', 'Mars', 'Avr', 'Mai', 'Juin',
|
||||
'Juil', 'Août', 'Sept', 'Oct', 'Nov', 'Déc'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Tout',
|
||||
inverse: 'Inverse'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Sélection rectangulaire',
|
||||
polygon: 'Sélection au lasso',
|
||||
lineX: 'Sélectionner horizontalement',
|
||||
lineY: 'Sélectionner verticalement',
|
||||
keep: 'Garder la sélection',
|
||||
clear: 'Effacer la sélection'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Visualisation des données',
|
||||
lang: ['Visualisation des données', 'Fermer', 'Rafraîchir']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Zoom Remise à zéro'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Changer pour Ligne',
|
||||
bar: 'Changer pour Histogramme',
|
||||
stack: 'Superposition',
|
||||
tiled: 'Tuile'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Restaurer'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Sauvegarder l\'image',
|
||||
lang: ['Clic droit pour sauvegarder l\'image']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Camembert',
|
||||
bar: 'Histogramme',
|
||||
line: 'Ligne',
|
||||
scatter: 'Nuage de points',
|
||||
effectScatter: 'Nuage de points stylisé',
|
||||
radar: 'Radar',
|
||||
tree: 'Arbre',
|
||||
treemap: 'Treemap',
|
||||
boxplot: 'Boîte à moustaches',
|
||||
candlestick: 'Chandelier',
|
||||
k: 'Linéaire K',
|
||||
heatmap: 'Carte de fréquentation',
|
||||
map: 'Carte',
|
||||
parallel: 'Données parallèles',
|
||||
lines: 'Lignes',
|
||||
graph: 'Graphe',
|
||||
sankey: 'Sankey',
|
||||
funnel: 'Entonnoir',
|
||||
gauge: 'Jauge',
|
||||
pictorialBar: 'Barres à images',
|
||||
themeRiver: 'Stream Graph',
|
||||
sunburst: 'Sunburst',
|
||||
custom: 'Graphique personnalisé',
|
||||
chart: 'Graphique'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Cette carte est intitulée "{title}"',
|
||||
withoutTitle: 'C\'est une carte'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' Avec le type de {seriesType} qui s\'appelle {seriesName}.',
|
||||
withoutName: ' Avec le type de {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: ' Elle comprend {seriesCount} séries.',
|
||||
withName: ' La série {seriesId} représente {seriesName} de {seriesType}.',
|
||||
withoutName: ' La série {seriesId} est un/une {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Les données sont: ',
|
||||
partialData: 'Les premiers {displayCnt} éléments sont : ',
|
||||
withName: 'Les données pour {name} sont {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('FR', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Hungarian.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Január', 'Február', 'Március', 'Április', 'Május', 'Június',
|
||||
'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún',
|
||||
'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Vasárnap', 'Hétfő', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'V', 'H', 'K', 'Sze', 'Csü', 'P', 'Szo'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Mind',
|
||||
inverse: 'Inverz'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Négyzet kijelölés',
|
||||
polygon: 'Lasszó kijelölés',
|
||||
lineX: 'Vízszintes kijelölés',
|
||||
lineY: 'Függőleges kijelölés',
|
||||
keep: 'Kijelölések megtartása',
|
||||
clear: 'Kijelölések törlése'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Adat nézet',
|
||||
lang: ['Adat nézet', 'Bezárás', 'Frissítés']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Nagyítás',
|
||||
back: 'Alapméret'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Váltás vonal diagramra',
|
||||
bar: 'Váltás oszlop diagramra',
|
||||
stack: 'Halmozás',
|
||||
tiled: 'Csempe'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Visszaállítás'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Mentés képként',
|
||||
lang: ['Kattints jobb egérgombbal a mentéshez képként']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Oszlopdiagram',
|
||||
bar: 'Sávdiagram',
|
||||
line: 'Vonaldiagram',
|
||||
scatter: 'Pontdiagram',
|
||||
effectScatter: 'Buborékdiagram',
|
||||
radar: 'Sugárdiagram',
|
||||
tree: 'Fa',
|
||||
treemap: 'Fatérkép',
|
||||
boxplot: 'Dobozdiagram',
|
||||
candlestick: 'Árfolyamdiagram',
|
||||
k: 'K vonaldiagram',
|
||||
heatmap: 'Hőtérkép',
|
||||
map: 'Térkép',
|
||||
parallel: 'Párhuzamos koordináta térkép',
|
||||
lines: 'Vonalgráf',
|
||||
graph: 'Kapcsolatgráf',
|
||||
sankey: 'Sankey-diagram',
|
||||
funnel: 'Vízesésdiagram',
|
||||
gauge: 'Mérőeszköz',
|
||||
pictorialBar: 'Képes sávdiagram',
|
||||
themeRiver: 'Folyó témájú térkép',
|
||||
sunburst: 'Napégés',
|
||||
custom: 'Egyedi diagram',
|
||||
chart: 'Diagram'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Ez egy diagram, amely neve "{title}"',
|
||||
withoutTitle: 'Ez egy diagram'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' típusa {seriesType} és elnevezése {seriesName}.',
|
||||
withoutName: ' típusa {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Az adatsorok száma {seriesCount}.',
|
||||
withName: ' A {seriesId} számú adatsor típusa {seriesType} és neve {seriesName}.',
|
||||
withoutName: ' A {seriesId} számú adatsor típusa {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Az adatok a következők: ',
|
||||
partialData: 'Az első {displayCnt} elemek: ',
|
||||
withName: 'a {name} nevű adat értéke {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Hungarian.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Január', 'Február', 'Március', 'Április', 'Május', 'Június',
|
||||
'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún',
|
||||
'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Vasárnap', 'Hétfő', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'V', 'H', 'K', 'Sze', 'Csü', 'P', 'Szo'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Mind',
|
||||
inverse: 'Inverz'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Négyzet kijelölés',
|
||||
polygon: 'Lasszó kijelölés',
|
||||
lineX: 'Vízszintes kijelölés',
|
||||
lineY: 'Függőleges kijelölés',
|
||||
keep: 'Kijelölések megtartása',
|
||||
clear: 'Kijelölések törlése'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Adat nézet',
|
||||
lang: ['Adat nézet', 'Bezárás', 'Frissítés']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Nagyítás',
|
||||
back: 'Alapméret'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Váltás vonal diagramra',
|
||||
bar: 'Váltás oszlop diagramra',
|
||||
stack: 'Halmozás',
|
||||
tiled: 'Csempe'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Visszaállítás'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Mentés képként',
|
||||
lang: ['Kattints jobb egérgombbal a mentéshez képként']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Oszlopdiagram',
|
||||
bar: 'Sávdiagram',
|
||||
line: 'Vonaldiagram',
|
||||
scatter: 'Pontdiagram',
|
||||
effectScatter: 'Buborékdiagram',
|
||||
radar: 'Sugárdiagram',
|
||||
tree: 'Fa',
|
||||
treemap: 'Fatérkép',
|
||||
boxplot: 'Dobozdiagram',
|
||||
candlestick: 'Árfolyamdiagram',
|
||||
k: 'K vonaldiagram',
|
||||
heatmap: 'Hőtérkép',
|
||||
map: 'Térkép',
|
||||
parallel: 'Párhuzamos koordináta térkép',
|
||||
lines: 'Vonalgráf',
|
||||
graph: 'Kapcsolatgráf',
|
||||
sankey: 'Sankey-diagram',
|
||||
funnel: 'Vízesésdiagram',
|
||||
gauge: 'Mérőeszköz',
|
||||
pictorialBar: 'Képes sávdiagram',
|
||||
themeRiver: 'Folyó témájú térkép',
|
||||
sunburst: 'Napégés',
|
||||
custom: 'Egyedi diagram',
|
||||
chart: 'Diagram'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Ez egy diagram, amely neve "{title}"',
|
||||
withoutTitle: 'Ez egy diagram'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' típusa {seriesType} és elnevezése {seriesName}.',
|
||||
withoutName: ' típusa {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Az adatsorok száma {seriesCount}.',
|
||||
withName: ' A {seriesId} számú adatsor típusa {seriesType} és neve {seriesName}.',
|
||||
withoutName: ' A {seriesId} számú adatsor típusa {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Az adatok a következők: ',
|
||||
partialData: 'Az első {displayCnt} elemek: ',
|
||||
withName: 'a {name} nevű adat értéke {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('HU', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Italian.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno',
|
||||
'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu',
|
||||
'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Tutti',
|
||||
inverse: 'Inverso'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Selezione rettangolare',
|
||||
polygon: 'Selezione lazo',
|
||||
lineX: 'Selezione orizzontale',
|
||||
lineY: 'Selezione verticale',
|
||||
keep: 'Mantieni selezione',
|
||||
clear: 'Rimuovi selezione'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Visualizzazione dati',
|
||||
lang: ['Visualizzazione dati', 'Chiudi', 'Aggiorna']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Resetta zoom'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Passa al grafico a linee',
|
||||
bar: 'Passa al grafico a barre',
|
||||
stack: 'Pila',
|
||||
tiled: 'Piastrella'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Ripristina'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Salva come immagine',
|
||||
lang: ['Tasto destro per salvare l\'immagine']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Grafico a torta',
|
||||
bar: 'Grafico a barre',
|
||||
line: 'Grafico a linee',
|
||||
scatter: 'Grafico a dispersione',
|
||||
effectScatter: 'Ripple scatter plot',
|
||||
radar: 'Grafico radar',
|
||||
tree: 'Albero',
|
||||
treemap: 'Treemap',
|
||||
boxplot: 'Diagramma a scatola e baffi',
|
||||
candlestick: 'Candlestick',
|
||||
k: 'K line chart',
|
||||
heatmap: 'Mappa di calore',
|
||||
map: 'Mappa',
|
||||
parallel: 'Grafico a coordinate parallele',
|
||||
lines: 'Grafico a linee',
|
||||
graph: 'Diagramma delle relazioni',
|
||||
sankey: 'Diagramma di Sankey',
|
||||
funnel: 'Grafico a imbuto',
|
||||
gauge: 'Gauge',
|
||||
pictorialBar: 'Pictorial bar',
|
||||
themeRiver: 'Theme River Map',
|
||||
sunburst: 'Radiale',
|
||||
custom: 'Egyedi diagram',
|
||||
chart: 'Grafico'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Questo è un grafico su "{title}"',
|
||||
withoutTitle: 'Questo è un grafico'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' con il tipo {seriesType} denominato {seriesName}.',
|
||||
withoutName: ' con il tipo {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. È composto da {seriesCount} serie.',
|
||||
withName: ' La {seriesId} serie è un {seriesType} denominata {seriesName}.',
|
||||
withoutName: ' la {seriesId} serie è un {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'I dati sono come segue: ',
|
||||
partialData: 'I primi {displayCnt} elementi sono: ',
|
||||
withName: 'il dato per {name} è {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Italian.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Gennaio', 'Febbraio', 'Marzo', 'Aprile', 'Maggio', 'Giugno',
|
||||
'Luglio', 'Agosto', 'Settembre', 'Ottobre', 'Novembre', 'Dicembre'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu',
|
||||
'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Domenica', 'Lunedì', 'Martedì', 'Mercoledì', 'Giovedì', 'Venerdì', 'Sabato'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Dom', 'Lun', 'Mar', 'Mer', 'Gio', 'Ven', 'Sab'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Tutti',
|
||||
inverse: 'Inverso'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Selezione rettangolare',
|
||||
polygon: 'Selezione lazo',
|
||||
lineX: 'Selezione orizzontale',
|
||||
lineY: 'Selezione verticale',
|
||||
keep: 'Mantieni selezione',
|
||||
clear: 'Rimuovi selezione'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Visualizzazione dati',
|
||||
lang: ['Visualizzazione dati', 'Chiudi', 'Aggiorna']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Resetta zoom'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Passa al grafico a linee',
|
||||
bar: 'Passa al grafico a barre',
|
||||
stack: 'Pila',
|
||||
tiled: 'Piastrella'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Ripristina'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Salva come immagine',
|
||||
lang: ['Tasto destro per salvare l\'immagine']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Grafico a torta',
|
||||
bar: 'Grafico a barre',
|
||||
line: 'Grafico a linee',
|
||||
scatter: 'Grafico a dispersione',
|
||||
effectScatter: 'Ripple scatter plot',
|
||||
radar: 'Grafico radar',
|
||||
tree: 'Albero',
|
||||
treemap: 'Treemap',
|
||||
boxplot: 'Diagramma a scatola e baffi',
|
||||
candlestick: 'Candlestick',
|
||||
k: 'K line chart',
|
||||
heatmap: 'Mappa di calore',
|
||||
map: 'Mappa',
|
||||
parallel: 'Grafico a coordinate parallele',
|
||||
lines: 'Grafico a linee',
|
||||
graph: 'Diagramma delle relazioni',
|
||||
sankey: 'Diagramma di Sankey',
|
||||
funnel: 'Grafico a imbuto',
|
||||
gauge: 'Gauge',
|
||||
pictorialBar: 'Pictorial bar',
|
||||
themeRiver: 'Theme River Map',
|
||||
sunburst: 'Radiale',
|
||||
custom: 'Egyedi diagram',
|
||||
chart: 'Grafico'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Questo è un grafico su "{title}"',
|
||||
withoutTitle: 'Questo è un grafico'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' con il tipo {seriesType} denominato {seriesName}.',
|
||||
withoutName: ' con il tipo {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. È composto da {seriesCount} serie.',
|
||||
withName: ' La {seriesId} serie è un {seriesType} denominata {seriesName}.',
|
||||
withoutName: ' la {seriesId} serie è un {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'I dati sono come segue: ',
|
||||
partialData: 'I primi {displayCnt} elementi sono: ',
|
||||
withName: 'il dato per {name} è {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('IT', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Korean.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'1월', '2월', '3월', '4월', '5월', '6월',
|
||||
'7월', '8월', '9월', '10월', '11월', '12월'
|
||||
],
|
||||
monthAbbr: [
|
||||
'1월', '2월', '3월', '4월', '5월', '6월',
|
||||
'7월', '8월', '9월', '10월', '11월', '12월'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'일', '월', '화', '수', '목', '금', '토'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: '모두 선택',
|
||||
inverse: '선택 범위 반전'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: '사각형 선택',
|
||||
polygon: '올가미 선택',
|
||||
lineX: '수평 선택',
|
||||
lineY: '수직 선택',
|
||||
keep: '선택 유지',
|
||||
clear: '선택 지우기'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: '날짜 보기',
|
||||
lang: ['날짜 보기', '닫기', '새로 고침']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: '확대/축소',
|
||||
back: '확대/축소 초기화'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: '꺽은선 그래프로 변경',
|
||||
bar: '막대 그래프로 변경',
|
||||
stack: '스택',
|
||||
tiled: '타일'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: '복구'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: '이미지로 저장',
|
||||
lang: ['이미지를 저장하려면 마우스 오른쪽 버튼을 클릭하세요.']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: '원 그래프',
|
||||
bar: '막대 그래프',
|
||||
line: '꺽은선 그래프',
|
||||
scatter: '산점도',
|
||||
effectScatter: '물결 효과 산점도',
|
||||
radar: '방사형 그래프',
|
||||
tree: '트리',
|
||||
treemap: '트리맵',
|
||||
boxplot: '상자 수염 그래프',
|
||||
candlestick: '캔들스틱 차트',
|
||||
k: 'K 라인 차트',
|
||||
heatmap: '히트 맵',
|
||||
map: '지도',
|
||||
parallel: '평행 좌표 맵',
|
||||
lines: '선',
|
||||
graph: '관계 그래프',
|
||||
sankey: '산키 다이어그램',
|
||||
funnel: '깔때기형 그래프',
|
||||
gauge: '계기',
|
||||
pictorialBar: '픽토그램 차트',
|
||||
themeRiver: '스트림 그래프',
|
||||
sunburst: '선버스트 차트',
|
||||
custom: '맞춤 차트',
|
||||
chart: '차트'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: '"{title}"에 대한 차트입니다.',
|
||||
withoutTitle: '차트입니다.'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' 차트 유형은 {seriesType}이며 {seriesName}을 표시합니다.',
|
||||
withoutName: ' 차트 유형은 {seriesType}입니다.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. {seriesCount} 하나의 차트 시리즈로 구성됩니다.',
|
||||
withName: ' {seriesId}번째 시리즈는 {seriesName}을 나타내는 {seriesType} representing.',
|
||||
withoutName: ' {seriesId}번째 시리즈는 {seriesType}입니다.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: '데이터: ',
|
||||
partialData: '첫번째 {displayCnt} 아이템: ',
|
||||
withName: '{name}의 데이터는 {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Korean.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'1월', '2월', '3월', '4월', '5월', '6월',
|
||||
'7월', '8월', '9월', '10월', '11월', '12월'
|
||||
],
|
||||
monthAbbr: [
|
||||
'1월', '2월', '3월', '4월', '5월', '6월',
|
||||
'7월', '8월', '9월', '10월', '11월', '12월'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'일', '월', '화', '수', '목', '금', '토'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: '모두 선택',
|
||||
inverse: '선택 범위 반전'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: '사각형 선택',
|
||||
polygon: '올가미 선택',
|
||||
lineX: '수평 선택',
|
||||
lineY: '수직 선택',
|
||||
keep: '선택 유지',
|
||||
clear: '선택 지우기'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: '날짜 보기',
|
||||
lang: ['날짜 보기', '닫기', '새로 고침']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: '확대/축소',
|
||||
back: '확대/축소 초기화'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: '꺽은선 그래프로 변경',
|
||||
bar: '막대 그래프로 변경',
|
||||
stack: '스택',
|
||||
tiled: '타일'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: '복구'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: '이미지로 저장',
|
||||
lang: ['이미지를 저장하려면 마우스 오른쪽 버튼을 클릭하세요.']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: '원 그래프',
|
||||
bar: '막대 그래프',
|
||||
line: '꺽은선 그래프',
|
||||
scatter: '산점도',
|
||||
effectScatter: '물결 효과 산점도',
|
||||
radar: '방사형 그래프',
|
||||
tree: '트리',
|
||||
treemap: '트리맵',
|
||||
boxplot: '상자 수염 그래프',
|
||||
candlestick: '캔들스틱 차트',
|
||||
k: 'K 라인 차트',
|
||||
heatmap: '히트 맵',
|
||||
map: '지도',
|
||||
parallel: '평행 좌표 맵',
|
||||
lines: '선',
|
||||
graph: '관계 그래프',
|
||||
sankey: '산키 다이어그램',
|
||||
funnel: '깔때기형 그래프',
|
||||
gauge: '계기',
|
||||
pictorialBar: '픽토그램 차트',
|
||||
themeRiver: '스트림 그래프',
|
||||
sunburst: '선버스트 차트',
|
||||
custom: '맞춤 차트',
|
||||
chart: '차트'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: '"{title}"에 대한 차트입니다.',
|
||||
withoutTitle: '차트입니다.'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' 차트 유형은 {seriesType}이며 {seriesName}을 표시합니다.',
|
||||
withoutName: ' 차트 유형은 {seriesType}입니다.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. {seriesCount} 하나의 차트 시리즈로 구성됩니다.',
|
||||
withName: ' {seriesId}번째 시리즈는 {seriesName}을 나타내는 {seriesType} representing.',
|
||||
withoutName: ' {seriesId}번째 시리즈는 {seriesType}입니다.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: '데이터: ',
|
||||
partialData: '첫번째 {displayCnt} 아이템: ',
|
||||
withName: '{name}의 데이터는 {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('KO', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Dutch.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'januari', 'februari', 'maart', 'april', 'mei', 'juni',
|
||||
'juli', 'augustus', 'september', 'oktober', 'november', 'december'
|
||||
],
|
||||
monthAbbr: [
|
||||
'jan', 'feb', 'mrt', 'apr', 'mei', 'jun',
|
||||
'jul', 'aug', 'sep', 'okt', 'nov', 'dec'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Alle',
|
||||
inverse: 'Omgekeerd'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Vakselectie',
|
||||
polygon: 'Lasso selectie',
|
||||
lineX: 'Horizontale selectie',
|
||||
lineY: 'Verticale selectie',
|
||||
keep: 'Selecties behouden',
|
||||
clear: 'Selecties wissen'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Gegevensweergave',
|
||||
lang: ['Gegevensweergave', 'Sluiten', 'Vernieuwen']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Zoom herstellen'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Omzetten naar lijndiagram',
|
||||
bar: 'Omzetten naar staafdiagram',
|
||||
stack: 'Omzetten naar stapeldiagram',
|
||||
tiled: 'Omzetten naar tegeldiagram'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Herstellen'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Opslaan als afbeelding',
|
||||
lang: ['Klik rechtermuisknop om de afbeelding op te slaan']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Cirkeldiagram',
|
||||
bar: 'Staafdiagram',
|
||||
line: 'Lijndiagram',
|
||||
scatter: 'Spreidingsdiagram',
|
||||
effectScatter: 'Spreidingsdiagram met rimpeleffect',
|
||||
radar: 'Radardiagram',
|
||||
tree: 'Boomdiagram',
|
||||
treemap: 'Boomkaart',
|
||||
boxplot: 'Boxplot',
|
||||
candlestick: 'Kandelaardiagram',
|
||||
k: 'K-lijndiagram',
|
||||
heatmap: 'Hittekaart',
|
||||
map: 'Kaart',
|
||||
parallel: 'Parallele coördinatendiagram',
|
||||
lines: 'Lijnendiagram',
|
||||
graph: 'Relatiediagram',
|
||||
sankey: 'Sankey-diagram',
|
||||
funnel: 'Trechterdiagram',
|
||||
gauge: 'Graadmeter',
|
||||
pictorialBar: 'Staafdiagram met afbeeldingen',
|
||||
themeRiver: 'Thematische rivierdiagram',
|
||||
sunburst: 'Zonnestraaldiagram',
|
||||
custom: 'Aangepast diagram',
|
||||
chart: 'Diagram'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Dit is een diagram over "{title}"',
|
||||
withoutTitle: 'Dit is een diagram'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' van het type {seriesType} genaamd {seriesName}.',
|
||||
withoutName: ' van het type {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Het bestaat uit {seriesCount} series.',
|
||||
withName: ' De serie {seriesId} is een {seriesType} met de naam {seriesName}.',
|
||||
withoutName: ' De serie {seriesId} is een {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'De gegevens zijn als volgt: ',
|
||||
partialData: 'De eerste {displayCnt} items zijn: ',
|
||||
withName: 'de gegevens voor {name} zijn {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Dutch.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'januari', 'februari', 'maart', 'april', 'mei', 'juni',
|
||||
'juli', 'augustus', 'september', 'oktober', 'november', 'december'
|
||||
],
|
||||
monthAbbr: [
|
||||
'jan', 'feb', 'mrt', 'apr', 'mei', 'jun',
|
||||
'jul', 'aug', 'sep', 'okt', 'nov', 'dec'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Alle',
|
||||
inverse: 'Omgekeerd'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Vakselectie',
|
||||
polygon: 'Lasso selectie',
|
||||
lineX: 'Horizontale selectie',
|
||||
lineY: 'Verticale selectie',
|
||||
keep: 'Selecties behouden',
|
||||
clear: 'Selecties wissen'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Gegevensweergave',
|
||||
lang: ['Gegevensweergave', 'Sluiten', 'Vernieuwen']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Zoom herstellen'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Omzetten naar lijndiagram',
|
||||
bar: 'Omzetten naar staafdiagram',
|
||||
stack: 'Omzetten naar stapeldiagram',
|
||||
tiled: 'Omzetten naar tegeldiagram'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Herstellen'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Opslaan als afbeelding',
|
||||
lang: ['Klik rechtermuisknop om de afbeelding op te slaan']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Cirkeldiagram',
|
||||
bar: 'Staafdiagram',
|
||||
line: 'Lijndiagram',
|
||||
scatter: 'Spreidingsdiagram',
|
||||
effectScatter: 'Spreidingsdiagram met rimpeleffect',
|
||||
radar: 'Radardiagram',
|
||||
tree: 'Boomdiagram',
|
||||
treemap: 'Boomkaart',
|
||||
boxplot: 'Boxplot',
|
||||
candlestick: 'Kandelaardiagram',
|
||||
k: 'K-lijndiagram',
|
||||
heatmap: 'Hittekaart',
|
||||
map: 'Kaart',
|
||||
parallel: 'Parallele coördinatendiagram',
|
||||
lines: 'Lijnendiagram',
|
||||
graph: 'Relatiediagram',
|
||||
sankey: 'Sankey-diagram',
|
||||
funnel: 'Trechterdiagram',
|
||||
gauge: 'Graadmeter',
|
||||
pictorialBar: 'Staafdiagram met afbeeldingen',
|
||||
themeRiver: 'Thematische rivierdiagram',
|
||||
sunburst: 'Zonnestraaldiagram',
|
||||
custom: 'Aangepast diagram',
|
||||
chart: 'Diagram'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Dit is een diagram over "{title}"',
|
||||
withoutTitle: 'Dit is een diagram'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' van het type {seriesType} genaamd {seriesName}.',
|
||||
withoutName: ' van het type {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Het bestaat uit {seriesCount} series.',
|
||||
withName: ' De serie {seriesId} is een {seriesType} met de naam {seriesName}.',
|
||||
withoutName: ' De serie {seriesId} is een {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'De gegevens zijn als volgt: ',
|
||||
partialData: 'De eerste {displayCnt} items zijn: ',
|
||||
withName: 'de gegevens voor {name} zijn {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('NL', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Polish
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Styczeń', 'Luty', 'Marzec', 'Kwiecień', 'Maj', 'Czerwiec',
|
||||
'Lipiec', 'Sierpień', 'Wrzesień', 'Październik', 'Listopad', 'Grudzień'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Sty', 'Lut', 'Mar', 'Kwi', 'Maj', 'Cze',
|
||||
'Lip', 'Sie', 'Wrz', 'Paź', 'Lis', 'Gru'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Niedziela', 'Poniedziałek', 'Wtorek', 'Środa', 'Czwartek', 'Piątek', 'Sobota'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Nie', 'Pon', 'Wto', 'Śro', 'Czw', 'Pią', 'Sob'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Wszystko',
|
||||
inverse: 'Odwróć'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Zaznaczenie prostokątne',
|
||||
polygon: 'Zaznaczanie lasso',
|
||||
lineX: 'Zaznaczenie poziome',
|
||||
lineY: 'Zaznaczenie pionowe',
|
||||
keep: 'Zachowaj zaznaczenie',
|
||||
clear: 'Wyczyść zaznaczenie'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Widok danych',
|
||||
lang: ['Widok danych', 'Zamknij', 'Odśwież']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Przybliżenie',
|
||||
back: 'Resetuj przybliżenie'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Przełącz na wykres liniowy',
|
||||
bar: 'Przełącz na wykres słupkowy',
|
||||
stack: 'Przełącz na wykres słupkowy skumulowany',
|
||||
tiled: 'Przełącz na kafelki'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Przywróć'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Zapisz jako obrazek',
|
||||
lang: ['Kliknij prawym klawiszem myszy aby zapisać']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Wykres kołowy',
|
||||
bar: 'Wykres słupkowy',
|
||||
line: 'Wykres liniowy',
|
||||
scatter: 'Wykres punktowy',
|
||||
effectScatter: 'Wykres punktowy z efektem falowania',
|
||||
radar: 'Wykres radarowy',
|
||||
tree: 'Drzewo',
|
||||
treemap: 'Mapa drzewa',
|
||||
boxplot: 'Wykres pudełkowy',
|
||||
candlestick: 'Wykres świecowy',
|
||||
k: 'Wykres linii K',
|
||||
heatmap: 'Mapa ciepła',
|
||||
map: 'Mapa',
|
||||
parallel: 'Wykres współrzędnych równoległych',
|
||||
lines: 'Diagram linii',
|
||||
graph: 'Graf relacji',
|
||||
sankey: 'Wykres Sankeya',
|
||||
funnel: 'Wykres lejkowy',
|
||||
gauge: 'Wykres zegarowy',
|
||||
pictorialBar: 'Wykres słupkowy obrazkowy',
|
||||
themeRiver: 'Wykres rzeki tematycznej',
|
||||
sunburst: 'Wykres hierarchiczny słonecznikowy',
|
||||
custom: 'Wykres niestandardowy',
|
||||
chart: 'Wykres'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'To jest wykres dotyczący "{title}"',
|
||||
withoutTitle: 'To jest wykres'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' typu {seriesType} nazwana {seriesName}.',
|
||||
withoutName: ' typu {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Składający się z {seriesCount} serii danych.',
|
||||
withName: ' Seria danych {seriesId} jest serią typu {seriesType} przedstawiającą {seriesName}.',
|
||||
withoutName: ' Seria danych {seriesId} jest serią typu {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Dane są następujące: ',
|
||||
partialData: 'Pierwszych {displayCnt} elementów to: ',
|
||||
withName: 'dane dla {name} to {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Polish
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Styczeń', 'Luty', 'Marzec', 'Kwiecień', 'Maj', 'Czerwiec',
|
||||
'Lipiec', 'Sierpień', 'Wrzesień', 'Październik', 'Listopad', 'Grudzień'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Sty', 'Lut', 'Mar', 'Kwi', 'Maj', 'Cze',
|
||||
'Lip', 'Sie', 'Wrz', 'Paź', 'Lis', 'Gru'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Niedziela', 'Poniedziałek', 'Wtorek', 'Środa', 'Czwartek', 'Piątek', 'Sobota'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Nie', 'Pon', 'Wto', 'Śro', 'Czw', 'Pią', 'Sob'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Wszystko',
|
||||
inverse: 'Odwróć'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Zaznaczenie prostokątne',
|
||||
polygon: 'Zaznaczanie lasso',
|
||||
lineX: 'Zaznaczenie poziome',
|
||||
lineY: 'Zaznaczenie pionowe',
|
||||
keep: 'Zachowaj zaznaczenie',
|
||||
clear: 'Wyczyść zaznaczenie'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Widok danych',
|
||||
lang: ['Widok danych', 'Zamknij', 'Odśwież']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Przybliżenie',
|
||||
back: 'Resetuj przybliżenie'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Przełącz na wykres liniowy',
|
||||
bar: 'Przełącz na wykres słupkowy',
|
||||
stack: 'Przełącz na wykres słupkowy skumulowany',
|
||||
tiled: 'Przełącz na kafelki'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Przywróć'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Zapisz jako obrazek',
|
||||
lang: ['Kliknij prawym klawiszem myszy aby zapisać']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Wykres kołowy',
|
||||
bar: 'Wykres słupkowy',
|
||||
line: 'Wykres liniowy',
|
||||
scatter: 'Wykres punktowy',
|
||||
effectScatter: 'Wykres punktowy z efektem falowania',
|
||||
radar: 'Wykres radarowy',
|
||||
tree: 'Drzewo',
|
||||
treemap: 'Mapa drzewa',
|
||||
boxplot: 'Wykres pudełkowy',
|
||||
candlestick: 'Wykres świecowy',
|
||||
k: 'Wykres linii K',
|
||||
heatmap: 'Mapa ciepła',
|
||||
map: 'Mapa',
|
||||
parallel: 'Wykres współrzędnych równoległych',
|
||||
lines: 'Diagram linii',
|
||||
graph: 'Graf relacji',
|
||||
sankey: 'Wykres Sankeya',
|
||||
funnel: 'Wykres lejkowy',
|
||||
gauge: 'Wykres zegarowy',
|
||||
pictorialBar: 'Wykres słupkowy obrazkowy',
|
||||
themeRiver: 'Wykres rzeki tematycznej',
|
||||
sunburst: 'Wykres hierarchiczny słonecznikowy',
|
||||
custom: 'Wykres niestandardowy',
|
||||
chart: 'Wykres'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'To jest wykres dotyczący "{title}"',
|
||||
withoutTitle: 'To jest wykres'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' typu {seriesType} nazwana {seriesName}.',
|
||||
withoutName: ' typu {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Składający się z {seriesCount} serii danych.',
|
||||
withName: ' Seria danych {seriesId} jest serią typu {seriesType} przedstawiającą {seriesName}.',
|
||||
withoutName: ' Seria danych {seriesId} jest serią typu {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Dane są następujące: ',
|
||||
partialData: 'Pierwszych {displayCnt} elementów to: ',
|
||||
withName: 'dane dla {name} to {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('PL', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,176 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Portuguese (Brazil).
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho',
|
||||
'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun',
|
||||
'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira',
|
||||
'Quinta-feira', 'Sexta-feira', 'Sábado'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Todas',
|
||||
inverse: 'Inverter'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Seleção retangular',
|
||||
polygon: 'Seleção em laço',
|
||||
lineX: 'Selecionar horizontalmente',
|
||||
lineY: 'Selecionar verticalmente',
|
||||
keep: 'Manter seleções',
|
||||
clear: 'Limpar seleções'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Exibição de dados',
|
||||
lang: ['Exibição de dados', 'Fechar', 'Atualizar']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Restaurar Zoom'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Trocar para gráfico de linhas',
|
||||
bar: 'Trocar para gráfico de barras',
|
||||
stack: 'Empilhar',
|
||||
tiled: 'Tile'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Restaurar'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Salvar como imagem',
|
||||
lang: ['Clique com o botão direito para salvar imagem']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Gráfico de pizza',
|
||||
bar: 'Gráfico de barras',
|
||||
line: 'Gráfico de linhas',
|
||||
scatter: 'Gráfico de dispersão',
|
||||
effectScatter: 'Gráfico de dispersão ondulado',
|
||||
radar: 'Gráfico radar',
|
||||
tree: 'Gráfico de árvore',
|
||||
treemap: 'Mapa de árvore',
|
||||
boxplot: 'Gráfico de caixa',
|
||||
candlestick: 'Gráfico de vela',
|
||||
k: 'Gráfico de linha K',
|
||||
heatmap: 'Mapa de calor',
|
||||
map: 'Mapa',
|
||||
parallel: 'Coordenadas paralelas',
|
||||
lines: 'Gráfico de linhas',
|
||||
graph: 'Grafo',
|
||||
sankey: 'Gráfico Sankey',
|
||||
funnel: 'Gráfico de funil',
|
||||
gauge: 'Gráfico de medidor',
|
||||
pictorialBar: 'Barra pictórica',
|
||||
themeRiver: 'Gráfico de rio de tema',
|
||||
sunburst: 'Gráfico de explosão solar',
|
||||
custom: 'Gráfico personalizado',
|
||||
chart: 'Gráfico'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Este é um gráfico entitulado "{title}"',
|
||||
withoutTitle: 'Este é um gráfico'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' do tipo {seriesType} nomeada/nomeado como {seriesName}.',
|
||||
withoutName: ' do tipo {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Consiste de {seriesCount} séries.',
|
||||
withName: ' A {seriesId} série é um/uma {seriesType} representando {seriesName}.',
|
||||
withoutName: ' A {seriesId} series é um/uma {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Os dados são: ',
|
||||
partialData: 'As primeiros {displayCnt} itens são: ',
|
||||
withName: 'os dados para {name} são {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,172 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Portuguese (Brazil).
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho',
|
||||
'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun',
|
||||
'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Domingo', 'Segunda-feira', 'Terça-feira', 'Quarta-feira',
|
||||
'Quinta-feira', 'Sexta-feira', 'Sábado'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sáb'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Todas',
|
||||
inverse: 'Inverter'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Seleção retangular',
|
||||
polygon: 'Seleção em laço',
|
||||
lineX: 'Selecionar horizontalmente',
|
||||
lineY: 'Selecionar verticalmente',
|
||||
keep: 'Manter seleções',
|
||||
clear: 'Limpar seleções'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Exibição de dados',
|
||||
lang: ['Exibição de dados', 'Fechar', 'Atualizar']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Restaurar Zoom'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Trocar para gráfico de linhas',
|
||||
bar: 'Trocar para gráfico de barras',
|
||||
stack: 'Empilhar',
|
||||
tiled: 'Tile'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Restaurar'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Salvar como imagem',
|
||||
lang: ['Clique com o botão direito para salvar imagem']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Gráfico de pizza',
|
||||
bar: 'Gráfico de barras',
|
||||
line: 'Gráfico de linhas',
|
||||
scatter: 'Gráfico de dispersão',
|
||||
effectScatter: 'Gráfico de dispersão ondulado',
|
||||
radar: 'Gráfico radar',
|
||||
tree: 'Gráfico de árvore',
|
||||
treemap: 'Mapa de árvore',
|
||||
boxplot: 'Gráfico de caixa',
|
||||
candlestick: 'Gráfico de vela',
|
||||
k: 'Gráfico de linha K',
|
||||
heatmap: 'Mapa de calor',
|
||||
map: 'Mapa',
|
||||
parallel: 'Coordenadas paralelas',
|
||||
lines: 'Gráfico de linhas',
|
||||
graph: 'Grafo',
|
||||
sankey: 'Gráfico Sankey',
|
||||
funnel: 'Gráfico de funil',
|
||||
gauge: 'Gráfico de medidor',
|
||||
pictorialBar: 'Barra pictórica',
|
||||
themeRiver: 'Gráfico de rio de tema',
|
||||
sunburst: 'Gráfico de explosão solar',
|
||||
custom: 'Gráfico personalizado',
|
||||
chart: 'Gráfico'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Este é um gráfico entitulado "{title}"',
|
||||
withoutTitle: 'Este é um gráfico'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' do tipo {seriesType} nomeada/nomeado como {seriesName}.',
|
||||
withoutName: ' do tipo {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Consiste de {seriesCount} séries.',
|
||||
withName: ' A {seriesId} série é um/uma {seriesType} representando {seriesName}.',
|
||||
withoutName: ' A {seriesId} series é um/uma {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Os dados são: ',
|
||||
partialData: 'As primeiros {displayCnt} itens são: ',
|
||||
withName: 'os dados para {name} são {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('PT-br', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Romanian.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie',
|
||||
'iulie', 'august', 'septembrie', 'octombrie', 'noiembrie', 'decembrie'
|
||||
],
|
||||
monthAbbr: [
|
||||
'ian.', 'febr.', 'mart.', 'apr.', 'mai', 'iun.',
|
||||
'iul.', 'aug.', 'sept.', 'oct.', 'nov.', 'dec.'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Duminică', 'Luni', 'Marți', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'du.', 'lu.', 'ma.', 'mi.', 'jo.', 'vi.', 'sâ.'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Toate',
|
||||
inverse: 'Inversează'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Selecție dreptunghiulară',
|
||||
polygon: 'Selecție lasso',
|
||||
lineX: 'Selecție orizontală',
|
||||
lineY: 'Selecție verticală',
|
||||
keep: 'Păstrează selecția',
|
||||
clear: 'Șterge selecția'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Vizualizarea datelor',
|
||||
lang: ['Vizualizarea datelor', 'Închide', 'Reîmprospătează']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Resetează zoom'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Comută la diagramă cu linii',
|
||||
bar: 'Comută la diagramă cu bare',
|
||||
stack: 'Suprapune',
|
||||
tiled: 'Alătură'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Resetează'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Salvează ca imagine',
|
||||
lang: ['Clic dreapta pentru a salva ca imagine']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Diagramă radială',
|
||||
bar: 'Diagramă cu bare',
|
||||
line: 'Diagramă cu linii',
|
||||
scatter: 'Diagramă de dispersie',
|
||||
effectScatter: 'Diagramă de dispersie stilizată',
|
||||
radar: 'Diagramă radar',
|
||||
tree: 'Arbore',
|
||||
treemap: 'Hartă de arbori',
|
||||
boxplot: 'Diagramă boxbare',
|
||||
candlestick: 'Diagramă bursieră',
|
||||
k: 'Diagramă cu linii K',
|
||||
heatmap: 'Hartă termografică',
|
||||
map: 'Hartă',
|
||||
parallel: 'Hartă de coordonate paralele',
|
||||
lines: 'Linii',
|
||||
graph: 'Graf',
|
||||
sankey: 'Diagramă Sankey',
|
||||
funnel: 'Diagramă pâlnie',
|
||||
gauge: 'Calibru',
|
||||
pictorialBar: 'Diagramă cu bare picturale',
|
||||
themeRiver: 'Streamgraph',
|
||||
sunburst: 'Diagramă rază de soare',
|
||||
custom: 'Diagramă personalizată',
|
||||
chart: 'Diagramă'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Aceasta este o diagrmă despre "{title}"',
|
||||
withoutTitle: 'Aceasta este o diagramă'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' de tipul {seriesType} denumită {seriesName}.',
|
||||
withoutName: ' de tipul {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Este alcătuită din {seriesCount} serii.',
|
||||
withName: ' Seria {seriesId} este de tipul {seriesType} și reprezintă {seriesName}.',
|
||||
withoutName: ' Seria {seriesId} este de tipul {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Datele sunt: ',
|
||||
partialData: 'Primele {displayCnt} elemente sunt: ',
|
||||
withName: 'datele pentru {name} sunt {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Romanian.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie',
|
||||
'iulie', 'august', 'septembrie', 'octombrie', 'noiembrie', 'decembrie'
|
||||
],
|
||||
monthAbbr: [
|
||||
'ian.', 'febr.', 'mart.', 'apr.', 'mai', 'iun.',
|
||||
'iul.', 'aug.', 'sept.', 'oct.', 'nov.', 'dec.'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Duminică', 'Luni', 'Marți', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'du.', 'lu.', 'ma.', 'mi.', 'jo.', 'vi.', 'sâ.'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Toate',
|
||||
inverse: 'Inversează'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Selecție dreptunghiulară',
|
||||
polygon: 'Selecție lasso',
|
||||
lineX: 'Selecție orizontală',
|
||||
lineY: 'Selecție verticală',
|
||||
keep: 'Păstrează selecția',
|
||||
clear: 'Șterge selecția'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Vizualizarea datelor',
|
||||
lang: ['Vizualizarea datelor', 'Închide', 'Reîmprospătează']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zoom',
|
||||
back: 'Resetează zoom'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Comută la diagramă cu linii',
|
||||
bar: 'Comută la diagramă cu bare',
|
||||
stack: 'Suprapune',
|
||||
tiled: 'Alătură'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Resetează'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Salvează ca imagine',
|
||||
lang: ['Clic dreapta pentru a salva ca imagine']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Diagramă radială',
|
||||
bar: 'Diagramă cu bare',
|
||||
line: 'Diagramă cu linii',
|
||||
scatter: 'Diagramă de dispersie',
|
||||
effectScatter: 'Diagramă de dispersie stilizată',
|
||||
radar: 'Diagramă radar',
|
||||
tree: 'Arbore',
|
||||
treemap: 'Hartă de arbori',
|
||||
boxplot: 'Diagramă boxbare',
|
||||
candlestick: 'Diagramă bursieră',
|
||||
k: 'Diagramă cu linii K',
|
||||
heatmap: 'Hartă termografică',
|
||||
map: 'Hartă',
|
||||
parallel: 'Hartă de coordonate paralele',
|
||||
lines: 'Linii',
|
||||
graph: 'Graf',
|
||||
sankey: 'Diagramă Sankey',
|
||||
funnel: 'Diagramă pâlnie',
|
||||
gauge: 'Calibru',
|
||||
pictorialBar: 'Diagramă cu bare picturale',
|
||||
themeRiver: 'Streamgraph',
|
||||
sunburst: 'Diagramă rază de soare',
|
||||
custom: 'Diagramă personalizată',
|
||||
chart: 'Diagramă'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Aceasta este o diagrmă despre "{title}"',
|
||||
withoutTitle: 'Aceasta este o diagramă'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' de tipul {seriesType} denumită {seriesName}.',
|
||||
withoutName: ' de tipul {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Este alcătuită din {seriesCount} serii.',
|
||||
withName: ' Seria {seriesId} este de tipul {seriesType} și reprezintă {seriesName}.',
|
||||
withoutName: ' Seria {seriesId} este de tipul {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Datele sunt: ',
|
||||
partialData: 'Primele {displayCnt} elemente sunt: ',
|
||||
withName: 'datele pentru {name} sunt {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('RO', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,175 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Slovenian.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Januar', 'Februar', 'Marec', 'April', 'Maj', 'Junij',
|
||||
'Julij', 'Avgust', 'September', 'Oktober', 'November', 'December'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun',
|
||||
'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Nedelja', 'Ponedeljek', 'Torek', 'Sreda', 'Četrtek', 'Petek', 'Sobota'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Ned', 'Pon', 'Tor', 'Sre', 'Čet', 'Pet', 'Sob'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Vsi',
|
||||
inverse: 'Obratno'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Izbor s pravokotnikom',
|
||||
polygon: 'Izbor z lasom',
|
||||
lineX: 'Vodoravni izbor',
|
||||
lineY: 'Navpični izbor',
|
||||
keep: 'Ohrani izbor',
|
||||
clear: 'Počisti izbor'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Pogled podatkov',
|
||||
lang: ['Pogled podatkov', 'Zapri', 'Osveži']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Približaj',
|
||||
back: 'Povrni velikost'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Preklopi na črtni grafikon',
|
||||
bar: 'Preklopi na stolpčni grafikon',
|
||||
stack: 'Naloži',
|
||||
tiled: 'Drug ob drugem'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Povrni'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Shrani kot sliko',
|
||||
lang: ['Z desnim klikom shrani sliko']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Tortni grafikon',
|
||||
bar: 'Stolpčni grafikon',
|
||||
line: 'Črtni grafikon',
|
||||
scatter: 'Raztreseni grafikon',
|
||||
effectScatter: 'Raztreseni grafikon z efektom',
|
||||
radar: 'Radarski grafikon',
|
||||
tree: 'Drevo',
|
||||
treemap: 'Drevesna struktura',
|
||||
boxplot: 'Boxplot grafikon',
|
||||
candlestick: 'Svečni grafikon',
|
||||
k: 'K line grafikon',
|
||||
heatmap: 'Toplotni zemljevid',
|
||||
map: 'Zemljevid',
|
||||
parallel: 'Zemljevid vzporednih koordinat',
|
||||
lines: 'Črtni grafikon',
|
||||
graph: 'Grafikon razmerij',
|
||||
sankey: 'Sankey grafikon',
|
||||
funnel: 'Lijakasti grafikon',
|
||||
gauge: 'Števec',
|
||||
pictorialBar: 'Stolpčni grafikon s podobo',
|
||||
themeRiver: 'Tematski rečni grafikon',
|
||||
sunburst: 'Večnivojski tortni grafikon',
|
||||
custom: 'Grafikon po meri',
|
||||
chart: 'Grafikon'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'To je grafikon z naslovom "{title}"',
|
||||
withoutTitle: 'To je grafikon'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' tipa {seriesType} imenovan {seriesName}.',
|
||||
withoutName: ' tipa {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Sestavljen iz {seriesCount} nizov.',
|
||||
withName: ' Niz {seriesId} je tipa {seriesType} z nazivom {seriesName}.',
|
||||
withoutName: ' Niz {seriesId} je tipa {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Podatki so naslednji: ',
|
||||
partialData: 'Prvih {displayCnt} elementov je: ',
|
||||
withName: 'podatek za {name} je {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Slovenian.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Januar', 'Februar', 'Marec', 'April', 'Maj', 'Junij',
|
||||
'Julij', 'Avgust', 'September', 'Oktober', 'November', 'December'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun',
|
||||
'Jul', 'Avg', 'Sep', 'Okt', 'Nov', 'Dec'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Nedelja', 'Ponedeljek', 'Torek', 'Sreda', 'Četrtek', 'Petek', 'Sobota'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'Ned', 'Pon', 'Tor', 'Sre', 'Čet', 'Pet', 'Sob'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Vsi',
|
||||
inverse: 'Obratno'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Izbor s pravokotnikom',
|
||||
polygon: 'Izbor z lasom',
|
||||
lineX: 'Vodoravni izbor',
|
||||
lineY: 'Navpični izbor',
|
||||
keep: 'Ohrani izbor',
|
||||
clear: 'Počisti izbor'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Pogled podatkov',
|
||||
lang: ['Pogled podatkov', 'Zapri', 'Osveži']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Približaj',
|
||||
back: 'Povrni velikost'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Preklopi na črtni grafikon',
|
||||
bar: 'Preklopi na stolpčni grafikon',
|
||||
stack: 'Naloži',
|
||||
tiled: 'Drug ob drugem'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Povrni'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Shrani kot sliko',
|
||||
lang: ['Z desnim klikom shrani sliko']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Tortni grafikon',
|
||||
bar: 'Stolpčni grafikon',
|
||||
line: 'Črtni grafikon',
|
||||
scatter: 'Raztreseni grafikon',
|
||||
effectScatter: 'Raztreseni grafikon z efektom',
|
||||
radar: 'Radarski grafikon',
|
||||
tree: 'Drevo',
|
||||
treemap: 'Drevesna struktura',
|
||||
boxplot: 'Boxplot grafikon',
|
||||
candlestick: 'Svečni grafikon',
|
||||
k: 'K line grafikon',
|
||||
heatmap: 'Toplotni zemljevid',
|
||||
map: 'Zemljevid',
|
||||
parallel: 'Zemljevid vzporednih koordinat',
|
||||
lines: 'Črtni grafikon',
|
||||
graph: 'Grafikon razmerij',
|
||||
sankey: 'Sankey grafikon',
|
||||
funnel: 'Lijakasti grafikon',
|
||||
gauge: 'Števec',
|
||||
pictorialBar: 'Stolpčni grafikon s podobo',
|
||||
themeRiver: 'Tematski rečni grafikon',
|
||||
sunburst: 'Večnivojski tortni grafikon',
|
||||
custom: 'Grafikon po meri',
|
||||
chart: 'Grafikon'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'To je grafikon z naslovom "{title}"',
|
||||
withoutTitle: 'To je grafikon'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' tipa {seriesType} imenovan {seriesName}.',
|
||||
withoutName: ' tipa {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Sestavljen iz {seriesCount} nizov.',
|
||||
withName: ' Niz {seriesId} je tipa {seriesType} z nazivom {seriesName}.',
|
||||
withoutName: ' Niz {seriesId} je tipa {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Podatki so naslednji: ',
|
||||
partialData: 'Prvih {displayCnt} elementov je: ',
|
||||
withName: 'podatek za {name} je {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('SI', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,174 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Swedish.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'januari', 'februari', 'mars', 'april', 'maj', 'juni',
|
||||
'juli', 'augusti', 'september', 'oktober', 'november', 'december',
|
||||
],
|
||||
monthAbbr: [
|
||||
'jan', 'feb', 'mar', 'apr', 'maj', 'jun',
|
||||
'jul', 'aug', 'sep', 'okt', 'nov', 'dec',
|
||||
],
|
||||
dayOfWeek: [
|
||||
'söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag',
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'sön', 'mån', 'tis', 'ons', 'tor', 'fre', 'lör',
|
||||
],
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Alla',
|
||||
inverse: 'Omvänd',
|
||||
},
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Rektangelurval',
|
||||
polygon: 'Lassomarkering',
|
||||
lineX: 'Vågrätt urval',
|
||||
lineY: 'Lodrätt urval',
|
||||
keep: 'Behåll urval',
|
||||
clear: 'Rensa urval',
|
||||
},
|
||||
},
|
||||
dataView: {
|
||||
title: 'Datavy',
|
||||
lang: ['Datavy', 'Stäng', 'Uppdatera'],
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zooma',
|
||||
back: 'Återställ zoom',
|
||||
},
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Byt till linjediagram',
|
||||
bar: 'Byt till stapeldiagram',
|
||||
stack: 'Stapla',
|
||||
tiled: 'Sida vid sida',
|
||||
},
|
||||
},
|
||||
restore: {
|
||||
title: 'Återställ',
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Spara som bild',
|
||||
lang: ['Högerklicka för att spara bild'],
|
||||
},
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Cirkeldiagram',
|
||||
bar: 'Stapeldiagram',
|
||||
line: 'Linjediagram',
|
||||
scatter: 'Punktdiagram',
|
||||
effectScatter: 'Punktdiagram med rippeleffekt',
|
||||
radar: 'Radardiagram',
|
||||
tree: 'Träd',
|
||||
treemap: 'Trädkarta',
|
||||
boxplot: 'Lådagram',
|
||||
candlestick: 'Candlestick',
|
||||
k: 'K-linjediagram',
|
||||
heatmap: 'Värmekarta',
|
||||
map: 'Karta',
|
||||
parallel: 'Parallella koordinater',
|
||||
lines: 'Linjediagram',
|
||||
graph: 'Relationsgraf',
|
||||
sankey: 'Sankeydiagram',
|
||||
funnel: 'Trattdiagram',
|
||||
gauge: 'Mätare',
|
||||
pictorialBar: 'Bildstapel',
|
||||
themeRiver: 'Tematisk flod',
|
||||
sunburst: 'Solburstdiagram',
|
||||
custom: 'Anpassat',
|
||||
chart: 'Diagram',
|
||||
},
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Detta är ett diagram om "{title}"',
|
||||
withoutTitle: 'Detta är ett diagram',
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' med typnamn {name}.',
|
||||
withoutName: ' med typ {seriesType}.',
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Det består av {seriesCount} serier.',
|
||||
withName: ' Serien {seriesId} är en {seriesType} som representerar {seriesName}.',
|
||||
withoutName: ' Serien {seriesId} är en {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: '',
|
||||
},
|
||||
},
|
||||
},
|
||||
data: {
|
||||
allData: 'Data är som följer: ',
|
||||
partialData: 'De första {displayCnt} objekten är: ',
|
||||
withName: 'datavärdet för {name} är {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. ',
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,170 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Swedish.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'januari', 'februari', 'mars', 'april', 'maj', 'juni',
|
||||
'juli', 'augusti', 'september', 'oktober', 'november', 'december',
|
||||
],
|
||||
monthAbbr: [
|
||||
'jan', 'feb', 'mar', 'apr', 'maj', 'jun',
|
||||
'jul', 'aug', 'sep', 'okt', 'nov', 'dec',
|
||||
],
|
||||
dayOfWeek: [
|
||||
'söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag',
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'sön', 'mån', 'tis', 'ons', 'tor', 'fre', 'lör',
|
||||
],
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Alla',
|
||||
inverse: 'Omvänd',
|
||||
},
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Rektangelurval',
|
||||
polygon: 'Lassomarkering',
|
||||
lineX: 'Vågrätt urval',
|
||||
lineY: 'Lodrätt urval',
|
||||
keep: 'Behåll urval',
|
||||
clear: 'Rensa urval',
|
||||
},
|
||||
},
|
||||
dataView: {
|
||||
title: 'Datavy',
|
||||
lang: ['Datavy', 'Stäng', 'Uppdatera'],
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Zooma',
|
||||
back: 'Återställ zoom',
|
||||
},
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Byt till linjediagram',
|
||||
bar: 'Byt till stapeldiagram',
|
||||
stack: 'Stapla',
|
||||
tiled: 'Sida vid sida',
|
||||
},
|
||||
},
|
||||
restore: {
|
||||
title: 'Återställ',
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Spara som bild',
|
||||
lang: ['Högerklicka för att spara bild'],
|
||||
},
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Cirkeldiagram',
|
||||
bar: 'Stapeldiagram',
|
||||
line: 'Linjediagram',
|
||||
scatter: 'Punktdiagram',
|
||||
effectScatter: 'Punktdiagram med rippeleffekt',
|
||||
radar: 'Radardiagram',
|
||||
tree: 'Träd',
|
||||
treemap: 'Trädkarta',
|
||||
boxplot: 'Lådagram',
|
||||
candlestick: 'Candlestick',
|
||||
k: 'K-linjediagram',
|
||||
heatmap: 'Värmekarta',
|
||||
map: 'Karta',
|
||||
parallel: 'Parallella koordinater',
|
||||
lines: 'Linjediagram',
|
||||
graph: 'Relationsgraf',
|
||||
sankey: 'Sankeydiagram',
|
||||
funnel: 'Trattdiagram',
|
||||
gauge: 'Mätare',
|
||||
pictorialBar: 'Bildstapel',
|
||||
themeRiver: 'Tematisk flod',
|
||||
sunburst: 'Solburstdiagram',
|
||||
custom: 'Anpassat',
|
||||
chart: 'Diagram',
|
||||
},
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Detta är ett diagram om "{title}"',
|
||||
withoutTitle: 'Detta är ett diagram',
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' med typnamn {name}.',
|
||||
withoutName: ' med typ {seriesType}.',
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Det består av {seriesCount} serier.',
|
||||
withName: ' Serien {seriesId} är en {seriesType} som representerar {seriesName}.',
|
||||
withoutName: ' Serien {seriesId} är en {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: '',
|
||||
},
|
||||
},
|
||||
},
|
||||
data: {
|
||||
allData: 'Data är som följer: ',
|
||||
partialData: 'De första {displayCnt} objekten är: ',
|
||||
withName: 'datavärdet för {name} är {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. ',
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
echarts.registerLocale('SV', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,171 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน',
|
||||
'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม'
|
||||
],
|
||||
monthAbbr: [
|
||||
'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.',
|
||||
'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'วันอาทิตย์', 'วันจันทร์', 'วันอังคาร', 'วันพุธ', 'วันพฤหัสบดี', 'วันศุกร์', 'วันเสาร์'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'ทั้งหมด',
|
||||
inverse: 'ผกผัน'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'ตัวเลือกแบบกล่อง',
|
||||
polygon: 'ตัวเลือกแบบบ่วงบาศ',
|
||||
lineX: 'ตัวเลือกแบบแนวนอน',
|
||||
lineY: 'ตัวเลือกแบบแนวตั้ง',
|
||||
keep: 'บันทึกตัวเลือก',
|
||||
clear: 'ล้างตัวเลือก'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'มุมมองข้อมูล',
|
||||
lang: ['มุมมองข้อมูล', 'ปิด', 'รีเฟรช']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'ซูม',
|
||||
back: 'ตั้งซูมใหม่'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'สวิตซ์แบบแผนภาพเส้น',
|
||||
bar: 'สวิตซ์แบบแผนภาพแท่ง',
|
||||
stack: 'กองไว้',
|
||||
tiled: 'แยกไว้'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'ตั้งค่าใหม่'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'บันทึกไปยังรูปภาพ',
|
||||
lang: ['คลิกขวาเพื่อบันทึกรูปภาพ']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'แผนภูมิวงกลม',
|
||||
bar: 'แผนภูมิแท่ง',
|
||||
line: 'แผนภูมิเส้น',
|
||||
scatter: 'แผนภูมิกระจาย',
|
||||
effectScatter: 'แผนภูมิกระจายคลื่น',
|
||||
radar: 'แผนภูมิเรดาร์',
|
||||
tree: 'ต้นไม้',
|
||||
treemap: 'แผนที่ต้นไม้',
|
||||
boxplot: 'แผนภูมิกล่อง',
|
||||
candlestick: 'แผนภูมิเทียน',
|
||||
k: 'แผนภูมิเส้น K',
|
||||
heatmap: 'แผนที่ความร้อน',
|
||||
map: 'แผนที่',
|
||||
parallel: 'แผนที่พิกัดขนาน',
|
||||
lines: 'กราฟเส้น',
|
||||
graph: 'กราฟความสัมพันธ์',
|
||||
sankey: 'แผนภูมิซันกีย์',
|
||||
funnel: 'แผนภูมิกรวย',
|
||||
gauge: 'เกจ',
|
||||
pictorialBar: 'แผนภูมิแท่งภาพ',
|
||||
themeRiver: 'แผนที่แม่น้ำธีม',
|
||||
sunburst: 'Sunburst',
|
||||
custom: 'แผนภูมิที่กำหนดเอง',
|
||||
chart: 'แผนภูมิ'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'นี่คือแผนภูมิเกี่ยวกับ “{title}”',
|
||||
withoutTitle: 'นี่คือแผนภูมิ'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' ด้วยประเภท {seriesType} ชื่อ {seriesName} ',
|
||||
withoutName: ' ด้วยประเภท {seriesType} '
|
||||
},
|
||||
multiple: {
|
||||
prefix: ' มีทั้งหมด {seriesCount} ชุดข้อมูล ',
|
||||
withName: ' ชุดข้อมูลที่ {seriesId} เป็นประเภท {seriesType} แทน {seriesName} ',
|
||||
withoutName: ' ชุดข้อมูลที่ {seriesId} เป็นประเภท {seriesType} ',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'ข้อมูลดังต่อไปนี้: ',
|
||||
partialData: 'ข้อมูล {displayCnt} รายการแรกคือ: ',
|
||||
withName: 'ข้อมูลสำหรับ {name} คือ {value} ',
|
||||
withoutName: '{value} ',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,167 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน',
|
||||
'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม'
|
||||
],
|
||||
monthAbbr: [
|
||||
'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.',
|
||||
'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'วันอาทิตย์', 'วันจันทร์', 'วันอังคาร', 'วันพุธ', 'วันพฤหัสบดี', 'วันศุกร์', 'วันเสาร์'
|
||||
],
|
||||
dayOfWeekAbbr: [
|
||||
'อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'
|
||||
]
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'ทั้งหมด',
|
||||
inverse: 'ผกผัน'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'ตัวเลือกแบบกล่อง',
|
||||
polygon: 'ตัวเลือกแบบบ่วงบาศ',
|
||||
lineX: 'ตัวเลือกแบบแนวนอน',
|
||||
lineY: 'ตัวเลือกแบบแนวตั้ง',
|
||||
keep: 'บันทึกตัวเลือก',
|
||||
clear: 'ล้างตัวเลือก'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'มุมมองข้อมูล',
|
||||
lang: ['มุมมองข้อมูล', 'ปิด', 'รีเฟรช']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'ซูม',
|
||||
back: 'ตั้งซูมใหม่'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'สวิตซ์แบบแผนภาพเส้น',
|
||||
bar: 'สวิตซ์แบบแผนภาพแท่ง',
|
||||
stack: 'กองไว้',
|
||||
tiled: 'แยกไว้'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'ตั้งค่าใหม่'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'บันทึกไปยังรูปภาพ',
|
||||
lang: ['คลิกขวาเพื่อบันทึกรูปภาพ']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'แผนภูมิวงกลม',
|
||||
bar: 'แผนภูมิแท่ง',
|
||||
line: 'แผนภูมิเส้น',
|
||||
scatter: 'แผนภูมิกระจาย',
|
||||
effectScatter: 'แผนภูมิกระจายคลื่น',
|
||||
radar: 'แผนภูมิเรดาร์',
|
||||
tree: 'ต้นไม้',
|
||||
treemap: 'แผนที่ต้นไม้',
|
||||
boxplot: 'แผนภูมิกล่อง',
|
||||
candlestick: 'แผนภูมิเทียน',
|
||||
k: 'แผนภูมิเส้น K',
|
||||
heatmap: 'แผนที่ความร้อน',
|
||||
map: 'แผนที่',
|
||||
parallel: 'แผนที่พิกัดขนาน',
|
||||
lines: 'กราฟเส้น',
|
||||
graph: 'กราฟความสัมพันธ์',
|
||||
sankey: 'แผนภูมิซันกีย์',
|
||||
funnel: 'แผนภูมิกรวย',
|
||||
gauge: 'เกจ',
|
||||
pictorialBar: 'แผนภูมิแท่งภาพ',
|
||||
themeRiver: 'แผนที่แม่น้ำธีม',
|
||||
sunburst: 'Sunburst',
|
||||
custom: 'แผนภูมิที่กำหนดเอง',
|
||||
chart: 'แผนภูมิ'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'นี่คือแผนภูมิเกี่ยวกับ “{title}”',
|
||||
withoutTitle: 'นี่คือแผนภูมิ'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' ด้วยประเภท {seriesType} ชื่อ {seriesName} ',
|
||||
withoutName: ' ด้วยประเภท {seriesType} '
|
||||
},
|
||||
multiple: {
|
||||
prefix: ' มีทั้งหมด {seriesCount} ชุดข้อมูล ',
|
||||
withName: ' ชุดข้อมูลที่ {seriesId} เป็นประเภท {seriesType} แทน {seriesName} ',
|
||||
withoutName: ' ชุดข้อมูลที่ {seriesId} เป็นประเภท {seriesType} ',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'ข้อมูลดังต่อไปนี้: ',
|
||||
partialData: 'ข้อมูล {displayCnt} รายการแรกคือ: ',
|
||||
withName: 'ข้อมูลสำหรับ {name} คือ {value} ',
|
||||
withoutName: '{value} ',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('TH', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,200 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports);
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({});
|
||||
}
|
||||
})(this, function(exports) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Vietnamese.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Tháng 1',
|
||||
'Tháng 2',
|
||||
'Tháng 3',
|
||||
'Tháng 4',
|
||||
'Tháng 5',
|
||||
'Tháng 6',
|
||||
'Tháng 7',
|
||||
'Tháng 8',
|
||||
'Tháng 9',
|
||||
'Tháng 10',
|
||||
'Tháng 11',
|
||||
'Tháng 12'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Th01',
|
||||
'Th02',
|
||||
'Th03',
|
||||
'Th04',
|
||||
'Th05',
|
||||
'Th06',
|
||||
'Th07',
|
||||
'Th08',
|
||||
'Th09',
|
||||
'Th10',
|
||||
'Th11',
|
||||
'Th12'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Chủ nhật',
|
||||
'Thứ hai',
|
||||
'Thứ ba',
|
||||
'Thứ tư',
|
||||
'Thứ năm',
|
||||
'Thứ sáu',
|
||||
'Thứ bảy'
|
||||
],
|
||||
dayOfWeekAbbr: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7']
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Tất cả',
|
||||
inverse: 'Ngược lại'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Chọn theo ô',
|
||||
polygon: 'Chọn theo đường bất kỳ',
|
||||
lineX: 'Chọn theo chiều ngang',
|
||||
lineY: 'Chọn theo chiều dọc',
|
||||
keep: 'Giữ đã chọn',
|
||||
clear: 'Bỏ đã chọn'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Xem dữ liệu',
|
||||
lang: ['Xem dữ liệu', 'Đóng', 'Làm mới']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Phóng to',
|
||||
back: 'Bỏ phóng to'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Chuyển sang biểu đồ đường',
|
||||
bar: 'Chuyển sang biểu đồ cột',
|
||||
stack: 'Xếp chồng',
|
||||
tiled: 'Lát'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Khôi phục'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Lưu thành ảnh',
|
||||
lang: ['Bấm phải chuột để lưu ảnh']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Biều đồ tròn',
|
||||
bar: 'Biểu đồ cột',
|
||||
line: 'Biểu đồ đường',
|
||||
scatter: 'Biểu đồ phân tán',
|
||||
effectScatter: 'Biểu đồ gợn sóng',
|
||||
radar: 'Biểu đồ Radar',
|
||||
tree: 'Biểu đồ cây',
|
||||
treemap: 'Sơ đồ cây',
|
||||
boxplot: 'Biểu đồ hộp',
|
||||
candlestick: 'Biều đồ nến',
|
||||
k: 'Biểu đồ đường K',
|
||||
heatmap: 'Bản đồ nhiệt',
|
||||
map: 'Bản đồ',
|
||||
parallel: 'Bản đồ tọa độ song song',
|
||||
lines: 'Biểu đồ đường',
|
||||
graph: 'Đồ thị quan hệ',
|
||||
sankey: 'Sơ đồ dòng',
|
||||
funnel: 'Biểu đồ hình phễu',
|
||||
gauge: 'Biểu đồ cung tròn',
|
||||
pictorialBar: 'Biểu diễn hình ảnh',
|
||||
themeRiver: 'Bản đồ sông',
|
||||
sunburst: 'Biểu đồ bậc',
|
||||
custom: 'Biểu đồ tùy chỉnh',
|
||||
chart: 'Đồ thị'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Đây là biểu đồ "{title}"',
|
||||
withoutTitle: 'Đây là biểu đồ'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' với kiểu {seriesType} tên là {seriesName}.',
|
||||
withoutName: ' với kiểu {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Nó bao gồm {seriesCount} chuỗi.',
|
||||
withName:
|
||||
' Chuỗi {seriesId} có kiểu {seriesType} đại diện cho {seriesName}.',
|
||||
withoutName: ' Chuỗi {seriesId} có kiểu {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Dữ liệu như sau: ',
|
||||
partialData: 'Các mục {displayCnt} đầu tiên là: ',
|
||||
withName: 'dữ liệu cho {name} là {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
for (var key in localeObj) {
|
||||
if (localeObj.hasOwnProperty(key)) {
|
||||
exports[key] = localeObj[key];
|
||||
}
|
||||
}
|
||||
|
||||
});
|
@ -0,0 +1,196 @@
|
||||
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
(function(root, factory) {
|
||||
if (typeof define === 'function' && define.amd) {
|
||||
// AMD. Register as an anonymous module.
|
||||
define(['exports', 'echarts'], factory);
|
||||
} else if (
|
||||
typeof exports === 'object' &&
|
||||
typeof exports.nodeName !== 'string'
|
||||
) {
|
||||
// CommonJS
|
||||
factory(exports, require('echarts/lib/echarts'));
|
||||
} else {
|
||||
// Browser globals
|
||||
factory({}, root.echarts);
|
||||
}
|
||||
})(this, function(exports, echarts) {
|
||||
|
||||
|
||||
/**
|
||||
* Language: Vietnamese.
|
||||
*/
|
||||
|
||||
var localeObj = {
|
||||
time: {
|
||||
month: [
|
||||
'Tháng 1',
|
||||
'Tháng 2',
|
||||
'Tháng 3',
|
||||
'Tháng 4',
|
||||
'Tháng 5',
|
||||
'Tháng 6',
|
||||
'Tháng 7',
|
||||
'Tháng 8',
|
||||
'Tháng 9',
|
||||
'Tháng 10',
|
||||
'Tháng 11',
|
||||
'Tháng 12'
|
||||
],
|
||||
monthAbbr: [
|
||||
'Th01',
|
||||
'Th02',
|
||||
'Th03',
|
||||
'Th04',
|
||||
'Th05',
|
||||
'Th06',
|
||||
'Th07',
|
||||
'Th08',
|
||||
'Th09',
|
||||
'Th10',
|
||||
'Th11',
|
||||
'Th12'
|
||||
],
|
||||
dayOfWeek: [
|
||||
'Chủ nhật',
|
||||
'Thứ hai',
|
||||
'Thứ ba',
|
||||
'Thứ tư',
|
||||
'Thứ năm',
|
||||
'Thứ sáu',
|
||||
'Thứ bảy'
|
||||
],
|
||||
dayOfWeekAbbr: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7']
|
||||
},
|
||||
legend: {
|
||||
selector: {
|
||||
all: 'Tất cả',
|
||||
inverse: 'Ngược lại'
|
||||
}
|
||||
},
|
||||
toolbox: {
|
||||
brush: {
|
||||
title: {
|
||||
rect: 'Chọn theo ô',
|
||||
polygon: 'Chọn theo đường bất kỳ',
|
||||
lineX: 'Chọn theo chiều ngang',
|
||||
lineY: 'Chọn theo chiều dọc',
|
||||
keep: 'Giữ đã chọn',
|
||||
clear: 'Bỏ đã chọn'
|
||||
}
|
||||
},
|
||||
dataView: {
|
||||
title: 'Xem dữ liệu',
|
||||
lang: ['Xem dữ liệu', 'Đóng', 'Làm mới']
|
||||
},
|
||||
dataZoom: {
|
||||
title: {
|
||||
zoom: 'Phóng to',
|
||||
back: 'Bỏ phóng to'
|
||||
}
|
||||
},
|
||||
magicType: {
|
||||
title: {
|
||||
line: 'Chuyển sang biểu đồ đường',
|
||||
bar: 'Chuyển sang biểu đồ cột',
|
||||
stack: 'Xếp chồng',
|
||||
tiled: 'Lát'
|
||||
}
|
||||
},
|
||||
restore: {
|
||||
title: 'Khôi phục'
|
||||
},
|
||||
saveAsImage: {
|
||||
title: 'Lưu thành ảnh',
|
||||
lang: ['Bấm phải chuột để lưu ảnh']
|
||||
}
|
||||
},
|
||||
series: {
|
||||
typeNames: {
|
||||
pie: 'Biều đồ tròn',
|
||||
bar: 'Biểu đồ cột',
|
||||
line: 'Biểu đồ đường',
|
||||
scatter: 'Biểu đồ phân tán',
|
||||
effectScatter: 'Biểu đồ gợn sóng',
|
||||
radar: 'Biểu đồ Radar',
|
||||
tree: 'Biểu đồ cây',
|
||||
treemap: 'Sơ đồ cây',
|
||||
boxplot: 'Biểu đồ hộp',
|
||||
candlestick: 'Biều đồ nến',
|
||||
k: 'Biểu đồ đường K',
|
||||
heatmap: 'Bản đồ nhiệt',
|
||||
map: 'Bản đồ',
|
||||
parallel: 'Bản đồ tọa độ song song',
|
||||
lines: 'Biểu đồ đường',
|
||||
graph: 'Đồ thị quan hệ',
|
||||
sankey: 'Sơ đồ dòng',
|
||||
funnel: 'Biểu đồ hình phễu',
|
||||
gauge: 'Biểu đồ cung tròn',
|
||||
pictorialBar: 'Biểu diễn hình ảnh',
|
||||
themeRiver: 'Bản đồ sông',
|
||||
sunburst: 'Biểu đồ bậc',
|
||||
custom: 'Biểu đồ tùy chỉnh',
|
||||
chart: 'Đồ thị'
|
||||
}
|
||||
},
|
||||
aria: {
|
||||
general: {
|
||||
withTitle: 'Đây là biểu đồ "{title}"',
|
||||
withoutTitle: 'Đây là biểu đồ'
|
||||
},
|
||||
series: {
|
||||
single: {
|
||||
prefix: '',
|
||||
withName: ' với kiểu {seriesType} tên là {seriesName}.',
|
||||
withoutName: ' với kiểu {seriesType}.'
|
||||
},
|
||||
multiple: {
|
||||
prefix: '. Nó bao gồm {seriesCount} chuỗi.',
|
||||
withName:
|
||||
' Chuỗi {seriesId} có kiểu {seriesType} đại diện cho {seriesName}.',
|
||||
withoutName: ' Chuỗi {seriesId} có kiểu {seriesType}.',
|
||||
separator: {
|
||||
middle: '',
|
||||
end: ''
|
||||
}
|
||||
}
|
||||
},
|
||||
data: {
|
||||
allData: 'Dữ liệu như sau: ',
|
||||
partialData: 'Các mục {displayCnt} đầu tiên là: ',
|
||||
withName: 'dữ liệu cho {name} là {value}',
|
||||
withoutName: '{value}',
|
||||
separator: {
|
||||
middle: ', ',
|
||||
end: '. '
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
echarts.registerLocale('VI', localeObj);
|
||||
|
||||
});
|
@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": "commonjs"
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
export * from './lib/echarts.js';
|
@ -0,0 +1,68 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
import { use } from './lib/extension.js';
|
||||
export * from './lib/export/core.js';
|
||||
import { install as SVGRenderer } from './lib/renderer/installSVGRenderer.js';
|
||||
import { install as CanvasRenderer } from './lib/renderer/installCanvasRenderer.js';
|
||||
import { install as LineChart } from './lib/chart/line/install.js';
|
||||
import { install as BarChart } from './lib/chart/bar/install.js';
|
||||
import { install as PieChart } from './lib/chart/pie/install.js';
|
||||
import { install as ScatterChart } from './lib/chart/scatter/install.js';
|
||||
import { install as GridComponent } from './lib/component/grid/install.js';
|
||||
import { install as GraphicComponent } from './lib/component/graphic/install.js';
|
||||
import { install as ToolboxComponent } from './lib/component/toolbox/install.js';
|
||||
import { install as TooltipComponent } from './lib/component/tooltip/install.js';
|
||||
import { install as AxisPointerComponent } from './lib/component/axisPointer/install.js';
|
||||
import { install as TitleComponent } from './lib/component/title/install.js';
|
||||
import { install as MarkPointComponent } from './lib/component/marker/installMarkPoint.js';
|
||||
import { install as MarkLineComponent } from './lib/component/marker/installMarkLine.js';
|
||||
import { install as MarkAreaComponent } from './lib/component/marker/installMarkArea.js';
|
||||
import { install as LegendComponent } from './lib/component/legend/install.js';
|
||||
import { install as DataZoomComponent } from './lib/component/dataZoom/install.js';
|
||||
import { install as AriaComponent } from './lib/component/aria/install.js';
|
||||
import { install as DatasetComponent } from './lib/component/dataset/install.js';
|
||||
use([CanvasRenderer]);
|
||||
use([SVGRenderer]);
|
||||
use([LineChart, BarChart, PieChart, ScatterChart]);
|
||||
use([GraphicComponent, TooltipComponent, AxisPointerComponent, LegendComponent, GridComponent, TitleComponent, MarkPointComponent, MarkLineComponent, MarkAreaComponent, DataZoomComponent, ToolboxComponent, AriaComponent, DatasetComponent]);
|
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
import * as echarts from './types/dist/echarts';
|
||||
// Export for UMD module.
|
||||
export as namespace echarts;
|
||||
export = echarts;
|
@ -0,0 +1,250 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
import { use } from './lib/extension.js';
|
||||
export * from './lib/export/core.js';
|
||||
// ----------------------------------------------
|
||||
// All of the modules that are allowed to be
|
||||
// imported are listed below.
|
||||
//
|
||||
// Users MUST NOT import other modules that are
|
||||
// not included in this list.
|
||||
// ----------------------------------------------
|
||||
import { SVGRenderer, CanvasRenderer } from './lib/export/renderers.js';
|
||||
import { LineChart, BarChart, PieChart, ScatterChart, RadarChart, MapChart, TreeChart, TreemapChart, GraphChart, GaugeChart, FunnelChart, ParallelChart, SankeyChart, BoxplotChart, CandlestickChart, EffectScatterChart, LinesChart, HeatmapChart, PictorialBarChart, ThemeRiverChart, SunburstChart, CustomChart } from './lib/export/charts.js';
|
||||
import { GridComponent, PolarComponent, GeoComponent, SingleAxisComponent, ParallelComponent, CalendarComponent, GraphicComponent, ToolboxComponent, TooltipComponent, AxisPointerComponent, BrushComponent, TitleComponent, TimelineComponent, MarkPointComponent, MarkLineComponent, MarkAreaComponent, LegendComponent, DataZoomComponent, DataZoomInsideComponent, DataZoomSliderComponent, VisualMapComponent, VisualMapContinuousComponent, VisualMapPiecewiseComponent, AriaComponent, DatasetComponent, TransformComponent } from './lib/export/components.js';
|
||||
import { UniversalTransition, LabelLayout } from './lib/export/features.js';
|
||||
// -----------------
|
||||
// Render engines
|
||||
// -----------------
|
||||
// Render via Canvas.
|
||||
// echarts.init(dom, null, { renderer: 'canvas' })
|
||||
use([CanvasRenderer]);
|
||||
// Render via SVG.
|
||||
// echarts.init(dom, null, { renderer: 'svg' })
|
||||
use([SVGRenderer]);
|
||||
// ----------------
|
||||
// Charts (series)
|
||||
// ----------------
|
||||
// All of the series types, for example:
|
||||
// chart.setOption({
|
||||
// series: [{
|
||||
// type: 'line' // or 'bar', 'pie', ...
|
||||
// }]
|
||||
// });
|
||||
use([LineChart, BarChart, PieChart, ScatterChart, RadarChart, MapChart, TreeChart, TreemapChart, GraphChart, GaugeChart, FunnelChart, ParallelChart, SankeyChart, BoxplotChart, CandlestickChart, EffectScatterChart, LinesChart, HeatmapChart, PictorialBarChart, ThemeRiverChart, SunburstChart, CustomChart]);
|
||||
// -------------------
|
||||
// Coordinate systems
|
||||
// -------------------
|
||||
// All of the axis modules have been included in the
|
||||
// coordinate system module below, do not need to
|
||||
// make extra import.
|
||||
// `cartesian` coordinate system. For some historical
|
||||
// reasons, it is named as grid, for example:
|
||||
// chart.setOption({
|
||||
// grid: {...},
|
||||
// xAxis: {...},
|
||||
// yAxis: {...},
|
||||
// series: [{...}]
|
||||
// });
|
||||
use(GridComponent);
|
||||
// `polar` coordinate system, for example:
|
||||
// chart.setOption({
|
||||
// polar: {...},
|
||||
// radiusAxis: {...},
|
||||
// angleAxis: {...},
|
||||
// series: [{
|
||||
// coordinateSystem: 'polar'
|
||||
// }]
|
||||
// });
|
||||
use(PolarComponent);
|
||||
// `geo` coordinate system, for example:
|
||||
// chart.setOption({
|
||||
// geo: {...},
|
||||
// series: [{
|
||||
// coordinateSystem: 'geo'
|
||||
// }]
|
||||
// });
|
||||
use(GeoComponent);
|
||||
// `singleAxis` coordinate system (notice, it is a coordinate system
|
||||
// with only one axis, work for chart like theme river), for example:
|
||||
// chart.setOption({
|
||||
// singleAxis: {...}
|
||||
// series: [{type: 'themeRiver', ...}]
|
||||
// });
|
||||
use(SingleAxisComponent);
|
||||
// `parallel` coordinate system, only work for parallel series, for example:
|
||||
// chart.setOption({
|
||||
// parallel: {...},
|
||||
// parallelAxis: [{...}, ...],
|
||||
// series: [{
|
||||
// type: 'parallel'
|
||||
// }]
|
||||
// });
|
||||
use(ParallelComponent);
|
||||
// `calendar` coordinate system. for example,
|
||||
// chart.setOption({
|
||||
// calendar: {...},
|
||||
// series: [{
|
||||
// coordinateSystem: 'calendar'
|
||||
// }]
|
||||
// );
|
||||
use(CalendarComponent);
|
||||
// ------------------
|
||||
// Other components
|
||||
// ------------------
|
||||
// `graphic` component, for example:
|
||||
// chart.setOption({
|
||||
// graphic: {...}
|
||||
// });
|
||||
use(GraphicComponent);
|
||||
// `toolbox` component, for example:
|
||||
// chart.setOption({
|
||||
// toolbox: {...}
|
||||
// });
|
||||
use(ToolboxComponent);
|
||||
// `tooltip` component, for example:
|
||||
// chart.setOption({
|
||||
// tooltip: {...}
|
||||
// });
|
||||
use(TooltipComponent);
|
||||
// `axisPointer` component, for example:
|
||||
// chart.setOption({
|
||||
// tooltip: {axisPointer: {...}, ...}
|
||||
// });
|
||||
// Or
|
||||
// chart.setOption({
|
||||
// axisPointer: {...}
|
||||
// });
|
||||
use(AxisPointerComponent);
|
||||
// `brush` component, for example:
|
||||
// chart.setOption({
|
||||
// brush: {...}
|
||||
// });
|
||||
// Or
|
||||
// chart.setOption({
|
||||
// tooltip: {feature: {brush: {...}}
|
||||
// })
|
||||
use(BrushComponent);
|
||||
// `title` component, for example:
|
||||
// chart.setOption({
|
||||
// title: {...}
|
||||
// });
|
||||
use(TitleComponent);
|
||||
// `timeline` component, for example:
|
||||
// chart.setOption({
|
||||
// timeline: {...}
|
||||
// });
|
||||
use(TimelineComponent);
|
||||
// `markPoint` component, for example:
|
||||
// chart.setOption({
|
||||
// series: [{markPoint: {...}}]
|
||||
// });
|
||||
use(MarkPointComponent);
|
||||
// `markLine` component, for example:
|
||||
// chart.setOption({
|
||||
// series: [{markLine: {...}}]
|
||||
// });
|
||||
use(MarkLineComponent);
|
||||
// `markArea` component, for example:
|
||||
// chart.setOption({
|
||||
// series: [{markArea: {...}}]
|
||||
// });
|
||||
use(MarkAreaComponent);
|
||||
// `legend` component not scrollable. for example:
|
||||
// chart.setOption({
|
||||
// legend: {...}
|
||||
// });
|
||||
use(LegendComponent);
|
||||
// `dataZoom` component including both `dataZoomInside` and `dataZoomSlider`.
|
||||
use(DataZoomComponent);
|
||||
// `dataZoom` component providing drag, pinch, wheel behaviors
|
||||
// inside coordinate system, for example:
|
||||
// chart.setOption({
|
||||
// dataZoom: {type: 'inside'}
|
||||
// });
|
||||
use(DataZoomInsideComponent);
|
||||
// `dataZoom` component providing a slider bar, for example:
|
||||
// chart.setOption({
|
||||
// dataZoom: {type: 'slider'}
|
||||
// });
|
||||
use(DataZoomSliderComponent);
|
||||
// `visualMap` component including both `visualMapContinuous` and `visualMapPiecewise`.
|
||||
use(VisualMapComponent);
|
||||
// `visualMap` component providing continuous bar, for example:
|
||||
// chart.setOption({
|
||||
// visualMap: {type: 'continuous'}
|
||||
// });
|
||||
use(VisualMapContinuousComponent);
|
||||
// `visualMap` component providing pieces bar, for example:
|
||||
// chart.setOption({
|
||||
// visualMap: {type: 'piecewise'}
|
||||
// });
|
||||
use(VisualMapPiecewiseComponent);
|
||||
// `aria` component providing aria, for example:
|
||||
// chart.setOption({
|
||||
// aria: {...}
|
||||
// });
|
||||
use(AriaComponent);
|
||||
// dataset transform
|
||||
// chart.setOption({
|
||||
// dataset: {
|
||||
// transform: []
|
||||
// }
|
||||
// });
|
||||
use(TransformComponent);
|
||||
use(DatasetComponent);
|
||||
// universal transition
|
||||
// chart.setOption({
|
||||
// series: {
|
||||
// universalTransition: { enabled: true }
|
||||
// }
|
||||
// })
|
||||
use(UniversalTransition);
|
||||
// label layout
|
||||
// chart.setOption({
|
||||
// series: {
|
||||
// labelLayout: { hideOverlap: true }
|
||||
// }
|
||||
// })
|
||||
use(LabelLayout);
|
@ -0,0 +1,55 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
import { use } from './lib/extension.js';
|
||||
export * from './lib/export/core.js';
|
||||
import { install as CanvasRenderer } from './lib/renderer/installCanvasRenderer.js';
|
||||
import { install as LineChart } from './lib/chart/line/install.js';
|
||||
import { install as BarChart } from './lib/chart/bar/install.js';
|
||||
import { install as PieChart } from './lib/chart/pie/install.js';
|
||||
import { install as GridSimpleComponent } from './lib/component/grid/installSimple.js';
|
||||
import { install as AriaComponent } from './lib/component/aria/install.js';
|
||||
import { install as DatasetComponent } from './lib/component/dataset/install.js';
|
||||
use([CanvasRenderer]);
|
||||
use([LineChart, BarChart, PieChart]);
|
||||
use([GridSimpleComponent, AriaComponent, DatasetComponent]);
|
@ -0,0 +1,80 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
function getCenterCoord(view, point) {
|
||||
// Use projected coord as center because it's linear.
|
||||
return view.pointToProjected ? view.pointToProjected(point) : view.pointToData(point);
|
||||
}
|
||||
export function updateCenterAndZoom(view, payload, zoomLimit, api) {
|
||||
var previousZoom = view.getZoom();
|
||||
var center = view.getCenter();
|
||||
var zoom = payload.zoom;
|
||||
var point = view.projectedToPoint ? view.projectedToPoint(center) : view.dataToPoint(center);
|
||||
if (payload.dx != null && payload.dy != null) {
|
||||
point[0] -= payload.dx;
|
||||
point[1] -= payload.dy;
|
||||
view.setCenter(getCenterCoord(view, point), api);
|
||||
}
|
||||
if (zoom != null) {
|
||||
if (zoomLimit) {
|
||||
var zoomMin = zoomLimit.min || 0;
|
||||
var zoomMax = zoomLimit.max || Infinity;
|
||||
zoom = Math.max(Math.min(previousZoom * zoom, zoomMax), zoomMin) / previousZoom;
|
||||
}
|
||||
// Zoom on given point(originX, originY)
|
||||
view.scaleX *= zoom;
|
||||
view.scaleY *= zoom;
|
||||
var fixX = (payload.originX - view.x) * (zoom - 1);
|
||||
var fixY = (payload.originY - view.y) * (zoom - 1);
|
||||
view.x -= fixX;
|
||||
view.y -= fixY;
|
||||
view.updateTransform();
|
||||
// Get the new center
|
||||
view.setCenter(getCenterCoord(view, point), api);
|
||||
view.setZoom(zoom * previousZoom);
|
||||
}
|
||||
return {
|
||||
center: view.getCenter(),
|
||||
zoom: view.getZoom()
|
||||
};
|
||||
}
|
@ -0,0 +1,243 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
import { isFunction, isObject, retrieve2 } from 'zrender/lib/core/util.js';
|
||||
import { makeInner } from '../util/model.js';
|
||||
// Stored properties for further transition.
|
||||
export var transitionStore = makeInner();
|
||||
/**
|
||||
* Return null if animation is disabled.
|
||||
*/
|
||||
export function getAnimationConfig(animationType, animatableModel, dataIndex,
|
||||
// Extra opts can override the option in animatable model.
|
||||
extraOpts,
|
||||
// TODO It's only for pictorial bar now.
|
||||
extraDelayParams) {
|
||||
var animationPayload;
|
||||
// Check if there is global animation configuration from dataZoom/resize can override the config in option.
|
||||
// If animation is enabled. Will use this animation config in payload.
|
||||
// If animation is disabled. Just ignore it.
|
||||
if (animatableModel && animatableModel.ecModel) {
|
||||
var updatePayload = animatableModel.ecModel.getUpdatePayload();
|
||||
animationPayload = updatePayload && updatePayload.animation;
|
||||
}
|
||||
var animationEnabled = animatableModel && animatableModel.isAnimationEnabled();
|
||||
var isUpdate = animationType === 'update';
|
||||
if (animationEnabled) {
|
||||
var duration = void 0;
|
||||
var easing = void 0;
|
||||
var delay = void 0;
|
||||
if (extraOpts) {
|
||||
duration = retrieve2(extraOpts.duration, 200);
|
||||
easing = retrieve2(extraOpts.easing, 'cubicOut');
|
||||
delay = 0;
|
||||
} else {
|
||||
duration = animatableModel.getShallow(isUpdate ? 'animationDurationUpdate' : 'animationDuration');
|
||||
easing = animatableModel.getShallow(isUpdate ? 'animationEasingUpdate' : 'animationEasing');
|
||||
delay = animatableModel.getShallow(isUpdate ? 'animationDelayUpdate' : 'animationDelay');
|
||||
}
|
||||
// animation from payload has highest priority.
|
||||
if (animationPayload) {
|
||||
animationPayload.duration != null && (duration = animationPayload.duration);
|
||||
animationPayload.easing != null && (easing = animationPayload.easing);
|
||||
animationPayload.delay != null && (delay = animationPayload.delay);
|
||||
}
|
||||
if (isFunction(delay)) {
|
||||
delay = delay(dataIndex, extraDelayParams);
|
||||
}
|
||||
if (isFunction(duration)) {
|
||||
duration = duration(dataIndex);
|
||||
}
|
||||
var config = {
|
||||
duration: duration || 0,
|
||||
delay: delay,
|
||||
easing: easing
|
||||
};
|
||||
return config;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
function animateOrSetProps(animationType, el, props, animatableModel, dataIndex, cb, during) {
|
||||
var isFrom = false;
|
||||
var removeOpt;
|
||||
if (isFunction(dataIndex)) {
|
||||
during = cb;
|
||||
cb = dataIndex;
|
||||
dataIndex = null;
|
||||
} else if (isObject(dataIndex)) {
|
||||
cb = dataIndex.cb;
|
||||
during = dataIndex.during;
|
||||
isFrom = dataIndex.isFrom;
|
||||
removeOpt = dataIndex.removeOpt;
|
||||
dataIndex = dataIndex.dataIndex;
|
||||
}
|
||||
var isRemove = animationType === 'leave';
|
||||
if (!isRemove) {
|
||||
// Must stop the remove animation.
|
||||
el.stopAnimation('leave');
|
||||
}
|
||||
var animationConfig = getAnimationConfig(animationType, animatableModel, dataIndex, isRemove ? removeOpt || {} : null, animatableModel && animatableModel.getAnimationDelayParams ? animatableModel.getAnimationDelayParams(el, dataIndex) : null);
|
||||
if (animationConfig && animationConfig.duration > 0) {
|
||||
var duration = animationConfig.duration;
|
||||
var animationDelay = animationConfig.delay;
|
||||
var animationEasing = animationConfig.easing;
|
||||
var animateConfig = {
|
||||
duration: duration,
|
||||
delay: animationDelay || 0,
|
||||
easing: animationEasing,
|
||||
done: cb,
|
||||
force: !!cb || !!during,
|
||||
// Set to final state in update/init animation.
|
||||
// So the post processing based on the path shape can be done correctly.
|
||||
setToFinal: !isRemove,
|
||||
scope: animationType,
|
||||
during: during
|
||||
};
|
||||
isFrom ? el.animateFrom(props, animateConfig) : el.animateTo(props, animateConfig);
|
||||
} else {
|
||||
el.stopAnimation();
|
||||
// If `isFrom`, the props is the "from" props.
|
||||
!isFrom && el.attr(props);
|
||||
// Call during at least once.
|
||||
during && during(1);
|
||||
cb && cb();
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Update graphic element properties with or without animation according to the
|
||||
* configuration in series.
|
||||
*
|
||||
* Caution: this method will stop previous animation.
|
||||
* So do not use this method to one element twice before
|
||||
* animation starts, unless you know what you are doing.
|
||||
* @example
|
||||
* graphic.updateProps(el, {
|
||||
* position: [100, 100]
|
||||
* }, seriesModel, dataIndex, function () { console.log('Animation done!'); });
|
||||
* // Or
|
||||
* graphic.updateProps(el, {
|
||||
* position: [100, 100]
|
||||
* }, seriesModel, function () { console.log('Animation done!'); });
|
||||
*/
|
||||
function updateProps(el, props,
|
||||
// TODO: TYPE AnimatableModel
|
||||
animatableModel, dataIndex, cb, during) {
|
||||
animateOrSetProps('update', el, props, animatableModel, dataIndex, cb, during);
|
||||
}
|
||||
export { updateProps };
|
||||
/**
|
||||
* Init graphic element properties with or without animation according to the
|
||||
* configuration in series.
|
||||
*
|
||||
* Caution: this method will stop previous animation.
|
||||
* So do not use this method to one element twice before
|
||||
* animation starts, unless you know what you are doing.
|
||||
*/
|
||||
export function initProps(el, props, animatableModel, dataIndex, cb, during) {
|
||||
animateOrSetProps('enter', el, props, animatableModel, dataIndex, cb, during);
|
||||
}
|
||||
/**
|
||||
* If element is removed.
|
||||
* It can determine if element is having remove animation.
|
||||
*/
|
||||
export function isElementRemoved(el) {
|
||||
if (!el.__zr) {
|
||||
return true;
|
||||
}
|
||||
for (var i = 0; i < el.animators.length; i++) {
|
||||
var animator = el.animators[i];
|
||||
if (animator.scope === 'leave') {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/**
|
||||
* Remove graphic element
|
||||
*/
|
||||
export function removeElement(el, props, animatableModel, dataIndex, cb, during) {
|
||||
// Don't do remove animation twice.
|
||||
if (isElementRemoved(el)) {
|
||||
return;
|
||||
}
|
||||
animateOrSetProps('leave', el, props, animatableModel, dataIndex, cb, during);
|
||||
}
|
||||
function fadeOutDisplayable(el, animatableModel, dataIndex, done) {
|
||||
el.removeTextContent();
|
||||
el.removeTextGuideLine();
|
||||
removeElement(el, {
|
||||
style: {
|
||||
opacity: 0
|
||||
}
|
||||
}, animatableModel, dataIndex, done);
|
||||
}
|
||||
export function removeElementWithFadeOut(el, animatableModel, dataIndex) {
|
||||
function doRemove() {
|
||||
el.parent && el.parent.remove(el);
|
||||
}
|
||||
// Hide label and labelLine first
|
||||
// TODO Also use fade out animation?
|
||||
if (!el.isGroup) {
|
||||
fadeOutDisplayable(el, animatableModel, dataIndex, doRemove);
|
||||
} else {
|
||||
el.traverse(function (disp) {
|
||||
if (!disp.isGroup) {
|
||||
// Can invoke doRemove multiple times.
|
||||
fadeOutDisplayable(disp, animatableModel, dataIndex, doRemove);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Save old style for style transition in universalTransition module.
|
||||
* It's used when element will be reused in each render.
|
||||
* For chart like map, heatmap, which will always create new element.
|
||||
* We don't need to save this because universalTransition can get old style from the old element
|
||||
*/
|
||||
export function saveOldStyle(el) {
|
||||
transitionStore(el).oldStyle = el.style;
|
||||
}
|
||||
export function getOldStyle(el) {
|
||||
return transitionStore(el).oldStyle;
|
||||
}
|
@ -0,0 +1,143 @@
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* AUTO-GENERATED FILE. DO NOT MODIFY.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one
|
||||
* or more contributor license agreements. See the NOTICE file
|
||||
* distributed with this work for additional information
|
||||
* regarding copyright ownership. The ASF licenses this file
|
||||
* to you 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.
|
||||
*/
|
||||
import { keys, filter, each, isArray, indexOf } from 'zrender/lib/core/util.js';
|
||||
import { ELEMENT_ANIMATABLE_PROPS } from './customGraphicTransition.js';
|
||||
import { getAnimationConfig } from './basicTransition.js';
|
||||
import { warn } from '../util/log.js';
|
||||
import { makeInner } from '../util/model.js';
|
||||
var getStateToRestore = makeInner();
|
||||
var KEYFRAME_EXCLUDE_KEYS = ['percent', 'easing', 'shape', 'style', 'extra'];
|
||||
/**
|
||||
* Stop previous keyframe animation and restore the attributes.
|
||||
* Avoid new keyframe animation starts with wrong internal state when the percent: 0 is not set.
|
||||
*/
|
||||
export function stopPreviousKeyframeAnimationAndRestore(el) {
|
||||
// Stop previous keyframe animation.
|
||||
el.stopAnimation('keyframe');
|
||||
// Restore
|
||||
el.attr(getStateToRestore(el));
|
||||
}
|
||||
export function applyKeyframeAnimation(el, animationOpts, animatableModel) {
|
||||
if (!animatableModel.isAnimationEnabled() || !animationOpts) {
|
||||
return;
|
||||
}
|
||||
if (isArray(animationOpts)) {
|
||||
each(animationOpts, function (singleAnimationOpts) {
|
||||
applyKeyframeAnimation(el, singleAnimationOpts, animatableModel);
|
||||
});
|
||||
return;
|
||||
}
|
||||
var keyframes = animationOpts.keyframes;
|
||||
var duration = animationOpts.duration;
|
||||
if (animatableModel && duration == null) {
|
||||
// Default to use duration of config.
|
||||
// NOTE: animation config from payload will be ignored because they are mainly for transitions.
|
||||
var config = getAnimationConfig('enter', animatableModel, 0);
|
||||
duration = config && config.duration;
|
||||
}
|
||||
if (!keyframes || !duration) {
|
||||
return;
|
||||
}
|
||||
var stateToRestore = getStateToRestore(el);
|
||||
each(ELEMENT_ANIMATABLE_PROPS, function (targetPropName) {
|
||||
if (targetPropName && !el[targetPropName]) {
|
||||
return;
|
||||
}
|
||||
var animator;
|
||||
var endFrameIsSet = false;
|
||||
// Sort keyframes by percent.
|
||||
keyframes.sort(function (a, b) {
|
||||
return a.percent - b.percent;
|
||||
});
|
||||
each(keyframes, function (kf) {
|
||||
// Stop current animation.
|
||||
var animators = el.animators;
|
||||
var kfValues = targetPropName ? kf[targetPropName] : kf;
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (kf.percent >= 1) {
|
||||
endFrameIsSet = true;
|
||||
}
|
||||
}
|
||||
if (!kfValues) {
|
||||
return;
|
||||
}
|
||||
var propKeys = keys(kfValues);
|
||||
if (!targetPropName) {
|
||||
// PENDING performance?
|
||||
propKeys = filter(propKeys, function (key) {
|
||||
return indexOf(KEYFRAME_EXCLUDE_KEYS, key) < 0;
|
||||
});
|
||||
}
|
||||
if (!propKeys.length) {
|
||||
return;
|
||||
}
|
||||
if (!animator) {
|
||||
animator = el.animate(targetPropName, animationOpts.loop, true);
|
||||
animator.scope = 'keyframe';
|
||||
}
|
||||
for (var i = 0; i < animators.length; i++) {
|
||||
// Stop all other animation that is not keyframe.
|
||||
if (animators[i] !== animator && animators[i].targetName === animator.targetName) {
|
||||
animators[i].stopTracks(propKeys);
|
||||
}
|
||||
}
|
||||
targetPropName && (stateToRestore[targetPropName] = stateToRestore[targetPropName] || {});
|
||||
var savedTarget = targetPropName ? stateToRestore[targetPropName] : stateToRestore;
|
||||
each(propKeys, function (key) {
|
||||
// Save original value.
|
||||
savedTarget[key] = ((targetPropName ? el[targetPropName] : el) || {})[key];
|
||||
});
|
||||
animator.whenWithKeys(duration * kf.percent, kfValues, propKeys, kf.easing);
|
||||
});
|
||||
if (!animator) {
|
||||
return;
|
||||
}
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (!endFrameIsSet) {
|
||||
warn('End frame with percent: 1 is missing in the keyframeAnimation.', true);
|
||||
}
|
||||
}
|
||||
animator.delay(animationOpts.delay || 0).duration(duration).start(animationOpts.easing);
|
||||
});
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue