skczjun commented on issue #20811: URL: https://github.com/apache/echarts/issues/20811#issuecomment-2716076484
Normally, a radar chart includes specific indicators. However, in certain cases, some indicators may not be available and thus have null values. These should not be simply treated as 0 because doing so would make it impossible to distinguish between actual zero values and missing data, which could represent anomalies. Given this issue, a new component library has been adopted to display the radar chart in order to better handle such scenarios where indicators might be missing or unavailable. This approach ensures that missing data points are appropriately represented without conflating them with valid zero values, thereby providing clearer insights into the underlying data and making it easier to identify potential anomalies. By switching to a more capable component library, you can implement more sophisticated handling of missing data, improving the accuracy and interpretability of your radar charts. If there is a need to display null values as 0, this can be achieved by modifying the data source or by providing a toggle in the component to allow users to decide whether null values should be shown as 0. This approach avoids a one-size-fits-all solution that automatically treats all null values as 0, giving users the flexibility to handle missing data according to their specific needs. This method ensures that users can choose the most appropriate way to represent missing data, either displaying null values as 0 when it makes sense for their use case, or leaving them as null to clearly indicate the absence of data. By offering such an option, the component becomes more versatile and better suited to different data visualization requirements. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
