fix(dashboard): better dashed line for charts
This commit is contained in:
@@ -217,6 +217,7 @@ export function Chart({ data }: Props) {
|
|||||||
fill={`url(#color${color})`}
|
fill={`url(#color${color})`}
|
||||||
type={lineType}
|
type={lineType}
|
||||||
isAnimationActive={false}
|
isAnimationActive={false}
|
||||||
|
strokeWidth={0}
|
||||||
fillOpacity={0.1}
|
fillOpacity={0.1}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
@@ -230,7 +231,8 @@ export function Chart({ data }: Props) {
|
|||||||
strokeWidth={2}
|
strokeWidth={2}
|
||||||
dataKey={`${serie.id}:count`}
|
dataKey={`${serie.id}:count`}
|
||||||
stroke={`url('#hideAllButLastInterval_${serie.id}')`}
|
stroke={`url('#hideAllButLastInterval_${serie.id}')`}
|
||||||
strokeDasharray="4 2"
|
strokeDasharray="2 4"
|
||||||
|
strokeLinecap="round"
|
||||||
strokeOpacity={0.7}
|
strokeOpacity={0.7}
|
||||||
/>
|
/>
|
||||||
<Line
|
<Line
|
||||||
|
|||||||
Reference in New Issue
Block a user