diff --git a/chart.go b/chart.go index c3aeeb9..1b2bd7f 100644 --- a/chart.go +++ b/chart.go @@ -479,7 +479,7 @@ func (c Chart) styleDefaultsSeries(seriesIndex int) Style { strokeColor := GetDefaultColor(seriesIndex) return Style{ StrokeColor: strokeColor, - StrokeWidth: DefaultStrokeWidth, + StrokeWidth: DefaultSeriesLineWidth, Font: c.GetFont(), FontSize: DefaultFontSize, } diff --git a/defaults.go b/defaults.go index 6255d54..17e48cb 100644 --- a/defaults.go +++ b/defaults.go @@ -12,8 +12,10 @@ const ( DefaultChartHeight = 400 // DefaultChartWidth is the default chart width. DefaultChartWidth = 1024 - // DefaultStrokeWidth is the default chart line/stroke width. - DefaultStrokeWidth = 1.0 + // DefaultStrokeWidth is the default chart stroke width. + DefaultStrokeWidth = 0.0 + // DefaultSeriesLineWidth is the default line width. + DefaultSeriesLineWidth = 1.0 // DefaultAxisLineWidth is the line width of the axis lines. DefaultAxisLineWidth = 1.0 //DefaultDPI is the default dots per inch for the chart.