graphieros / vue-data-ui

A user-empowering data visualization Vue 3 components library for eloquent data storytelling
https://vue-data-ui.graphieros.com/
MIT License
267 stars 13 forks source link

VueUiXyConfig type has some properties with a wrong type #52

Closed RudysCalderinDTx closed 1 month ago

RudysCalderinDTx commented 1 month ago

When using typescript, the IDE shows an error if rgb, hex, or any other color representation is used as value for highlightArea -> caption -> color property in config object. In VueUiXyConfig's type declaration, a type number is use that color property. This type of error also can be seen in properties that has a boolean type but it should be number.

Screenshot 2024-08-21 150728 Screenshot 2024-08-21 150637

graphieros commented 1 month ago

Hi @RudysCalderinDTx :)

You can upgrade to v2.2.62

Cheers

RudysCalderinDTx commented 1 month ago

Thanks @graphieros

Great job on this library, by the way.