Skip to content
New issue

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

Feature/nice tooltips #155

Merged
merged 3 commits into from
May 26, 2017
Merged

Feature/nice tooltips #155

merged 3 commits into from
May 26, 2017

Conversation

micapam
Copy link
Contributor

@micapam micapam commented May 25, 2017

Use Nick's SVGs for the tooltips rather than text symbols. Result is better, I feel like the code could be DRY'd up but not quite sure how at this point...

n.b. I had to change from separate point/header/footer formats to the all-in-one formatter function because since I'd changed the X Axis categories there was bug in the header of the tooltip, and fixing it wasn't possible because headerFormat string only takes very basic substitutions and it is now (necessarily) a bit complex to pull out the name of the x-axis category.

@micapam micapam merged commit 208adff into master May 26, 2017
@micapam micapam deleted the feature/nice-tooltips branch May 26, 2017 03:27
},
xCategories: chartConfig.xAxis.categories,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reason why we can't access xAxis.categories from xAxis?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants