If the chart lines change during a render, echarts merges the lines with the existing ones by default. This adds a prop that allows for the lines to be redrawn in the case that they have completely changed
Remove the isDarkMode prop from drawing marked lines. The marked lines infer their color from the base axis lineStyle, so removing this prop will save us a useEffect cycle
Proposal