Showing preview only (739K chars total). Download the full file or copy to clipboard to get everything.
Repository: railsjazz/rails_charts
Branch: main
Commit: e4ec6a9c5cc4
Files: 216
Total size: 659.0 KB
Directory structure:
gitextract_khypc63o/
├── .github/
│ └── FUNDING.yml
├── .gitignore
├── .rspec
├── CHANGES
├── Gemfile
├── MIT-LICENSE
├── README.md
├── Rakefile
├── app/
│ └── assets/
│ └── javascripts/
│ ├── echarts/
│ │ ├── extension/
│ │ │ ├── bmap.js
│ │ │ └── dataTool.js
│ │ ├── i18n/
│ │ │ ├── langAR-obj.js
│ │ │ ├── langAR.js
│ │ │ ├── langCS-obj.js
│ │ │ ├── langCS.js
│ │ │ ├── langDE-obj.js
│ │ │ ├── langDE.js
│ │ │ ├── langEL-obj.js
│ │ │ ├── langEL.js
│ │ │ ├── langEN-obj.js
│ │ │ ├── langEN.js
│ │ │ ├── langES-obj.js
│ │ │ ├── langES.js
│ │ │ ├── langFA-obj.js
│ │ │ ├── langFA.js
│ │ │ ├── langFI-obj.js
│ │ │ ├── langFI.js
│ │ │ ├── langFR-obj.js
│ │ │ ├── langFR.js
│ │ │ ├── langHU-obj.js
│ │ │ ├── langHU.js
│ │ │ ├── langIT-obj.js
│ │ │ ├── langIT.js
│ │ │ ├── langJA-obj.js
│ │ │ ├── langJA.js
│ │ │ ├── langKO-obj.js
│ │ │ ├── langKO.js
│ │ │ ├── langNL-obj.js
│ │ │ ├── langNL.js
│ │ │ ├── langPL-obj.js
│ │ │ ├── langPL.js
│ │ │ ├── langPT-br-obj.js
│ │ │ ├── langPT-br.js
│ │ │ ├── langRO-obj.js
│ │ │ ├── langRO.js
│ │ │ ├── langRU-obj.js
│ │ │ ├── langRU.js
│ │ │ ├── langSI-obj.js
│ │ │ ├── langSI.js
│ │ │ ├── langSV-obj.js
│ │ │ ├── langSV.js
│ │ │ ├── langTH-obj.js
│ │ │ ├── langTH.js
│ │ │ ├── langTR-obj.js
│ │ │ ├── langTR.js
│ │ │ ├── langUK-obj.js
│ │ │ ├── langUK.js
│ │ │ ├── langVI-obj.js
│ │ │ ├── langVI.js
│ │ │ ├── langZH-obj.js
│ │ │ ├── langZH.js
│ │ │ ├── langnb-NO-obj.js
│ │ │ ├── langnb-NO.js
│ │ │ └── package.json
│ │ └── theme/
│ │ ├── azul.js
│ │ ├── bee-inspired.js
│ │ ├── blue.js
│ │ ├── caravan.js
│ │ ├── carp.js
│ │ ├── cool.js
│ │ ├── dark-blue.js
│ │ ├── dark-bold.js
│ │ ├── dark-digerati.js
│ │ ├── dark-fresh-cut.js
│ │ ├── dark-mushroom.js
│ │ ├── dark.js
│ │ ├── eduardo.js
│ │ ├── forest.js
│ │ ├── fresh-cut.js
│ │ ├── fruit.js
│ │ ├── gray.js
│ │ ├── green.js
│ │ ├── helianthus.js
│ │ ├── infographic.js
│ │ ├── inspired.js
│ │ ├── jazz.js
│ │ ├── london.js
│ │ ├── macarons.js
│ │ ├── macarons2.js
│ │ ├── mint.js
│ │ ├── package.json
│ │ ├── rainbow.js
│ │ ├── red-velvet.js
│ │ ├── red.js
│ │ ├── roma.js
│ │ ├── royal.js
│ │ ├── sakura.js
│ │ ├── shine.js
│ │ ├── tech-blue.js
│ │ ├── tool/
│ │ │ ├── option/
│ │ │ │ ├── area.js
│ │ │ │ ├── bar.js
│ │ │ │ ├── graph.js
│ │ │ │ ├── map.js
│ │ │ │ ├── pie.js
│ │ │ │ └── scatter.js
│ │ │ ├── thumb.html
│ │ │ └── thumb.js
│ │ ├── v5.js
│ │ └── vintage.js
│ └── echarts.themeloader.js
├── bin/
│ └── test
├── lib/
│ ├── install/
│ │ ├── with_importmap.rb
│ │ ├── with_node.rb
│ │ └── with_sprockets.rb
│ ├── rails_charts/
│ │ ├── area_chart.rb
│ │ ├── bar_chart.rb
│ │ ├── base_chart.rb
│ │ ├── calendar_chart.rb
│ │ ├── candlestick_chart.rb
│ │ ├── custom_chart.rb
│ │ ├── donut_chart.rb
│ │ ├── engine.rb
│ │ ├── funnel_chart.rb
│ │ ├── gauge_chart.rb
│ │ ├── helpers.rb
│ │ ├── javascript.rb
│ │ ├── line_chart.rb
│ │ ├── parallel_chart.rb
│ │ ├── pie_chart.rb
│ │ ├── radar_chart.rb
│ │ ├── ruby_ext.rb
│ │ ├── sankey_chart.rb
│ │ ├── scatter_chart.rb
│ │ ├── stacked_bar_chart.rb
│ │ └── version.rb
│ ├── rails_charts.rb
│ └── tasks/
│ └── rails_charts_tasks.rake
├── rails_charts.gemspec
├── spec/
│ ├── charts/
│ │ ├── area_chart_spec.rb
│ │ └── line_chart_spec.rb
│ ├── controllers/
│ │ └── home_controller_spec.rb
│ ├── helpers/
│ │ └── helpers_spec.rb
│ ├── models/
│ │ └── simple_spec.rb
│ ├── rails_helper.rb
│ └── spec_helper.rb
└── test/
├── dummy/
│ ├── Rakefile
│ ├── app/
│ │ ├── assets/
│ │ │ ├── config/
│ │ │ │ └── manifest.js
│ │ │ ├── images/
│ │ │ │ └── .keep
│ │ │ ├── javascripts/
│ │ │ │ └── application.js
│ │ │ └── stylesheets/
│ │ │ └── application.css
│ │ ├── channels/
│ │ │ └── application_cable/
│ │ │ ├── channel.rb
│ │ │ └── connection.rb
│ │ ├── controllers/
│ │ │ ├── application_controller.rb
│ │ │ ├── concerns/
│ │ │ │ └── .keep
│ │ │ └── home_controller.rb
│ │ ├── helpers/
│ │ │ ├── application_helper.rb
│ │ │ └── home_helper.rb
│ │ ├── jobs/
│ │ │ └── application_job.rb
│ │ ├── mailers/
│ │ │ └── application_mailer.rb
│ │ ├── models/
│ │ │ ├── account.rb
│ │ │ ├── application_record.rb
│ │ │ ├── commit.rb
│ │ │ ├── concerns/
│ │ │ │ └── .keep
│ │ │ ├── data.rb
│ │ │ ├── data_point.rb
│ │ │ ├── stat.rb
│ │ │ └── user.rb
│ │ └── views/
│ │ ├── home/
│ │ │ ├── _area_chart.html.erb
│ │ │ ├── _bar_chart.html.erb
│ │ │ ├── _calendar_chart.html.erb
│ │ │ ├── _candlestick_chart.html.erb
│ │ │ ├── _custom_chart.html.erb
│ │ │ ├── _funnel_chart.html.erb
│ │ │ ├── _gauge_chart.html.erb
│ │ │ ├── _line_chart.html.erb
│ │ │ ├── _parallel_chart.html.erb
│ │ │ ├── _pie_donut_chart.html.erb
│ │ │ ├── _radar_chart.html.erb
│ │ │ ├── _sankey_chart.html.erb
│ │ │ ├── _scatter_chart.html.erb
│ │ │ ├── _stacked_bar_chart.html.erb
│ │ │ └── index.html.erb
│ │ └── layouts/
│ │ ├── application.html.erb
│ │ ├── mailer.html.erb
│ │ └── mailer.text.erb
│ ├── bin/
│ │ ├── rails
│ │ ├── rake
│ │ └── setup
│ ├── config/
│ │ ├── application.rb
│ │ ├── boot.rb
│ │ ├── cable.yml
│ │ ├── database.yml
│ │ ├── environment.rb
│ │ ├── environments/
│ │ │ ├── development.rb
│ │ │ ├── production.rb
│ │ │ └── test.rb
│ │ ├── initializers/
│ │ │ ├── content_security_policy.rb
│ │ │ ├── filter_parameter_logging.rb
│ │ │ ├── inflections.rb
│ │ │ ├── permissions_policy.rb
│ │ │ └── rails_charts.rb
│ │ ├── locales/
│ │ │ └── en.yml
│ │ ├── puma.rb
│ │ ├── routes.rb
│ │ └── storage.yml
│ ├── config.ru
│ ├── db/
│ │ ├── migrate/
│ │ │ ├── 20220419161820_create_users.rb
│ │ │ ├── 20220420081306_create_stats.rb
│ │ │ ├── 20220420125847_create_data_points.rb
│ │ │ └── 20220420191641_create_commits.rb
│ │ └── schema.rb
│ ├── lib/
│ │ └── assets/
│ │ └── .keep
│ ├── log/
│ │ └── .keep
│ └── public/
│ ├── 404.html
│ ├── 422.html
│ └── 500.html
└── test_helper.rb
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/FUNDING.yml
================================================
patreon: igorkasyanchuk
================================================
FILE: .gitignore
================================================
/.bundle/
/doc/
/log/*.log
/pkg/
/tmp/
/test/dummy/db/*.sqlite3
/test/dummy/db/*.sqlite3-*
/test/dummy/log/*.log
/test/dummy/storage/
/test/dummy/tmp/
*.gem
coverage/*
.DS_Store
**/**/.DS_Store */
================================================
FILE: .rspec
================================================
--require spec_helper
================================================
FILE: CHANGES
================================================
- master
- 0.0.9
- https://github.com/railsjazz/rails_charts/pull/30
- https://github.com/railsjazz/rails_charts/pull/37
- 0.0.8
- JS event when chart was rendered https://github.com/railsjazz/rails_charts/pull/31
- 0.0.7
- fix stacked charts https://github.com/railsjazz/rails_charts/pull/27
- eCharts 5.6
- 0.0.6
- fix: make options for as_json optional https://github.com/railsjazz/rails_charts/pull/20/files
- feature: add support for render option
- 0.0.5
- fix CHART_JS_PATTERN to allow having multiple functions for one chart https://github.com/railsjazz/rails_charts/pull/11
- 0.0.4
- fix for radar chart https://github.com/railsjazz/rails_charts/pull/8
- 0.0.3
- fixed function naming if it contains invalid JS symbols https://github.com/railsjazz/rails_charts/pull/5
================================================
FILE: Gemfile
================================================
source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
# Specify your gem's dependencies in rails_charts.gemspec.
gemspec
gem "sqlite3", "~> 2.6.0"
# Start debugger with binding.b [https://github.com/ruby/debug]
# gem "debug", ">= 1.0.0"
gem 'pry'
gem 'faker'
gem 'groupdate'
gem 'puma'
gem "sprockets-rails"
gem "simplecov", group: :test
gem "base64"
gem "bigdecimal"
gem "mutex_m"
gem "rails", "~> 8.0.0"
================================================
FILE: MIT-LICENSE
================================================
Copyright 2022
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
================================================
FILE: README.md
================================================
# Rails Charts
[](https://www.railsjazz.com)
[](https://buymeacoffee.com/igorkasyanchuk)

One more gem to build nice charts for your Ruby on Rails application.
With it you can build various types of charts [Apache eCharts](https://echarts.apache.org/) library (v. 6.0). This gem simplifies interface and adding few helpers to start adding charts in your app with just a few lines of code.
What you can build with it:
- [area chart](#area-chart)
- [line chart](#line-chart)
- [bar chart](#bar-chart)
- [donut chart](#donut-chart)
- [pie chart](#pie-chart)
- [radar chart](#radar-chart)
- [calendar chart](#calendar-chart)
- [candlestick chart](#candlestick-chart)
- [funnel chart](#funnel-chart)
- [gauge chart](#gauge-chart)
- [parallel chart](#parallel-chart)
- [sankey chart](#sankey-chart)
- [scatter chart](#scatter-chart)
- [stacked bar chart](#stacked-bar-chart)
- [custom chart](#custom-chart)
In most cases with one line of code you can have a nice chart. The idea of this gem was inspired by [Chartkick](https://github.com/ankane/chartkick) gem which is great and allows you to build charts very quickly. It works best in cooperation with [groupdate](https://github.com/ankane/groupdate) gem. Unfortunatelly it's missing many needed types of charts or other customization options.
This implementation have more options and similar "interface" for building charts.
## Installation
Add gem to your application's Gemfile:
```ruby
gem "rails_charts"
```
Then execute:
```bash
$ ./bin/bundle install
```
You can install ECharts with installation command
```bash
$ ./bin/rails rails_charts:install
```
or do it manualy
### Sprockets
1) add eCharts in main JS bundle, e.g. `app/assets/javascripts/application.js`
```javascript
//= require echarts.min.js
//= require echarts/theme/dark.js
```
3) add your first chart e.g.
```ruby
<%= line_chart User.group(:age).count %>
```
4) customize charts if needed. See available options or [official documentation](https://echarts.apache.org/examples/en/index.html).
### Webpack / esbuild
1) Run:
```bash
yarn add echarts
```
#### For Rails 7
2) In `app/javascript/application.js` add this:
```javascript
import * as echarts from 'echarts';
import 'echarts/theme/dark';
window.echarts = echarts;
```
#### For Rails 6
2) In `app/javascript/packs/application.js` add this:
```javascript
import * as echarts from 'echarts';
import 'echarts/theme/dark';
window.echarts = echarts;
```
3) add your first chart e.g.
```ruby
<%= line_chart User.group(:age).count %>
```
4) customize charts if needed. See available options or [official documentation](https://echarts.apache.org/examples/en/index.html).
### Importmaps
1) change `config/importmap.rb`
```ruby
pin "echarts", to: "echarts.min.js"
pin "echarts/theme/dark", to: "echarts/theme/dark.js"
```
2) add eCharts in main JS
```javascript
import "echarts"
import "echarts/theme/dark"
```
3) add your first chart e.g.
```ruby
<%= line_chart User.group(:age).count %>
```
4) customize charts if needed. See available options or [official documentation](https://echarts.apache.org/examples/en/index.html).
### Loading Themes
Themes can be loaded as shown in examples above. However, in some cases where
themes are included in environment where `this` does not point to `window`, you
might get errors. In that case, you can use loadTheme helper to load themes by
name. For example, instead of
```javascript
import 'echarts/theme/dark'
```
you can do
```javascript
// application.js
import "echarts"
import "echarts.themeloader"
// Load the desired theme dynamically
RailsCharts.loadTheme('dark');
```
## Options
```ruby
<%= line_chart data, {
width: '250px',
height: '250px',
theme: 'dark',
class: 'chart-container-class',
style: 'padding: 10px'
} %>
```
Available options:
```yaml
width: specify width of the chart
height: specify height of the chart
theme: specify theme of the chart (available themes examples https://echarts.apache.org/en/download-theme.html)
class: specify container's CSS class
id: specify container's ID
style: add inline style
debug: for gem development useful if you want to pause somewhere in the code
vertical: applicable for some types of charts
code: to see output code what is generated to see the chart, useful for debugging
options: {...}, nested hash, specify additional eCharts options
```
Apache eCharts options - https://echarts.apache.org/en/option.html#title.
If you need to format tooltip (or other javascript function as an option) you can pass a JS function, but you need to wrap it like:
```ruby
options: {
tooltip: {
valueFormatter: RailsCharts.js("(value) => '$' + Math.round(value)")
}
}
```
## Charts
All examples available in https://github.com/railsjazz/rails_charts/tree/main/test/dummy/app/views/home. You can see more examples if you clone this repo and start a dummy app.
Every chart has a built in default configuration for tooltips, or other options (sample https://github.com/railsjazz/rails_charts/blob/main/lib/rails_charts/line_chart.rb#L64-L75). This is just to simplify usage of this gem. In the future the plan is to have it configured in initializer.
### Area Chart

```ruby
<%= area_chart User.distinct.pluck(:role).map{|e| {name: e, data: User.where(role: e).group_by_day(:created_at).count} } %>
```
### Line Chart

```ruby
<%= line_chart User.group(:age).count, class: 'box',
options: {
title: {
text: "People count by age",
left: 'center'
},
}
%>
```
### Bar Chart

```ruby
<%= bar_chart User.group(:role).average(:age),
class: 'box',
theme: 'sakura',
options: {
series: {
barWidth: '50%'
},
tooltip: {
valueFormatter: RailsCharts.js("(value) => '$' + Math.round(value)")
}
}
%>
```
### Calendar Chart

```ruby
<%= calendar_chart Commit.for_calendar_chart,
class: 'box',
options: {
visualMap: {
show: true,
min: 0,
max: 40,
orient: 'horizontal'
},
calendar: [{
range: '2021',
},]
}
%>
```
### Candlestick Chart

```ruby
<%= candlestick_chart({
'2017-10-24' => [20, 34, 10, 38],
'2017-10-25' => [40, 35, 30, 50],
'2017-10-26' => [31, 38, 33, 44],
'2017-10-27' => [38, 15, 5, 42]
},
class: 'box',
theme: 'roma',
options: {
xAxis: {
axisTick: {
alignWithLabel: true
}
}
})
%>
```
### Funnel Chart

```ruby
<%= funnel_chart User.get_funnel_sample_data,
class: 'box',
height: '400px',
options: {
title: {
text: 'Demo',
left: 'center'
}
}
%>
```
### Gauge Chart

```ruby
<%= gauge_chart User.get_gauge_sample_data,
class: 'box',
height: '400px',
options: {
title: {
text: 'Demo',
left: 'center'
}
}
%>
```
### Parallel Chart

```ruby
<div class="box">
<%= parallel_chart [
[1, 2, 1, "Ruby"],
[2, 3, 2, "JavaScript"],
[3, 1, 3, "C#"]
], {
options: {
parallelAxis: [
{ dim: 0, name: '2019', inverse: true, minInterval: 1, min: 1, nameTextStyle: { fontSize: 16 }, axisLabel: { fontSize: 16 } },
{ dim: 1, name: '2020', inverse: true, minInterval: 1, min: 1, nameTextStyle: { fontSize: 16 }, axisLabel: { fontSize: 16 } },
{ dim: 2, name: '2021', inverse: true, minInterval: 1, min: 1, nameTextStyle: { fontSize: 16 }, axisLabel: { fontSize: 16 } },
{ dim: 3, type: "category", name: 'Language', data: ["Ruby", "JavaScript", "C#"], inverse: true, nameTextStyle: { fontSize: 16 }, axisLabel: { fontSize: 14 } },
]
}
}
%>
</div>
```
### Donut Chart

```ruby
<%= donut_chart User.group(:role).count,
class: 'box',
options: {
legend: {
bottom: '0'
},
emphasis: {
itemStyle: {
shadowBlur: 10,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
}
}
%>
```
### Pie Chart

```ruby
<%= pie_chart User.group(:role).count,
class: 'box',
options: {
legend: { orient: 'vertical', left: 'left' }
}
%>
```
### Radar Chart

```ruby
<%= radar_chart User.get_data_for_radar_chart,
class: 'box',
options: {
legend: {
data: ['Average Salaries', 'Maximum Salary'],
orient: 'vertical',
left: '20%'
}
}
%>
```
### Sankey Chart

```ruby
<%= sankey_chart({
data: [
{name: 'Ruby'}, {name: 'HTML'}, {name: 'JS'}, {name: 'Good'}, {name: 'Bad'}, {name: 'CSS'}, {name: 'PHP'}, {name: 'Frontend'}, {name: 'Backend'}
],
links: [
{
source: 'Ruby',
target: 'Good',
value: 1
},
{
source: 'HTML',
target: 'Good',
value: 1
},
{
source: 'JS',
target: 'Good',
value: 1
},
{
source: 'CSS',
target: 'Good',
value: 1
},
{
source: 'PHP',
target: 'Bad',
value: 1
},
{
source: 'Good',
target: 'Backend',
value: 1
},
{
source: 'Good',
target: 'Frontend',
value: 3
},
{
source: 'Bad',
target: 'Backend',
value: 1
},
]
}, {
options: {
}
})
%>
```
### Scatter Chart

```ruby
<%= scatter_chart [
{ name: 'John', data: User.random_scatter_chart(500, 200) },
{ name: 'Bob', data: User.random_scatter_chart(500, 1000) },
],
{
class: 'box',
options: {
xAxis: {
name: 'Distance'
},
yAxis: {
name: 'Sales'
},
legend: {
data: [
{name: 'John'},
{name: 'Bob'},
]
},
},
}
%>
```
### Stacked bar Chart

```ruby
<%= stacked_bar_chart [
{ name: 'high priority', data: Account.group_by_month(:created_at, format: "%b %Y").count },
{ name: 'low priority', data: Account.group_by_month(:created_at, format: "%b %Y").count }
],
{
options: {
title: {
text: "Popular vs Unpopular"
},
},
class: 'box',
vertical: true
}
%>
```
### Custom Chart

```ruby
<%= custom_chart {...raw JS options ...} %>
```
## Contributing
You are welcome to contributes. Some open tasks:
- support turbo streams?
- add more specs
- add more examples to the dummy app
- customization, options overides, default values?
- every "5sec" refresh
- remote data
- how to access chart from JS
- better documentation how to specify theme, locale, etc
- more examples with data structure
- add github actions
- add info about initializer and it's configuration
- specify info about default configs per chart
- add support for CSP similar to https://github.com/ankane/chartkick/blob/master/lib/chartkick/helper.rb#L55
- example of how to build multiple-chart charts
### How to upgrade eCharts
- download ZIP file
- unpack it
- replace files in `app/assets/javascripts/echarts.min.js` and other related files inside echarts folder (from root folder of unpacked ZIP file).
### Development and testing
`test/dummy/bin/rails s` - to start dummy app.
`rspec` - to run specs.
Prepare test data:
`rails c`
```ruby
Data.populate
```
## License
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Gem is using https://echarts.apache.org/ to build charts.
[<img src="https://github.com/igorkasyanchuk/rails_time_travel/blob/main/docs/more_gems.png?raw=true"
/>](https://www.railsjazz.com/?utm_source=github&utm_medium=bottom&utm_campaign=rails_charts)
[](https://buymeacoffee.com/igorkasyanchuk)
================================================
FILE: Rakefile
================================================
require "bundler/setup"
require "bundler/gem_tasks"
================================================
FILE: app/assets/javascripts/echarts/extension/bmap.js
================================================
/*
* 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: app/assets/javascripts/echarts/extension/dataTool.js
================================================
/*
* 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: app/assets/javascripts/echarts/i18n/langAR-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langAR.js
================================================
/*
* 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);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langCS-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langCS.js
================================================
/*
* 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);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langDE-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langDE.js
================================================
/*
* 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);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langEL-obj.js
================================================
/*
* 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: Greek.
*/
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: 'Διάγραμμα Κ',
heatmap: 'Θερμικός χάρτης',
map: 'Χάρτης',
parallel: 'Χάρτης παράλληλων συντεταγμένων',
lines: 'Γράφημα γραμμών',
graph: 'Γράφος σχέσεων',
sankey: 'Διάγραμμα 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langEL.js
================================================
/*
* 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: Greek.
*/
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: 'Διάγραμμα Κ',
heatmap: 'Θερμικός χάρτης',
map: 'Χάρτης',
parallel: 'Χάρτης παράλληλων συντεταγμένων',
lines: 'Γράφημα γραμμών',
graph: 'Γράφος σχέσεων',
sankey: 'Διάγραμμα 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('EL', localeObj);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langEN-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langEN.js
================================================
/*
* 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);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langES-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langES.js
================================================
/*
* 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);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langFA-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langFA.js
================================================
/*
* 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);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langFI-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langFI.js
================================================
/*
* 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);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langFR-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langFR.js
================================================
/*
* 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);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langHU-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langHU.js
================================================
/*
* 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);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langIT-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langIT.js
================================================
/*
* 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);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langJA-obj.js
================================================
/*
* 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: Japanese.
*/
var localeObj = {
time: {
month: [
'一月', '二月', '三月', '四月', '五月', '六月',
'七月', '八月', '九月', '十月', '十一月', '十二月'
],
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: '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}で、',
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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langJA.js
================================================
/*
* 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: Japanese.
*/
var localeObj = {
time: {
month: [
'一月', '二月', '三月', '四月', '五月', '六月',
'七月', '八月', '九月', '十月', '十一月', '十二月'
],
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: '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}で、',
withoutName: '{seriesId}番目のシリーズは{seriesType}で、',
separator: {
middle: ';',
end: '。'
}
}
},
data: {
allData: 'データは:',
partialData: 'その内、{displayCnt}番目までは:',
withName: '{name}のデータは{value}',
withoutName: '{value}',
separator: {
middle: '、',
end: ''
}
}
}
};
echarts.registerLocale('JA', localeObj);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langKO-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langKO.js
================================================
/*
* 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);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langNL-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langNL.js
================================================
/*
* 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);
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langPL-obj.js
================================================
/*
* 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];
}
}
});
================================================
FILE: app/assets/javascripts/echarts/i18n/langPL.js
================================================
/*
* 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
gitextract_khypc63o/
├── .github/
│ └── FUNDING.yml
├── .gitignore
├── .rspec
├── CHANGES
├── Gemfile
├── MIT-LICENSE
├── README.md
├── Rakefile
├── app/
│ └── assets/
│ └── javascripts/
│ ├── echarts/
│ │ ├── extension/
│ │ │ ├── bmap.js
│ │ │ └── dataTool.js
│ │ ├── i18n/
│ │ │ ├── langAR-obj.js
│ │ │ ├── langAR.js
│ │ │ ├── langCS-obj.js
│ │ │ ├── langCS.js
│ │ │ ├── langDE-obj.js
│ │ │ ├── langDE.js
│ │ │ ├── langEL-obj.js
│ │ │ ├── langEL.js
│ │ │ ├── langEN-obj.js
│ │ │ ├── langEN.js
│ │ │ ├── langES-obj.js
│ │ │ ├── langES.js
│ │ │ ├── langFA-obj.js
│ │ │ ├── langFA.js
│ │ │ ├── langFI-obj.js
│ │ │ ├── langFI.js
│ │ │ ├── langFR-obj.js
│ │ │ ├── langFR.js
│ │ │ ├── langHU-obj.js
│ │ │ ├── langHU.js
│ │ │ ├── langIT-obj.js
│ │ │ ├── langIT.js
│ │ │ ├── langJA-obj.js
│ │ │ ├── langJA.js
│ │ │ ├── langKO-obj.js
│ │ │ ├── langKO.js
│ │ │ ├── langNL-obj.js
│ │ │ ├── langNL.js
│ │ │ ├── langPL-obj.js
│ │ │ ├── langPL.js
│ │ │ ├── langPT-br-obj.js
│ │ │ ├── langPT-br.js
│ │ │ ├── langRO-obj.js
│ │ │ ├── langRO.js
│ │ │ ├── langRU-obj.js
│ │ │ ├── langRU.js
│ │ │ ├── langSI-obj.js
│ │ │ ├── langSI.js
│ │ │ ├── langSV-obj.js
│ │ │ ├── langSV.js
│ │ │ ├── langTH-obj.js
│ │ │ ├── langTH.js
│ │ │ ├── langTR-obj.js
│ │ │ ├── langTR.js
│ │ │ ├── langUK-obj.js
│ │ │ ├── langUK.js
│ │ │ ├── langVI-obj.js
│ │ │ ├── langVI.js
│ │ │ ├── langZH-obj.js
│ │ │ ├── langZH.js
│ │ │ ├── langnb-NO-obj.js
│ │ │ ├── langnb-NO.js
│ │ │ └── package.json
│ │ └── theme/
│ │ ├── azul.js
│ │ ├── bee-inspired.js
│ │ ├── blue.js
│ │ ├── caravan.js
│ │ ├── carp.js
│ │ ├── cool.js
│ │ ├── dark-blue.js
│ │ ├── dark-bold.js
│ │ ├── dark-digerati.js
│ │ ├── dark-fresh-cut.js
│ │ ├── dark-mushroom.js
│ │ ├── dark.js
│ │ ├── eduardo.js
│ │ ├── forest.js
│ │ ├── fresh-cut.js
│ │ ├── fruit.js
│ │ ├── gray.js
│ │ ├── green.js
│ │ ├── helianthus.js
│ │ ├── infographic.js
│ │ ├── inspired.js
│ │ ├── jazz.js
│ │ ├── london.js
│ │ ├── macarons.js
│ │ ├── macarons2.js
│ │ ├── mint.js
│ │ ├── package.json
│ │ ├── rainbow.js
│ │ ├── red-velvet.js
│ │ ├── red.js
│ │ ├── roma.js
│ │ ├── royal.js
│ │ ├── sakura.js
│ │ ├── shine.js
│ │ ├── tech-blue.js
│ │ ├── tool/
│ │ │ ├── option/
│ │ │ │ ├── area.js
│ │ │ │ ├── bar.js
│ │ │ │ ├── graph.js
│ │ │ │ ├── map.js
│ │ │ │ ├── pie.js
│ │ │ │ └── scatter.js
│ │ │ ├── thumb.html
│ │ │ └── thumb.js
│ │ ├── v5.js
│ │ └── vintage.js
│ └── echarts.themeloader.js
├── bin/
│ └── test
├── lib/
│ ├── install/
│ │ ├── with_importmap.rb
│ │ ├── with_node.rb
│ │ └── with_sprockets.rb
│ ├── rails_charts/
│ │ ├── area_chart.rb
│ │ ├── bar_chart.rb
│ │ ├── base_chart.rb
│ │ ├── calendar_chart.rb
│ │ ├── candlestick_chart.rb
│ │ ├── custom_chart.rb
│ │ ├── donut_chart.rb
│ │ ├── engine.rb
│ │ ├── funnel_chart.rb
│ │ ├── gauge_chart.rb
│ │ ├── helpers.rb
│ │ ├── javascript.rb
│ │ ├── line_chart.rb
│ │ ├── parallel_chart.rb
│ │ ├── pie_chart.rb
│ │ ├── radar_chart.rb
│ │ ├── ruby_ext.rb
│ │ ├── sankey_chart.rb
│ │ ├── scatter_chart.rb
│ │ ├── stacked_bar_chart.rb
│ │ └── version.rb
│ ├── rails_charts.rb
│ └── tasks/
│ └── rails_charts_tasks.rake
├── rails_charts.gemspec
├── spec/
│ ├── charts/
│ │ ├── area_chart_spec.rb
│ │ └── line_chart_spec.rb
│ ├── controllers/
│ │ └── home_controller_spec.rb
│ ├── helpers/
│ │ └── helpers_spec.rb
│ ├── models/
│ │ └── simple_spec.rb
│ ├── rails_helper.rb
│ └── spec_helper.rb
└── test/
├── dummy/
│ ├── Rakefile
│ ├── app/
│ │ ├── assets/
│ │ │ ├── config/
│ │ │ │ └── manifest.js
│ │ │ ├── images/
│ │ │ │ └── .keep
│ │ │ ├── javascripts/
│ │ │ │ └── application.js
│ │ │ └── stylesheets/
│ │ │ └── application.css
│ │ ├── channels/
│ │ │ └── application_cable/
│ │ │ ├── channel.rb
│ │ │ └── connection.rb
│ │ ├── controllers/
│ │ │ ├── application_controller.rb
│ │ │ ├── concerns/
│ │ │ │ └── .keep
│ │ │ └── home_controller.rb
│ │ ├── helpers/
│ │ │ ├── application_helper.rb
│ │ │ └── home_helper.rb
│ │ ├── jobs/
│ │ │ └── application_job.rb
│ │ ├── mailers/
│ │ │ └── application_mailer.rb
│ │ ├── models/
│ │ │ ├── account.rb
│ │ │ ├── application_record.rb
│ │ │ ├── commit.rb
│ │ │ ├── concerns/
│ │ │ │ └── .keep
│ │ │ ├── data.rb
│ │ │ ├── data_point.rb
│ │ │ ├── stat.rb
│ │ │ └── user.rb
│ │ └── views/
│ │ ├── home/
│ │ │ ├── _area_chart.html.erb
│ │ │ ├── _bar_chart.html.erb
│ │ │ ├── _calendar_chart.html.erb
│ │ │ ├── _candlestick_chart.html.erb
│ │ │ ├── _custom_chart.html.erb
│ │ │ ├── _funnel_chart.html.erb
│ │ │ ├── _gauge_chart.html.erb
│ │ │ ├── _line_chart.html.erb
│ │ │ ├── _parallel_chart.html.erb
│ │ │ ├── _pie_donut_chart.html.erb
│ │ │ ├── _radar_chart.html.erb
│ │ │ ├── _sankey_chart.html.erb
│ │ │ ├── _scatter_chart.html.erb
│ │ │ ├── _stacked_bar_chart.html.erb
│ │ │ └── index.html.erb
│ │ └── layouts/
│ │ ├── application.html.erb
│ │ ├── mailer.html.erb
│ │ └── mailer.text.erb
│ ├── bin/
│ │ ├── rails
│ │ ├── rake
│ │ └── setup
│ ├── config/
│ │ ├── application.rb
│ │ ├── boot.rb
│ │ ├── cable.yml
│ │ ├── database.yml
│ │ ├── environment.rb
│ │ ├── environments/
│ │ │ ├── development.rb
│ │ │ ├── production.rb
│ │ │ └── test.rb
│ │ ├── initializers/
│ │ │ ├── content_security_policy.rb
│ │ │ ├── filter_parameter_logging.rb
│ │ │ ├── inflections.rb
│ │ │ ├── permissions_policy.rb
│ │ │ └── rails_charts.rb
│ │ ├── locales/
│ │ │ └── en.yml
│ │ ├── puma.rb
│ │ ├── routes.rb
│ │ └── storage.yml
│ ├── config.ru
│ ├── db/
│ │ ├── migrate/
│ │ │ ├── 20220419161820_create_users.rb
│ │ │ ├── 20220420081306_create_stats.rb
│ │ │ ├── 20220420125847_create_data_points.rb
│ │ │ └── 20220420191641_create_commits.rb
│ │ └── schema.rb
│ ├── lib/
│ │ └── assets/
│ │ └── .keep
│ ├── log/
│ │ └── .keep
│ └── public/
│ ├── 404.html
│ ├── 422.html
│ └── 500.html
└── test_helper.rb
SYMBOL INDEX (192 symbols across 46 files)
FILE: app/assets/javascripts/echarts/extension/bmap.js
function BMapCoordSys (line 27) | function BMapCoordSys(bmap, api) {
function dataToCoordSize (line 102) | function dataToCoordSize(dataSize, dataItem) {
function createOverlayCtor (line 118) | function createOverlayCtor() {
function v2Equal (line 216) | function v2Equal(a, b) {
function isEmptyObject (line 246) | function isEmptyObject(obj) {
function zoomEndHandler (line 286) | function zoomEndHandler() {
FILE: app/assets/javascripts/echarts/extension/dataTool.js
function map (line 59) | function map(arr, cb, context) {
function reduce (line 77) | function reduce(arr, cb, memo, context) {
function bindPolyfill (line 86) | function bindPolyfill(func, context) {
function isFunction (line 98) | function isFunction(value) {
function slice (line 101) | function slice(arr) {
function parse (line 109) | function parse(xml) {
function parseAttributes (line 135) | function parseAttributes(parent) {
function parseNodes (line 144) | function parseNodes(parent, attributesMap) {
function parseEdges (line 203) | function parseEdges(parent) {
function getAttr (line 234) | function getAttr(el, attrName) {
function getChildByTagName (line 237) | function getChildByTagName(parent, tagName) {
function getChildrenByTagName (line 248) | function getChildrenByTagName(parent, tagName) {
function asc (line 307) | function asc(arr) {
function quantile (line 313) | function quantile(ascArr, p) {
function prepareBoxplotData (line 346) | function prepareBoxplotData (rawData, opt) {
FILE: app/assets/javascripts/echarts/theme/tool/thumb.js
function wait (line 25) | async function wait(time) {
function snapshot (line 31) | async function snapshot(browser, themePath) {
FILE: lib/rails_charts.rb
type RailsCharts (line 23) | module RailsCharts
function js (line 29) | def js(code)
FILE: lib/rails_charts/area_chart.rb
type RailsCharts (line 1) | module RailsCharts
class AreaChart (line 2) | class AreaChart < LineChart
method defaults (line 4) | def defaults
method x_axis (line 24) | def x_axis
FILE: lib/rails_charts/bar_chart.rb
type RailsCharts (line 1) | module RailsCharts
class BarChart (line 2) | class BarChart < LineChart
method type (line 4) | def type
method defaults (line 8) | def defaults
FILE: lib/rails_charts/base_chart.rb
type RailsCharts (line 1) | module RailsCharts
class BaseChart (line 2) | class BaseChart
method initialize (line 12) | def initialize(data, options = {})
method js_code (line 34) | def js_code
method option (line 95) | def option
method build_options (line 101) | def build_options
method axises (line 113) | def axises
method x_axis (line 127) | def x_axis
method y_axis (line 131) | def y_axis
FILE: lib/rails_charts/calendar_chart.rb
type RailsCharts (line 1) | module RailsCharts
class CalendarChart (line 2) | class CalendarChart < BaseChart
method initialize (line 5) | def initialize(data, options = {})
method type (line 9) | def type
method build_options (line 13) | def build_options
method generate_series_options (line 17) | def generate_series_options
method defaults (line 25) | def defaults
FILE: lib/rails_charts/candlestick_chart.rb
type RailsCharts (line 1) | module RailsCharts
class CandlestickChart (line 2) | class CandlestickChart < LineChart
method type (line 4) | def type
method defaults (line 8) | def defaults
FILE: lib/rails_charts/custom_chart.rb
type RailsCharts (line 1) | module RailsCharts
class CustomChart (line 2) | class CustomChart < BaseChart
method initialize (line 4) | def initialize(data, options = {})
method build_options (line 9) | def build_options
FILE: lib/rails_charts/donut_chart.rb
type RailsCharts (line 1) | module RailsCharts
class DonutChart (line 2) | class DonutChart < PieChart
method initialize (line 4) | def initialize(data, options = {})
method generate_series_options (line 8) | def generate_series_options
method defaults (line 15) | def defaults
FILE: lib/rails_charts/engine.rb
type RailsCharts (line 1) | module RailsCharts
class Engine (line 2) | class Engine < ::Rails::Engine
FILE: lib/rails_charts/funnel_chart.rb
type RailsCharts (line 1) | module RailsCharts
class FunnelChart (line 2) | class FunnelChart < BaseChart
method type (line 4) | def type
method build_options (line 8) | def build_options
method generate_series_options (line 12) | def generate_series_options
method defaults (line 19) | def defaults
FILE: lib/rails_charts/gauge_chart.rb
type RailsCharts (line 1) | module RailsCharts
class GaugeChart (line 2) | class GaugeChart < BaseChart
method type (line 4) | def type
method build_options (line 8) | def build_options
method generate_series_options (line 12) | def generate_series_options
method defaults (line 19) | def defaults
FILE: lib/rails_charts/helpers.rb
type RailsCharts (line 4) | module RailsCharts
type Helpers (line 5) | module Helpers
function line_chart (line 7) | def line_chart(data, options = {})
function bar_chart (line 11) | def bar_chart(data, options = {})
function stacked_bar_chart (line 15) | def stacked_bar_chart(data, options = {})
function pie_chart (line 19) | def pie_chart(data, options = {})
function scatter_chart (line 23) | def scatter_chart(data, options = {})
function parallel_chart (line 27) | def parallel_chart(data, options = {})
function donut_chart (line 31) | def donut_chart(data, options = {})
function sankey_chart (line 35) | def sankey_chart(data, options = {})
function area_chart (line 39) | def area_chart(data, options = {})
function radar_chart (line 43) | def radar_chart(data, options = {})
function calendar_chart (line 47) | def calendar_chart(data, options = {})
function funnel_chart (line 51) | def funnel_chart(data, options = {})
function gauge_chart (line 55) | def gauge_chart(data, options = {})
function candlestick_chart (line 59) | def candlestick_chart(data, options = {})
function custom_chart (line 63) | def custom_chart(options = {})
function generate_rails_chart (line 67) | def generate_rails_chart(klass, data, options = {})
FILE: lib/rails_charts/javascript.rb
type RailsCharts (line 1) | module RailsCharts
class Javascript (line 2) | class Javascript
method initialize (line 5) | def initialize(code)
method as_json (line 9) | def as_json(options = nil)
FILE: lib/rails_charts/line_chart.rb
type RailsCharts (line 1) | module RailsCharts
class LineChart (line 2) | class LineChart < BaseChart
method initialize (line 4) | def initialize(data, options = {})
method type (line 8) | def type
method x (line 12) | def x
method y (line 23) | def y
method generate_series_options (line 32) | def generate_series_options
method x_axis (line 51) | def x_axis
method y_axis (line 58) | def y_axis
method defaults (line 64) | def defaults
FILE: lib/rails_charts/parallel_chart.rb
type RailsCharts (line 1) | module RailsCharts
class ParallelChart (line 2) | class ParallelChart < BaseChart
method type (line 4) | def type
method build_options (line 8) | def build_options
method generate_series_options (line 12) | def generate_series_options
method defaults (line 19) | def defaults
FILE: lib/rails_charts/pie_chart.rb
type RailsCharts (line 1) | module RailsCharts
class PieChart (line 2) | class PieChart < LineChart
method type (line 4) | def type
method build_options (line 8) | def build_options
method generate_series_options (line 12) | def generate_series_options
method x_axis (line 26) | def x_axis
method y_axis (line 30) | def y_axis
method defaults (line 34) | def defaults
FILE: lib/rails_charts/radar_chart.rb
type RailsCharts (line 1) | module RailsCharts
class RadarChart (line 2) | class RadarChart < BaseChart
method type (line 4) | def type
method build_options (line 8) | def build_options
method radar (line 12) | def radar
method generate_series_options (line 20) | def generate_series_options
method defaults (line 27) | def defaults
FILE: lib/rails_charts/ruby_ext.rb
type RailsCharts (line 1) | module RailsCharts
type RubyExt (line 3) | module RubyExt
function deep_merge (line 6) | def deep_merge(other)
function complex_merge (line 12) | def complex_merge(other)
FILE: lib/rails_charts/sankey_chart.rb
type RailsCharts (line 1) | module RailsCharts
class SankeyChart (line 2) | class SankeyChart < BaseChart
method type (line 4) | def type
method build_options (line 8) | def build_options
method generate_series_options (line 12) | def generate_series_options
method defaults (line 20) | def defaults
FILE: lib/rails_charts/scatter_chart.rb
type RailsCharts (line 1) | module RailsCharts
class ScatterChart (line 2) | class ScatterChart < LineChart
method type (line 4) | def type
method defaults (line 15) | def defaults
method x_axis (line 25) | def x_axis
method y_axis (line 29) | def y_axis
FILE: lib/rails_charts/stacked_bar_chart.rb
type RailsCharts (line 1) | module RailsCharts
class StackedBarChart (line 2) | class StackedBarChart < BarChart
method defaults (line 4) | def defaults
FILE: lib/rails_charts/version.rb
type RailsCharts (line 1) | module RailsCharts
FILE: lib/tasks/rails_charts_tasks.rake
function run_rails_charts_install_template (line 1) | def run_rails_charts_install_template(path)
FILE: test/dummy/app/channels/application_cable/channel.rb
type ApplicationCable (line 1) | module ApplicationCable
class Channel (line 2) | class Channel < ActionCable::Channel::Base
FILE: test/dummy/app/channels/application_cable/connection.rb
type ApplicationCable (line 1) | module ApplicationCable
class Connection (line 2) | class Connection < ActionCable::Connection::Base
FILE: test/dummy/app/controllers/application_controller.rb
class ApplicationController (line 1) | class ApplicationController < ActionController::Base
FILE: test/dummy/app/controllers/home_controller.rb
class HomeController (line 1) | class HomeController < ApplicationController
method index (line 2) | def index
FILE: test/dummy/app/helpers/application_helper.rb
type ApplicationHelper (line 1) | module ApplicationHelper
FILE: test/dummy/app/helpers/home_helper.rb
type HomeHelper (line 1) | module HomeHelper
FILE: test/dummy/app/jobs/application_job.rb
class ApplicationJob (line 1) | class ApplicationJob < ActiveJob::Base
FILE: test/dummy/app/mailers/application_mailer.rb
class ApplicationMailer (line 1) | class ApplicationMailer < ActionMailer::Base
FILE: test/dummy/app/models/account.rb
class Account (line 11) | class Account < ApplicationRecord
method populate (line 16) | def Account.populate
FILE: test/dummy/app/models/application_record.rb
class ApplicationRecord (line 1) | class ApplicationRecord < ActiveRecord::Base
FILE: test/dummy/app/models/commit.rb
class Commit (line 1) | class Commit < ApplicationRecord
method generate_random_data (line 3) | def Commit.generate_random_data
method for_calendar_chart (line 27) | def Commit.for_calendar_chart
FILE: test/dummy/app/models/data.rb
class Data (line 1) | class Data
method populate (line 2) | def Data.populate
FILE: test/dummy/app/models/data_point.rb
class DataPoint (line 9) | class DataPoint < ApplicationRecord
method generate (line 11) | def DataPoint.generate(n = 1000)
method data_set (line 23) | def DataPoint.data_set(n = 1000)
method data_for_candlestick (line 32) | def DataPoint.data_for_candlestick
FILE: test/dummy/app/models/stat.rb
class Stat (line 12) | class Stat < ApplicationRecord
method populate (line 14) | def Stat.populate
FILE: test/dummy/app/models/user.rb
class User (line 15) | class User < ApplicationRecord
method get_data_for_radar_chart (line 17) | def User.get_data_for_radar_chart
method get_funnel_sample_data (line 36) | def User.get_funnel_sample_data
method get_gauge_sample_data (line 48) | def User.get_gauge_sample_data
method custom_gause_data (line 56) | def User.custom_gause_data
method random_scatter_chart (line 169) | def User.random_scatter_chart(initial = 100, shift = 0)
FILE: test/dummy/config/application.rb
type Dummy (line 10) | module Dummy
class Application (line 11) | class Application < Rails::Application
FILE: test/dummy/db/migrate/20220419161820_create_users.rb
class CreateUsers (line 3) | class CreateUsers < ActiveRecord::Migration[7.0]
method up (line 4) | def up
method down (line 24) | def down
FILE: test/dummy/db/migrate/20220420081306_create_stats.rb
class CreateStats (line 3) | class CreateStats < ActiveRecord::Migration[7.0]
method change (line 4) | def change
FILE: test/dummy/db/migrate/20220420125847_create_data_points.rb
class CreateDataPoints (line 1) | class CreateDataPoints < ActiveRecord::Migration[7.0]
method change (line 2) | def change
FILE: test/dummy/db/migrate/20220420191641_create_commits.rb
class CreateCommits (line 1) | class CreateCommits < ActiveRecord::Migration[7.0]
method change (line 2) | def change
Condensed preview — 216 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (742K chars).
[
{
"path": ".github/FUNDING.yml",
"chars": 24,
"preview": "patreon: igorkasyanchuk\n"
},
{
"path": ".gitignore",
"chars": 200,
"preview": "/.bundle/\n/doc/\n/log/*.log\n/pkg/\n/tmp/\n/test/dummy/db/*.sqlite3\n/test/dummy/db/*.sqlite3-*\n/test/dummy/log/*.log\n/test/d"
},
{
"path": ".rspec",
"chars": 22,
"preview": "--require spec_helper\n"
},
{
"path": "CHANGES",
"chars": 804,
"preview": "- master\n\n- 0.0.9\n - https://github.com/railsjazz/rails_charts/pull/30\n - https://github.com/railsjazz/rails_charts/pu"
},
{
"path": "Gemfile",
"chars": 450,
"preview": "source \"https://rubygems.org\"\ngit_source(:github) { |repo| \"https://github.com/#{repo}.git\" }\n\n# Specify your gem's depe"
},
{
"path": "MIT-LICENSE",
"chars": 1040,
"preview": "Copyright 2022 \n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and assoc"
},
{
"path": "README.md",
"chars": 12451,
"preview": "# Rails Charts\n\n[]"
},
{
"path": "Rakefile",
"chars": 53,
"preview": "require \"bundler/setup\"\n\nrequire \"bundler/gem_tasks\"\n"
},
{
"path": "app/assets/javascripts/echarts/extension/bmap.js",
"chars": 12861,
"preview": "\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTI"
},
{
"path": "app/assets/javascripts/echarts/extension/dataTool.js",
"chars": 14189,
"preview": "\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTI"
},
{
"path": "app/assets/javascripts/echarts/i18n/langAR-obj.js",
"chars": 5088,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langAR.js",
"chars": 5062,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langCS-obj.js",
"chars": 5105,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langCS.js",
"chars": 5079,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langDE-obj.js",
"chars": 5238,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langDE.js",
"chars": 5212,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langEL-obj.js",
"chars": 5404,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langEL.js",
"chars": 5378,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langEN-obj.js",
"chars": 5066,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langEN.js",
"chars": 5040,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langES-obj.js",
"chars": 5268,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langES.js",
"chars": 5242,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langFA-obj.js",
"chars": 4995,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langFA.js",
"chars": 4969,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langFI-obj.js",
"chars": 5199,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langFI.js",
"chars": 5173,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langFR-obj.js",
"chars": 5220,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langFR.js",
"chars": 5194,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langHU-obj.js",
"chars": 5179,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langHU.js",
"chars": 5153,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langIT-obj.js",
"chars": 5252,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langIT.js",
"chars": 5226,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langJA-obj.js",
"chars": 4646,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langJA.js",
"chars": 4620,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langKO-obj.js",
"chars": 4668,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langKO.js",
"chars": 4642,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langNL-obj.js",
"chars": 5313,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langNL.js",
"chars": 5287,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langPL-obj.js",
"chars": 5387,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langPL.js",
"chars": 5361,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langPT-br-obj.js",
"chars": 5349,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langPT-br.js",
"chars": 5326,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langRO-obj.js",
"chars": 5325,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langRO.js",
"chars": 5299,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langRU-obj.js",
"chars": 5281,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langRU.js",
"chars": 5255,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langSI-obj.js",
"chars": 5241,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langSI.js",
"chars": 5215,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langSV-obj.js",
"chars": 4801,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langSV.js",
"chars": 4775,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langTH-obj.js",
"chars": 5113,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langTH.js",
"chars": 5087,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langTR-obj.js",
"chars": 5224,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langTR.js",
"chars": 5198,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langUK-obj.js",
"chars": 5250,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langUK.js",
"chars": 5224,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langVI-obj.js",
"chars": 4633,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langVI.js",
"chars": 4607,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langZH-obj.js",
"chars": 4472,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langZH.js",
"chars": 4446,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langnb-NO-obj.js",
"chars": 4499,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/langnb-NO.js",
"chars": 4476,
"preview": "\n\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/i18n/package.json",
"chars": 26,
"preview": "{\n \"type\": \"commonjs\"\n}"
},
{
"path": "app/assets/javascripts/echarts/theme/azul.js",
"chars": 4397,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/bee-inspired.js",
"chars": 4785,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/blue.js",
"chars": 4774,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/caravan.js",
"chars": 4777,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/carp.js",
"chars": 4397,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/cool.js",
"chars": 4811,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/dark-blue.js",
"chars": 4385,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/dark-bold.js",
"chars": 4385,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/dark-digerati.js",
"chars": 4389,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/dark-fresh-cut.js",
"chars": 4390,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/dark-mushroom.js",
"chars": 4389,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/dark.js",
"chars": 5981,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/eduardo.js",
"chars": 4777,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/forest.js",
"chars": 4398,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/fresh-cut.js",
"chars": 4402,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/fruit.js",
"chars": 4775,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/gray.js",
"chars": 5974,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/green.js",
"chars": 6008,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/helianthus.js",
"chars": 7059,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/infographic.js",
"chars": 5829,
"preview": "/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTIC"
},
{
"path": "app/assets/javascripts/echarts/theme/inspired.js",
"chars": 4400,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/jazz.js",
"chars": 4397,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/london.js",
"chars": 4399,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/macarons.js",
"chars": 5869,
"preview": "/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTIC"
},
{
"path": "app/assets/javascripts/echarts/theme/macarons2.js",
"chars": 7222,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/mint.js",
"chars": 4216,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/package.json",
"chars": 26,
"preview": "{\n \"type\": \"commonjs\"\n}"
},
{
"path": "app/assets/javascripts/echarts/theme/rainbow.js",
"chars": 2092,
"preview": "\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTI"
},
{
"path": "app/assets/javascripts/echarts/theme/red-velvet.js",
"chars": 4406,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/red.js",
"chars": 6069,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/roma.js",
"chars": 3044,
"preview": "\n/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTI"
},
{
"path": "app/assets/javascripts/echarts/theme/royal.js",
"chars": 4398,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/sakura.js",
"chars": 3614,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/shine.js",
"chars": 4412,
"preview": "/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTIC"
},
{
"path": "app/assets/javascripts/echarts/theme/tech-blue.js",
"chars": 4896,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/tool/option/area.js",
"chars": 2331,
"preview": "/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTIC"
},
{
"path": "app/assets/javascripts/echarts/theme/tool/option/bar.js",
"chars": 2819,
"preview": "/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTIC"
},
{
"path": "app/assets/javascripts/echarts/theme/tool/option/graph.js",
"chars": 59020,
"preview": "/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTIC"
},
{
"path": "app/assets/javascripts/echarts/theme/tool/option/map.js",
"chars": 4552,
"preview": "/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTIC"
},
{
"path": "app/assets/javascripts/echarts/theme/tool/option/pie.js",
"chars": 2606,
"preview": "/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTIC"
},
{
"path": "app/assets/javascripts/echarts/theme/tool/option/scatter.js",
"chars": 12492,
"preview": "/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTIC"
},
{
"path": "app/assets/javascripts/echarts/theme/tool/thumb.html",
"chars": 2228,
"preview": "<!DOCTYPE html>\n<!--\nLicensed to the Apache Software Foundation (ASF) under one\nor more contributor license agreements. "
},
{
"path": "app/assets/javascripts/echarts/theme/tool/thumb.js",
"chars": 1963,
"preview": "/*\n* Licensed to the Apache Software Foundation (ASF) under one\n* or more contributor license agreements. See the NOTIC"
},
{
"path": "app/assets/javascripts/echarts/theme/v5.js",
"chars": 15922,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts/theme/vintage.js",
"chars": 1922,
"preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOT"
},
{
"path": "app/assets/javascripts/echarts.themeloader.js",
"chars": 1008,
"preview": "(function() {\n window.RailsCharts = window.RailsCharts || {};\n window.RailsCharts.loadedThemes = window.RailsCharts.lo"
},
{
"path": "bin/test",
"chars": 116,
"preview": "#!/usr/bin/env ruby\n$: << File.expand_path(\"../test\", __dir__)\n\nrequire \"bundler/setup\"\nrequire \"rails/plugin/test\"\n"
},
{
"path": "lib/install/with_importmap.rb",
"chars": 291,
"preview": "say \"Import ECharts\"\nappend_to_file \"app/javascript/application.js\", <<~JS\n import \"echarts\"\n import \"echarts/theme/da"
},
{
"path": "lib/install/with_node.rb",
"chars": 563,
"preview": "js_code = <<~JS\n import * as echarts from \"echarts\";\n import \"echarts/theme/dark\";\n\n window.echarts = echarts;\nJS\n\nif"
},
{
"path": "lib/install/with_sprockets.rb",
"chars": 348,
"preview": "js_code = <<~JS\n //= require echarts.min.js\n //= require echarts/theme/vintage.js\nJS\n\nif Rails.root.join(\"app/assets/j"
},
{
"path": "lib/rails_charts/area_chart.rb",
"chars": 459,
"preview": "module RailsCharts\n class AreaChart < LineChart\n\n def defaults\n {\n tooltip: {\n trigger: 'axis'\n"
},
{
"path": "lib/rails_charts/bar_chart.rb",
"chars": 365,
"preview": "module RailsCharts\n class BarChart < LineChart\n \n def type\n 'bar'\n end\n\n def defaults\n {\n "
},
{
"path": "lib/rails_charts/base_chart.rb",
"chars": 4505,
"preview": "module RailsCharts\n class BaseChart\n CHART_JS_PATTERN = /\"RAILS_CHART_JS:((?!RAILS_CHART_JS:).*?):RAILS_CHART_JS_END"
},
{
"path": "lib/rails_charts/calendar_chart.rb",
"chars": 559,
"preview": "module RailsCharts\n class CalendarChart < BaseChart\n attr_reader :visual_map_options\n \n def initialize(data, o"
},
{
"path": "lib/rails_charts/candlestick_chart.rb",
"chars": 380,
"preview": "module RailsCharts\n class CandlestickChart < LineChart\n \n def type\n 'candlestick'\n end\n\n def defaults\n"
},
{
"path": "lib/rails_charts/custom_chart.rb",
"chars": 204,
"preview": "module RailsCharts\n class CustomChart < BaseChart\n\n def initialize(data, options = {})\n super([], options)\n "
},
{
"path": "lib/rails_charts/donut_chart.rb",
"chars": 632,
"preview": "module RailsCharts\n class DonutChart < PieChart\n\n def initialize(data, options = {})\n super(data, options)\n "
},
{
"path": "lib/rails_charts/engine.rb",
"chars": 933,
"preview": "module RailsCharts\n class Engine < ::Rails::Engine\n\n initializer \"rails_charts.importmap\", before: \"importmap\" do |a"
},
{
"path": "lib/rails_charts/funnel_chart.rb",
"chars": 408,
"preview": "module RailsCharts\n class FunnelChart < BaseChart\n\n def type\n 'funnel'\n end\n\n def build_options\n sup"
},
{
"path": "lib/rails_charts/gauge_chart.rb",
"chars": 418,
"preview": "module RailsCharts\n class GaugeChart < BaseChart\n\n def type\n 'gauge'\n end\n\n def build_options\n super"
},
{
"path": "lib/rails_charts/helpers.rb",
"chars": 2107,
"preview": "require \"json\"\nrequire \"erb\"\n\nmodule RailsCharts\n module Helpers\n\n def line_chart(data, options = {})\n generate"
},
{
"path": "lib/rails_charts/javascript.rb",
"chars": 237,
"preview": "module RailsCharts\n class Javascript\n attr_reader :code\n\n def initialize(code)\n @code = code\n end\n\n de"
},
{
"path": "lib/rails_charts/line_chart.rb",
"chars": 1278,
"preview": "module RailsCharts\n class LineChart < BaseChart\n\n def initialize(data, options = {})\n super(Array.wrap(data.to_"
},
{
"path": "lib/rails_charts/parallel_chart.rb",
"chars": 398,
"preview": "module RailsCharts\n class ParallelChart < BaseChart\n\n def type\n 'parallel'\n end\n\n def build_options\n "
},
{
"path": "lib/rails_charts/pie_chart.rb",
"chars": 843,
"preview": "module RailsCharts\n class PieChart < LineChart\n\n def type\n 'pie'\n end\n\n def build_options\n super.exc"
},
{
"path": "lib/rails_charts/radar_chart.rb",
"chars": 553,
"preview": "module RailsCharts\n class RadarChart < BaseChart\n\n def type\n 'radar'\n end\n\n def build_options\n super"
},
{
"path": "lib/rails_charts/ruby_ext.rb",
"chars": 520,
"preview": "module RailsCharts\n\n module RubyExt\n\n refine ::Array do\n def deep_merge(other)\n map{|e| e.merge!(other) "
},
{
"path": "lib/rails_charts/sankey_chart.rb",
"chars": 439,
"preview": "module RailsCharts\n class SankeyChart < BaseChart\n\n def type\n 'sankey'\n end\n\n def build_options\n sup"
},
{
"path": "lib/rails_charts/scatter_chart.rb",
"chars": 420,
"preview": "module RailsCharts\n class ScatterChart < LineChart\n\n def type\n 'scatter'\n end\n\n # def generate_series_opt"
},
{
"path": "lib/rails_charts/stacked_bar_chart.rb",
"chars": 181,
"preview": "module RailsCharts\n class StackedBarChart < BarChart\n\n def defaults\n super.deep_merge({\n series: {\n "
},
{
"path": "lib/rails_charts/version.rb",
"chars": 43,
"preview": "module RailsCharts\n VERSION = \"1.0.0\"\nend\n"
},
{
"path": "lib/rails_charts.rb",
"chars": 1106,
"preview": "require \"rails_charts/version\"\nrequire \"rails_charts/ruby_ext\"\nrequire \"rails_charts/javascript\"\nrequire \"rails_charts/e"
},
{
"path": "lib/tasks/rails_charts_tasks.rake",
"chars": 1128,
"preview": "def run_rails_charts_install_template(path)\n system \"#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_p"
},
{
"path": "rails_charts.gemspec",
"chars": 1113,
"preview": "require_relative \"lib/rails_charts/version\"\n\nGem::Specification.new do |spec|\n spec.name = \"rails_charts\"\n spec"
},
{
"path": "spec/charts/area_chart_spec.rb",
"chars": 1558,
"preview": "require_relative \"../rails_helper\"\n\ndescribe RailsCharts::AreaChart do\n before do\n User.create(age: 10, role: 'admin"
},
{
"path": "spec/charts/line_chart_spec.rb",
"chars": 2325,
"preview": "require_relative \"../rails_helper\"\n\ndescribe RailsCharts::LineChart do\n before do\n User.create(age: 10, role: 'admin"
},
{
"path": "spec/controllers/home_controller_spec.rb",
"chars": 587,
"preview": "require_relative \"../rails_helper\"\n\ndescribe HomeController do\n render_views\n\n before do\n User.create(age: 10, role"
},
{
"path": "spec/helpers/helpers_spec.rb",
"chars": 4986,
"preview": "require_relative \"../rails_helper\"\n\ndescribe RailsCharts::Helpers do\n before do\n User.create(age: 10, role: 'admin',"
},
{
"path": "spec/models/simple_spec.rb",
"chars": 1036,
"preview": "require_relative \"../rails_helper\"\n\ndescribe \"Charts\" do\n using RailsCharts::RubyExt\n\n it 'works' do\n c = RailsChar"
},
{
"path": "spec/rails_helper.rb",
"chars": 2925,
"preview": "# This file is copied to spec/ when you run 'rails generate rspec:install'\nrequire 'spec_helper'\nENV['RAILS_ENV'] ||= 't"
},
{
"path": "spec/spec_helper.rb",
"chars": 4599,
"preview": "# This file was generated by the `rails generate rspec:install` command. Conventionally, all\n# specs live under a `spec`"
},
{
"path": "test/dummy/Rakefile",
"chars": 227,
"preview": "# Add your own tasks in files placed in lib/tasks ending in .rake,\n# for example lib/tasks/capistrano.rake, and they wil"
},
{
"path": "test/dummy/app/assets/config/manifest.js",
"chars": 106,
"preview": " //= link_tree ../images\n //= link_directory ../javascripts .js\n //= link_directory ../stylesheets .css"
},
{
"path": "test/dummy/app/assets/images/.keep",
"chars": 0,
"preview": ""
},
{
"path": "test/dummy/app/assets/javascripts/application.js",
"chars": 603,
"preview": "//= require echarts.min.js\n//= require echarts/theme/vintage.js\n//= require echarts/theme/dark.js\n//= require echarts/th"
},
{
"path": "test/dummy/app/assets/stylesheets/application.css",
"chars": 4424,
"preview": "/* Application styles */\n\nbody {\n /* padding-bottom: 200px !important;\n background-color: #cc5577;\n background-image:"
},
{
"path": "test/dummy/app/channels/application_cable/channel.rb",
"chars": 79,
"preview": "module ApplicationCable\n class Channel < ActionCable::Channel::Base\n end\nend\n"
},
{
"path": "test/dummy/app/channels/application_cable/connection.rb",
"chars": 85,
"preview": "module ApplicationCable\n class Connection < ActionCable::Connection::Base\n end\nend\n"
},
{
"path": "test/dummy/app/controllers/application_controller.rb",
"chars": 57,
"preview": "class ApplicationController < ActionController::Base\nend\n"
},
{
"path": "test/dummy/app/controllers/concerns/.keep",
"chars": 0,
"preview": ""
},
{
"path": "test/dummy/app/controllers/home_controller.rb",
"chars": 67,
"preview": "class HomeController < ApplicationController\n def index\n end\nend\n"
},
{
"path": "test/dummy/app/helpers/application_helper.rb",
"chars": 29,
"preview": "module ApplicationHelper\nend\n"
},
{
"path": "test/dummy/app/helpers/home_helper.rb",
"chars": 22,
"preview": "module HomeHelper\nend\n"
},
{
"path": "test/dummy/app/jobs/application_job.rb",
"chars": 269,
"preview": "class ApplicationJob < ActiveJob::Base\n # Automatically retry jobs that encountered a deadlock\n # retry_on ActiveRecor"
},
{
"path": "test/dummy/app/mailers/application_mailer.rb",
"chars": 102,
"preview": "class ApplicationMailer < ActionMailer::Base\n default from: \"from@example.com\"\n layout \"mailer\"\nend\n"
},
{
"path": "test/dummy/app/models/account.rb",
"chars": 670,
"preview": "# == Schema Information\n#\n# Table name: accounts\n#\n# id :integer not null, primary key\n# name :"
},
{
"path": "test/dummy/app/models/application_record.rb",
"chars": 74,
"preview": "class ApplicationRecord < ActiveRecord::Base\n primary_abstract_class\nend\n"
},
{
"path": "test/dummy/app/models/commit.rb",
"chars": 644,
"preview": "class Commit < ApplicationRecord\n\n def Commit.generate_random_data\n Commit.delete_all\n\n 5000.times do |e|\n C"
},
{
"path": "test/dummy/app/models/concerns/.keep",
"chars": 0,
"preview": ""
},
{
"path": "test/dummy/app/models/data.rb",
"chars": 888,
"preview": "class Data\n def Data.populate\n 2000.times do\n dob = Date.current - rand(100).years - rand(400).days\n user "
},
{
"path": "test/dummy/app/models/data_point.rb",
"chars": 5717,
"preview": "# == Schema Information\n#\n# Table name: data_points\n#\n# id :integer not null, primary key\n# value "
},
{
"path": "test/dummy/app/models/stat.rb",
"chars": 631,
"preview": "# == Schema Information\n#\n# Table name: stats\n#\n# id :integer not null, primary key\n# country :str"
},
{
"path": "test/dummy/app/models/user.rb",
"chars": 4457,
"preview": "# == Schema Information\n#\n# Table name: users\n#\n# id :integer not null, primary key\n# name :str"
},
{
"path": "test/dummy/app/views/home/_area_chart.html.erb",
"chars": 1372,
"preview": "<h2 class=\"subtitle\">area_chart #1</h2>\n<%= area_chart User.group(:age).count,\n height: '250px',\n class: 'box',\n them"
},
{
"path": "test/dummy/app/views/home/_bar_chart.html.erb",
"chars": 1412,
"preview": "<h2 class=\"subtitle\">bar_chart #1</h2>\n<%= bar_chart User.group(:role).sum(:salary),\n class: 'box',\n theme: 'roma',\n "
},
{
"path": "test/dummy/app/views/home/_calendar_chart.html.erb",
"chars": 285,
"preview": "<h2 class=\"subtitle\">calendar_chart #1</h2>\n<%= calendar_chart Commit.for_calendar_chart,\n class: 'box',\n code: false,"
},
{
"path": "test/dummy/app/views/home/_candlestick_chart.html.erb",
"chars": 1183,
"preview": "<h2 class=\"subtitle\">candlestick_chart #1</h2>\n<%= candlestick_chart({\n '2017-10-24' => [20, 34, 10, 38],\n '2017-1"
},
{
"path": "test/dummy/app/views/home/_custom_chart.html.erb",
"chars": 111,
"preview": "<h2 class=\"subtitle\">custom_chart #1</h2>\n<div class=\"box\">\n <%= custom_chart User.custom_gause_data %>\n</div>"
},
{
"path": "test/dummy/app/views/home/_funnel_chart.html.erb",
"chars": 920,
"preview": "<div class=\"columns\">\n <div class=\"column is-half\">\n <h2 class=\"subtitle\">funnel_chart #1</h2>\n <%= funnel_chart "
},
{
"path": "test/dummy/app/views/home/_gauge_chart.html.erb",
"chars": 199,
"preview": "<h2 class=\"subtitle\">gauge_chart #1</h2>\n<%= gauge_chart User.get_gauge_sample_data,\n class: 'box',\n height: '400px',\n"
},
{
"path": "test/dummy/app/views/home/_line_chart.html.erb",
"chars": 2443,
"preview": "<h2 class=\"subtitle\">line_chart #1</h2>\n<%= line_chart User.group(:age).count, class: 'box',\n code: false,\n options: {"
},
{
"path": "test/dummy/app/views/home/_parallel_chart.html.erb",
"chars": 804,
"preview": "<h2 class=\"subtitle\">parallel_chart #1</h2>\n<div class=\"box\">\n <%= parallel_chart [\n [1, 2, 1, \"Ruby\"],\n [2, 3, 2"
},
{
"path": "test/dummy/app/views/home/_pie_donut_chart.html.erb",
"chars": 2277,
"preview": "<div class=\"columns\">\n <div class=\"column is-half\">\n <h2 class=\"subtitle\">pie_chart #1</h2>\n <%= pie_chart User.g"
},
{
"path": "test/dummy/app/views/home/_radar_chart.html.erb",
"chars": 387,
"preview": "<h2 class=\"subtitle\">radar_chart #1</h2>\n<%= radar_chart User.get_data_for_radar_chart,\n class: 'box',\n options: {\n "
},
{
"path": "test/dummy/app/views/home/_sankey_chart.html.erb",
"chars": 1114,
"preview": "<h2 class=\"subtitle\">sankey_chart #1</h2>\n<div class=\"box\">\n <%= sankey_chart({\n data: [\n {name: 'Ruby'}, {name"
},
{
"path": "test/dummy/app/views/home/_scatter_chart.html.erb",
"chars": 832,
"preview": "<h2 class=\"subtitle\">scatter_charts #1 simple</h2>\n<%= scatter_chart User.random_scatter_chart(500, 200),\n {\n code: "
},
{
"path": "test/dummy/app/views/home/_stacked_bar_chart.html.erb",
"chars": 442,
"preview": "<h2 class=\"subtitle\">stacked_bar_chart #1</h2>\n<%= stacked_bar_chart [\n { name: 'high priority', data: Account.high_p"
},
{
"path": "test/dummy/app/views/home/index.html.erb",
"chars": 890,
"preview": "<section class=\"section\">\n <div class=\"container\">\n <h1 class=\"title\">\n Charts\n </h1>\n <p class=\"subtitle"
},
{
"path": "test/dummy/app/views/layouts/application.html.erb",
"chars": 482,
"preview": "<!DOCTYPE html>\n<html>\n <head>\n <title>Dummy</title>\n <%= csrf_meta_tags %>\n <%= csp_meta_tag %>\n <meta nam"
},
{
"path": "test/dummy/app/views/layouts/mailer.html.erb",
"chars": 229,
"preview": "<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n <style>\n "
},
{
"path": "test/dummy/app/views/layouts/mailer.text.erb",
"chars": 13,
"preview": "<%= yield %>\n"
},
{
"path": "test/dummy/bin/rails",
"chars": 141,
"preview": "#!/usr/bin/env ruby\nAPP_PATH = File.expand_path(\"../config/application\", __dir__)\nrequire_relative \"../config/boot\"\nrequ"
},
{
"path": "test/dummy/bin/rake",
"chars": 90,
"preview": "#!/usr/bin/env ruby\nrequire_relative \"../config/boot\"\nrequire \"rake\"\nRake.application.run\n"
},
{
"path": "test/dummy/bin/setup",
"chars": 1010,
"preview": "#!/usr/bin/env ruby\nrequire \"fileutils\"\n\n# path to your application root.\nAPP_ROOT = File.expand_path(\"..\", __dir__)\n\nde"
},
{
"path": "test/dummy/config/application.rb",
"chars": 711,
"preview": "require_relative \"boot\"\n\nrequire \"rails/all\"\n\n# Require the gems listed in Gemfile, including any gems\n# you've limited "
},
{
"path": "test/dummy/config/boot.rb",
"chars": 233,
"preview": "# Set up gems listed in the Gemfile.\nENV[\"BUNDLE_GEMFILE\"] ||= File.expand_path(\"../../../Gemfile\", __dir__)\n\nrequire \"b"
},
{
"path": "test/dummy/config/cable.yml",
"chars": 186,
"preview": "development:\n adapter: async\n\ntest:\n adapter: test\n\nproduction:\n adapter: redis\n url: <%= ENV.fetch(\"REDIS_URL\") { \""
},
{
"path": "test/dummy/config/database.yml",
"chars": 620,
"preview": "# SQLite. Versions 3.8.0 and up are supported.\n# gem install sqlite3\n#\n# Ensure the SQLite 3 gem is defined in your "
},
{
"path": "test/dummy/config/environment.rb",
"chars": 128,
"preview": "# Load the Rails application.\nrequire_relative \"application\"\n\n# Initialize the Rails application.\nRails.application.init"
},
{
"path": "test/dummy/config/environments/development.rb",
"chars": 2334,
"preview": "require \"active_support/core_ext/integer/time\"\n\nRails.application.configure do\n # Settings specified here will take pre"
},
{
"path": "test/dummy/config/environments/production.rb",
"chars": 3704,
"preview": "require \"active_support/core_ext/integer/time\"\n\nRails.application.configure do\n # Settings specified here will take pre"
},
{
"path": "test/dummy/config/environments/test.rb",
"chars": 2387,
"preview": "require \"active_support/core_ext/integer/time\"\n\n# The test environment is used exclusively to run your application's\n# t"
},
{
"path": "test/dummy/config/initializers/content_security_policy.rb",
"chars": 1140,
"preview": "# Be sure to restart your server when you modify this file.\n\n# Define an application-wide content security policy\n# For "
},
{
"path": "test/dummy/config/initializers/filter_parameter_logging.rb",
"chars": 396,
"preview": "# Be sure to restart your server when you modify this file.\n\n# Configure parameters to be filtered from the log file. Us"
},
{
"path": "test/dummy/config/initializers/inflections.rb",
"chars": 649,
"preview": "# Be sure to restart your server when you modify this file.\n\n# Add new inflection rules using the following format. Infl"
},
{
"path": "test/dummy/config/initializers/permissions_policy.rb",
"chars": 384,
"preview": "# Define an application-wide HTTP permissions policy. For further\n# information see https://developers.google.com/web/up"
},
{
"path": "test/dummy/config/initializers/rails_charts.rb",
"chars": 44,
"preview": "# RailsCharts.options = {\n# theme: nil\n# }"
}
]
// ... and 16 more files (download for full content)
About this extraction
This page contains the full source code of the railsjazz/rails_charts GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 216 files (659.0 KB), approximately 180.9k tokens, and a symbol index with 192 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.