trackplot 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/app/assets/javascripts/trackplot/index.js +1541 -0
- data/app/helpers/trackplot/chart_helper.rb +9 -0
- data/config/importmap.rb +2 -0
- data/lib/generators/trackplot/install_generator.rb +23 -0
- data/lib/trackplot/chart_builder.rb +119 -0
- data/lib/trackplot/components/area.rb +24 -0
- data/lib/trackplot/components/axis.rb +40 -0
- data/lib/trackplot/components/bar.rb +23 -0
- data/lib/trackplot/components/base.rb +19 -0
- data/lib/trackplot/components/candlestick.rb +17 -0
- data/lib/trackplot/components/funnel.rb +20 -0
- data/lib/trackplot/components/grid.rb +13 -0
- data/lib/trackplot/components/horizontal_bar.rb +22 -0
- data/lib/trackplot/components/legend.rb +13 -0
- data/lib/trackplot/components/line.rb +25 -0
- data/lib/trackplot/components/pie.rb +23 -0
- data/lib/trackplot/components/radar.rb +24 -0
- data/lib/trackplot/components/reference_line.rb +24 -0
- data/lib/trackplot/components/scatter.rb +24 -0
- data/lib/trackplot/components/tooltip.rb +29 -0
- data/lib/trackplot/data_adapter.rb +33 -0
- data/lib/trackplot/engine.rb +22 -0
- data/lib/trackplot/theme.rb +59 -0
- data/lib/trackplot/version.rb +3 -0
- data/lib/trackplot.rb +26 -0
- metadata +97 -0
metadata
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: trackplot
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Eagerworks
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: railties
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '7.0'
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '7.0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: actionview
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '7.0'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '7.0'
|
|
40
|
+
description: A Rails engine that provides a declarative Ruby DSL for building interactive,
|
|
41
|
+
animated D3.js charts. Offers line, bar, area, and pie charts with tooltips, legends,
|
|
42
|
+
and responsive design out of the box.
|
|
43
|
+
executables: []
|
|
44
|
+
extensions: []
|
|
45
|
+
extra_rdoc_files: []
|
|
46
|
+
files:
|
|
47
|
+
- LICENSE.txt
|
|
48
|
+
- app/assets/javascripts/trackplot/index.js
|
|
49
|
+
- app/helpers/trackplot/chart_helper.rb
|
|
50
|
+
- config/importmap.rb
|
|
51
|
+
- lib/generators/trackplot/install_generator.rb
|
|
52
|
+
- lib/trackplot.rb
|
|
53
|
+
- lib/trackplot/chart_builder.rb
|
|
54
|
+
- lib/trackplot/components/area.rb
|
|
55
|
+
- lib/trackplot/components/axis.rb
|
|
56
|
+
- lib/trackplot/components/bar.rb
|
|
57
|
+
- lib/trackplot/components/base.rb
|
|
58
|
+
- lib/trackplot/components/candlestick.rb
|
|
59
|
+
- lib/trackplot/components/funnel.rb
|
|
60
|
+
- lib/trackplot/components/grid.rb
|
|
61
|
+
- lib/trackplot/components/horizontal_bar.rb
|
|
62
|
+
- lib/trackplot/components/legend.rb
|
|
63
|
+
- lib/trackplot/components/line.rb
|
|
64
|
+
- lib/trackplot/components/pie.rb
|
|
65
|
+
- lib/trackplot/components/radar.rb
|
|
66
|
+
- lib/trackplot/components/reference_line.rb
|
|
67
|
+
- lib/trackplot/components/scatter.rb
|
|
68
|
+
- lib/trackplot/components/tooltip.rb
|
|
69
|
+
- lib/trackplot/data_adapter.rb
|
|
70
|
+
- lib/trackplot/engine.rb
|
|
71
|
+
- lib/trackplot/theme.rb
|
|
72
|
+
- lib/trackplot/version.rb
|
|
73
|
+
homepage: https://github.com/eagerworks/trackplot
|
|
74
|
+
licenses:
|
|
75
|
+
- MIT
|
|
76
|
+
metadata:
|
|
77
|
+
homepage_uri: https://github.com/eagerworks/trackplot
|
|
78
|
+
source_code_uri: https://github.com/eagerworks/trackplot
|
|
79
|
+
changelog_uri: https://github.com/eagerworks/trackplot/blob/main/CHANGELOG.md
|
|
80
|
+
rdoc_options: []
|
|
81
|
+
require_paths:
|
|
82
|
+
- lib
|
|
83
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
|
+
requirements:
|
|
85
|
+
- - ">="
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
version: '3.0'
|
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
|
+
requirements:
|
|
90
|
+
- - ">="
|
|
91
|
+
- !ruby/object:Gem::Version
|
|
92
|
+
version: '0'
|
|
93
|
+
requirements: []
|
|
94
|
+
rubygems_version: 3.6.9
|
|
95
|
+
specification_version: 4
|
|
96
|
+
summary: Beautiful D3.js charts for Rails with a Recharts-like DSL
|
|
97
|
+
test_files: []
|