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

Add 3D bar chart implementation and slide example #384

Merged
merged 3 commits into from
Jan 18, 2019

Conversation

loictro
Copy link
Contributor

@loictro loictro commented Aug 8, 2018

It adds the 3D bar chart feature.
Most of the existing chart options should be well rendered.

  • The following options are specific:
Name Description
bar3DShape box (default), cylinder, coneToMax, pyramid, pyramidToMax
barGapDepthPct Bar gap depth (default 150)
serAxis* All Category axis parameters but for Series axis
serGridLine Series grid line style (same as catGridLine and valGridLine)
v3DRotX [-90, 90] X rotation (default: 30)
v3DRotY [0, 360] Y rotation (default: 30)
v3DRAngAx true (default) or false Right angle axes
v3DPerspective [0, 240] Perspective (default: 30)
dataLabelBkgrdColors true or false (default) If true the data label background color is set to the series color

An example of 3D bar charts with some of the specific options is added in the HTML demo file. (Slide 6 of charts).
The generated file is OOXML valid and seems to open well with Microsoft Powerpoint 2010!

@gitbrent gitbrent self-assigned this Jan 11, 2019
@gitbrent gitbrent merged commit b4d3d08 into gitbrent:master Jan 18, 2019
@gitbrent gitbrent added this to the 2.5.0 milestone Jan 18, 2019
@gitbrent
Copy link
Owner

Thanks very much for the new charts @loictro !

gitbrent added a commit that referenced this pull request Jan 18, 2019
ericrockey pushed a commit to WeTransfer/PptxGenJS that referenced this pull request Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants