()
| 271 | |
| 272 | //Lables, Title and Grid color |
| 273 | const changeLabelsAndGridColor = () => { |
| 274 | const ltgValue = inputElements.ltgInput.value; |
| 275 | valueToCopy.color = ltgValue; |
| 276 | |
| 277 | const allLables = document.querySelectorAll('.ct-label'); |
| 278 | const axisTitles = document.querySelectorAll('.ct-axis-title'); |
| 279 | const grids = document.querySelectorAll('.ct-grid'); |
| 280 | |
| 281 | allLables.forEach((el) => { |
| 282 | el.style.fill = ltgValue; |
| 283 | el.style.color = ltgValue; |
| 284 | }); |
| 285 | |
| 286 | axisTitles.forEach((el) => { |
| 287 | el.style.fill = ltgValue; |
| 288 | }); |
| 289 | grids.forEach((el) => { |
| 290 | el.style.stroke = ltgValue; |
| 291 | }); |
| 292 | |
| 293 | generateLink(); |
| 294 | }; |
| 295 | |
| 296 | // Point Color |
| 297 | const changePointColor = () => { |
no test coverage detected