Company
Date Published
Author
Nathan Smyth
Word count
584
Language
English
Hacker News points
None

Summary

With the latest release of the MongoDB Charts SDK, users can now apply highlights to their charts using the new highlight capability. This allows for emphasizing and deemphasizing data points with query operators, enabling a richer interactive experience for customers. Highlights can be used to show user interactions or attract attention to specific parts of the chart, such as profit or unfilled orders. The `setHighlight` method is now available in the chart object, which uses MQL queries to decide what gets highlighted. This feature supports most chart types and will continue to expand. Developers can use the highlighting sandbox and examples to get started with applying highlights to their charts.