support dash line for line chart
This commit is contained in:
parent
e09ab2c3c7
commit
310800a5f0
1 changed files with 3 additions and 0 deletions
|
|
@ -115,6 +115,9 @@ func (l *lineChart) render(result *defaultRenderResult, seriesList SeriesList) (
|
||||||
StrokeColor: seriesColor,
|
StrokeColor: seriesColor,
|
||||||
StrokeWidth: strokeWidth,
|
StrokeWidth: strokeWidth,
|
||||||
}
|
}
|
||||||
|
if len(series.Style.StrokeDashArray) > 0 {
|
||||||
|
drawingStyle.StrokeDashArray = series.Style.StrokeDashArray
|
||||||
|
}
|
||||||
|
|
||||||
yRange := result.axisRanges[series.AxisIndex]
|
yRange := result.axisRanges[series.AxisIndex]
|
||||||
points := make([]Point, 0)
|
points := make([]Point, 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue