(textData, color)
| 10076 | }); |
| 10077 | } |
| 10078 | function cloneTextData(textData, color) { |
| 10079 | return textData.map((t)=>{ |
| 10080 | return Object.assign(Object.assign({}, t), { |
| 10081 | color |
| 10082 | }); |
| 10083 | }); |
| 10084 | } |
| 10085 | function recolorAxes(stage, oldColors, newColors) { |
| 10086 | const hasNewLineColor = newColors.axisLine && newColors.axisLine !== oldColors.axisLine; |
| 10087 | const hasNewTextColor = newColors.axisText && newColors.axisText !== oldColors.axisText; |