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

data:87 Uncaught TypeError: chart.tooltipContent is not a function #83

Open
guganselvaraj opened this issue Jul 17, 2016 · 3 comments
Open

Comments

@guganselvaraj
Copy link

I'm a very beginner to django and stuck some where ! help me out !

The above issue is addressed here http://stackoverflow.com/questions/35125110/django-nvd3-chart-tooltipcontent-is-not-a-function, which i tried its perfectly fine on the local machine but when i deploy it on my production server the new installation of bower and its components happen where the new content.html and piechart.html has the same old chart.tooltipContent which should be replaced with the new one ! how would i do it on production deployment ???

FYI : My server is AWS : Elasticbeanstalk

How to perform the changes mentioned in this link : http://stackoverflow.com/questions/35125110/django-nvd3-chart-tooltipcontent-is-not-a-function in a production server ! please throw some light on it ! :D
Because on every deployment it needs to be fixed which is vague !

@zeroq
Copy link

zeroq commented Mar 22, 2017

Change chart.tooltipContent to chart.tooltip.contentGenerator in the following files:
1.) pythonx.x/site-packages/nvd3/templates/content.html at line '54' and '63'
2.) pythonx.x/site-packages/nvd3/templates/piechart.html at line '18'

@pedrofaria09
Copy link

@zeroq any other option rather than change the code in packages from python? Because if I commit my project to other env. that code is gone. Any other solution? I'm in a struggle to solve this problem.

@zeroq
Copy link

zeroq commented Apr 27, 2019

Pull request to original Project is still open since several years: areski/python-nvd3#137, that would be the best way to fix the problem.

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

No branches or pull requests

3 participants