-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
78 changed files
with
1,286 additions
and
436 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# frozen_string_literal: true | ||
|
||
module ApexCharts | ||
module Config | ||
module Schema | ||
def schema | ||
@schema ||= 'Default' | ||
end | ||
|
||
def schema=(name) | ||
@schema = case name | ||
when :dry_schema, 'dry_schema', 'dry-schema' | ||
'DrySchema' | ||
else | ||
'Default' | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module ApexCharts::Options | ||
module Default | ||
class AnnotationsOptions < ::SmartKv | ||
optional *%i[ | ||
images | ||
points | ||
position | ||
texts | ||
xaxis | ||
yaxis | ||
] | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
module ApexCharts::Options | ||
module Default | ||
class ChartOptions < ::SmartKv | ||
optional *%i[ | ||
animations | ||
background | ||
brush | ||
defaultLocale | ||
dropShadow | ||
events | ||
fontFamily | ||
foreColor | ||
group | ||
height | ||
id | ||
locales | ||
offsetX | ||
offsetY | ||
parentHeightOffset | ||
redrawOnParentResize | ||
selection | ||
sparkline | ||
stackType | ||
stacked | ||
toolbar | ||
type | ||
width | ||
zoom | ||
] | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module ApexCharts::Options | ||
module Default | ||
class DataLabelsOptions < ::SmartKv | ||
optional *%i[ | ||
background | ||
distributed | ||
dropShadow | ||
enabled | ||
enabledOnSeries | ||
formatter | ||
offsetX | ||
offsetY | ||
style | ||
textAnchor | ||
] | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module ApexCharts::Options | ||
module Default | ||
class FillOptions < ::SmartKv | ||
optional *%i[ | ||
colors | ||
gradient | ||
image | ||
opacity | ||
pattern | ||
type | ||
] | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module ApexCharts::Options | ||
module Default | ||
class GridOptions < ::SmartKv | ||
optional *%i[ | ||
borderColor | ||
column | ||
padding | ||
position | ||
row | ||
show | ||
strokeDashArray | ||
xaxis | ||
yaxis | ||
] | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
require 'smart_kv' | ||
|
||
module ApexCharts::Options | ||
module Default | ||
class HelperOptions < ::SmartKv | ||
optional *%i[ | ||
brushTarget | ||
class | ||
chartId | ||
defer | ||
group | ||
id | ||
style | ||
var | ||
xtitle | ||
xtype | ||
ytitle | ||
ytype | ||
] | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
module ApexCharts::Options | ||
module Default | ||
class LegendOptions < ::SmartKv | ||
optional *%i[ | ||
containerMargin | ||
floating | ||
fontFamily | ||
fontSize | ||
fontWeight | ||
formatter | ||
height | ||
horizontalAlign | ||
inverseOrder | ||
itemMargin | ||
labels | ||
markers | ||
offsetX | ||
offsetY | ||
onItemClick | ||
onItemHover | ||
position | ||
show | ||
showForNullSeries | ||
showForSingleSeries | ||
showForZeroSeries | ||
textAnchor | ||
tooltipHoverFormatter | ||
width | ||
] | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
module ApexCharts::Options | ||
module Default | ||
class MarkersOptions < ::SmartKv | ||
optional *%i[ | ||
colors | ||
discrete | ||
fillOpacity | ||
hover | ||
offsetX | ||
offsetY | ||
radius | ||
shape | ||
size | ||
strokeColors | ||
strokeOpacity | ||
strokeWidth | ||
strokeDashArray | ||
showNullDataPoints | ||
onClick | ||
onDblClick | ||
] | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
module ApexCharts::Options | ||
module Default | ||
class NoDataOptions < ::SmartKv | ||
optional *%i[ | ||
align | ||
offsetX | ||
offsetY | ||
style | ||
text | ||
verticalAlign | ||
] | ||
end | ||
end | ||
end |
Oops, something went wrong.