mirror of
https://github.com/red-data-tools/YouPlot.git
synced 2025-05-06 07:10:10 +08:00
Add name to Params
This commit is contained in:
parent
1d1ae9e1b0
commit
e887dc3f5a
@ -71,6 +71,7 @@ module Uplot
|
|||||||
|
|
||||||
class Command
|
class Command
|
||||||
Params = Struct.new(
|
Params = Struct.new(
|
||||||
|
# Sort me!
|
||||||
:title,
|
:title,
|
||||||
:width,
|
:width,
|
||||||
:height,
|
:height,
|
||||||
@ -88,7 +89,8 @@ module Uplot
|
|||||||
:canvas,
|
:canvas,
|
||||||
:xlim,
|
:xlim,
|
||||||
:ylim,
|
:ylim,
|
||||||
:grid
|
:grid,
|
||||||
|
:name
|
||||||
) do
|
) do
|
||||||
def to_hc
|
def to_hc
|
||||||
to_h.compact
|
to_h.compact
|
||||||
|
Loading…
Reference in New Issue
Block a user