We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have an idea to create common tooltip settings interface.
Currently, tooltip settings is somehow declared as part of existing widgets: https://github.com/gravity-ui/chartkit/blob/main/src/plugins/highcharts/types/widget.ts#L52
This means, that we need to prepare these settings according to widget plugin we are using.
It would be better to use common interface, independent on type of widget or plugin we are going to use.
In the meantime we should limit number of places, where tooltip settings can be set.
Currently, we can set tooltip settings in each series and globally for widget for Highcharts: https://github.com/gravity-ui/chartkit/blob/main/src/plugins/highcharts/types/widget.ts#L52
Places where tooltip settings can be set must be same for each widget type and plugin.
The text was updated successfully, but these errors were encountered:
It should be possible to specify formatting settings such as:
numberFormat?: 'number' | 'percent'; postfix?: string; prefix?: string; precision?: number | 'auto'; showRankDelimiter?: boolean; unit?: 'auto' | 'k' | 'm' | 'b' | 't' | null;
Sorry, something went wrong.
@artemipanchuk @kuzmadom What do you think about using this interface?
No branches or pull requests
We have an idea to create common tooltip settings interface.
Currently, tooltip settings is somehow declared as part of existing widgets:
https://github.com/gravity-ui/chartkit/blob/main/src/plugins/highcharts/types/widget.ts#L52
This means, that we need to prepare these settings according to widget plugin we are using.
It would be better to use common interface, independent on type of widget or plugin we are going to use.
In the meantime we should limit number of places, where tooltip settings can be set.
Currently, we can set tooltip settings in each series and globally for widget for Highcharts:
https://github.com/gravity-ui/chartkit/blob/main/src/plugins/highcharts/types/widget.ts#L52
Places where tooltip settings can be set must be same for each widget type and plugin.
The text was updated successfully, but these errors were encountered: