fix box options not working
This commit is contained in:
@ -64,6 +64,7 @@ class TwoPointDrawing(Drawing):
|
|||||||
{{
|
{{
|
||||||
lineColor: '{color}',
|
lineColor: '{color}',
|
||||||
lineStyle: {as_enum(style, LINE_STYLE)},
|
lineStyle: {as_enum(style, LINE_STYLE)},
|
||||||
|
width: {width},
|
||||||
}}
|
}}
|
||||||
)
|
)
|
||||||
{chart.id}.series.attachPrimitive({self.id})
|
{chart.id}.series.attachPrimitive({self.id})
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -32,7 +32,7 @@ export class Box extends TwoPointDrawing {
|
|||||||
super(p1, p2, options);
|
super(p1, p2, options);
|
||||||
this._options = {
|
this._options = {
|
||||||
...defaultBoxOptions,
|
...defaultBoxOptions,
|
||||||
...this._options,
|
...options,
|
||||||
}
|
}
|
||||||
this._paneViews = [new BoxPaneView(this)];
|
this._paneViews = [new BoxPaneView(this)];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user