Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixed Error thrown while rendering Area Chart #342

Closed
wants to merge 1 commit into from

Conversation

KrishnaTejaReddyV
Copy link
Contributor

The edited line in makeChartType() function initially compared opts.type to a string while it is an object containing a property name. Hence it must be changed to :

opts.type.name != 'area'

The code compares opts.type to a string while it is an object containing a property name. Hence it must be changed to :

opts.type.name != 'area'
@gitbrent gitbrent self-assigned this Jun 6, 2018
@gitbrent gitbrent added this to the 2.2.0 milestone Jun 6, 2018
gitbrent pushed a commit that referenced this pull request Jun 6, 2018
gitbrent pushed a commit that referenced this pull request Jun 6, 2018
@gitbrent
Copy link
Owner

gitbrent commented Jun 6, 2018

Thanks @KrishnaTejaReddyV !

@gitbrent gitbrent closed this Jun 6, 2018
ericrockey pushed a commit to WeTransfer/PptxGenJS that referenced this pull request Mar 24, 2020
ericrockey pushed a commit to WeTransfer/PptxGenJS that referenced this pull request Mar 24, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants