Releases: gitbrent/PptxGenJS
Releases · gitbrent/PptxGenJS
Version 3.12.0
Added
- Added selecting round or square line cap on line charts #1126 (mathbruyen)
- Added
newAutoPagedSlides
method toslide
(resolves issue #625) #1133 (mikemeerschaert) - Added optional image shadow props #1147 (seekuehe)
- Added ability to set default fontFace #1158 (matt88120)
Fixed
- Fixed
autoPage
duplicates text when text array is used #1139 (mikemeerschaert) - PowerPoint shows the "repair" dialog when adding an SVG image to a slide master #1150 (BenHall-1)
- Fixed gh-pages text api docs: transparency + wrap #1153 (tjinauyeung)
- Fixed YouTube videos not working #1156 (gitbrent)
- Fixed handle
holeSize=0
for doughnut chart #1180 (mathbruyen) - Fixed 3D chart options not working correctly (and updated demo) (gitbrent)
Changed
Version 3.11.0
Added
- Added category crosses at property (
catAxisCrossesAt
) #966 (parvezapathan) - Added support for multi-level category axes #1012 (MariusOpeepl)
- Added 2 new Chart props:
plotArea
andchartArea
allowing fill and border for each (plotArea
deprecatesfill
andborder
) #1015 (hvstaden) - Added serie name on bubble chart, category axis position, leader lines on bubble chart #1100 (mathbruyen)
- Added
bubble3D
chart type #1108 (mathbruyen) - Added new tool under demos:
data_convert
which turns Excel (tab-delim) data to chart data type easily (gitbrent)
Fixed
- Using
addImage()
with uppercase path prop causes "needs to repair presentation" #860 (mamodo123) - Chart with lines and bars produces repair file dialog in Powerpoint #1013 (kornarakis)
- Bubble Charts limited to 26 columns #1076 (benjaminpavone)
- Using
addImage
withtableToSlides()
does not work #1103 (Strawberry0215) - escape object name in chart xml #1122 (mathbruyen)
- Several issues with charts embedded Excel sheets that prevented "Edit Data in Excel" from working (gitbrent)
- Issue with combo charts secondary axis on wrong side (gitbrent)
- Issue with chart prop
titlePos
not working (gitbrent)
Changed
- react-demo: updated
react-scripts
to v5.0.0 from v4 (gitbrent)
Version 3.10.0
Added
- Add name (
objectName
) to all core objects #1019 (mvecsernyes) - Add image transparency #1053 (mmarkelov)
- Add text transparency #1054 (ibrahimovfuad)
Fixed
- Radar chart line colors #539 (pablodicosta)
- Placeholder definitions missing props #987 (bigbug)
- Charts and media together is causing pptx needs repair error #1020 (mvecsernyes)
- Adding hyperlink to table cell doesn't work #1049 (tbowmo)
- Underline doesn't work in table after update to v3.9.0 #1052 (hhq365)
ImageProps.sizing
propsw
,h
,x
,y
s/b typedCoord
#1065 (Naveencheekoti17)ImageProps.sizing
are type Coord #1066 (BistroStu)transparency
doesn't work in table cell #1095 (pipipi-pikachu)
Version 3.9.0
Added
- Added overlap parameter to bar charts #1010 (Norfaer)
- Slide number can now be set as bold #1016 (mathbruyen)
- Added media cover images & file extensions; media is reused now (same file only loaded/written once) #1024 (canwdev)
Fixed
- Use
encodeXmlEntities()
for formatCode attributes #955 (dimfeld) - SlideNumber vertical alignment (
valign
) not working #1000 (kramsram) - Fix for InvertedColors (Issue #970) #1004 (leonyah)
- PPT repair issue for long text #1008 (Naveencheekoti17), fixed via #1028 (gitbrent)
- Doughnut chart: each data marker as a different color #1017 (mathbruyen)
Changed
- React Demo: updated to latest create-react-app (gitbrent)
Version 3.8.0
Version 3.7.1
Version 3.7.0
Added
- Alt Text to images #848 (yorch)
- Custom geometry support (freeform) #872 (apresmoi)
- Resolves:
- Custom polygon generation #597 (hirenj)
- Is there any way to draw a bell curve shape? #946 (gurdeep-sourcefuse)
- Resolves:
Fixed
- Background in master template broken (support multiple
background
props) #968 (viral-sh) - Arguments for radius not allowed in TypeScript for rectangles #969 (ln56b)
- Documentation:
catAxisLine*
andvalAxisLine*
props missing #980 (ln56b)
Chart Updates
Comprehensive Pull
- Multiple Chart Enhancements and Bugfixes #938 (ReimaFrgos)
- Resolves:
- Using scheme colors and fonts in chart axis labels, axis lines and series labels #858 [robertedjones]
- dataLabelPosition option for Pie charts #837 [kornarakis]
- Bubble chart catAxisMajorUnit not working #747 [dscdngnw]
- dataLabelFontBold option not working as expected. #662 [belall-shaikh]
- dataLabelPosition is not working in Multi Type Charts #815 [Adt-SakshamSethi]
- dataLabelPosition "t" in Bar chart is crashing ppt in latest MS office Power Point #788 [jsvishal]
- Setting dataLabelPosition to a line chart causes latest office application to ask for repair #768 [artdomg]
- Resolves:
Version 3.6.0
Release Summary
- Major Update: demo code (they're all .mjs modules now!); dropped support for IE11 (RIP!) in demo app.
- IE11 Note: Dropped support for IE11 (use v3.5.0 or below) (library still works with IE11 using polyfill)
Added
- Alt Text to charts #848 (yorch)
- Tab Stops to Text objects #853 (wangfengming)
- Text Highlight to Text objects #857 (wangfengming)
- Transparency to line #889 (mmarkelov)
- Transparency to slide #891 (mmarkelov)
Changed
Deprecated
- Slide.fill (
BackgroundProps
) - useShapeFillProps
instead
Removed
- Browser Demo: Dropped support for IE11 (use v3.5.0 or below) (library still works with IE11 using polyfill)
Fixed
- Margin not working with placeholder text #640 (bestis)
- Cant create a list of bulleted links in a table cell #763 (avillamaina)
- Small API documentation glitch #895 (Slidemagic)
- pptx.stream() WriteBaseProps should be optional #932 (arbourd)
- Running StdTests generate a corrupt PPT #937 (michaeltford)
- addNotes function adding notes as an array of objects, parsed as [object Object] in notes field #941 (karlolsonuc)
Version 3.5.0
Release Summary
- write()/writeFile() method string arguments are deprecated - props object in now the sole arg (
WriteProps
/WriteFileProps
)
Added
- Enabled JSZip compression #713 (pimlottc-gov)
- Soft line break property:
softBreakBefore
#806 (memorsolutions) - More text styles: underline/strike/baseline #854 (wangfengming)
- Support line spacing by multiple:
lineSpacingMultiple
#855 (wangfengming) - Chart val axis option: logarithmic scale base:
valAxisLogScaleBase
#878 (rkspx)
Changed
- Fixed: Setting the "Wrap text in shape" option #771 (CroniD)
- Fixed:
dataLabelFormatCode
option creates corrupted file if the value includes quotes #834 (kornarakis) #884 (gazlo) - Fixed: Improve typescipt defs: fix dupes, etc #886 (mmarkelov)
- Fixed: Wrong type definition for placeholder type property #921 (lukevella)
Internal Updates
Version 3.4.0
Added
- Added:
firstSliceAngle
(Pie, Doughnut charts) #666 (ghost) #809 (cronin4392) - Added: Ability to change hyperlink
color
#389 (szilagyikinga) #793 (ReimaFrgos) - Added: Horizontal/Vertical flip capability to images #824 (luism-s)
- Added: New
titleBold
option on chart settings #830 (twatson83) - Added: New cat/val-AxisLineColor/AxisLineSize/AxisLineStyle chart options #831 (twatson83)
- Added: New shape options:
angleRange
andarcThicknessRatio
#547 (paolochiodi) #861 (apresmoi)
Changed
- Fixed: catAxisLabelPos and valAxisLabelPos options are not working #709 (cpf121)
- Fixed: logic for dataLabelFormat code in Pie and Donut charts #802 (cronin4392)
- Fixed: data label position for Pie chart #808 (cronin4392)
- Fixed: Single data set with a custom color should not create legends for each category #821 (tvt)
- Fixed: bug when evaluating
catAxisLabelPos
,valAxisLabelPos
props #829 (twatson83) - Fixed: secondary axis param (
secondaryValAxis
) check #832 (twatson83) - Fixed:
addSection
method missing return type inindex.d.ts
#833 (dylang) - Fixed: Align property doesn't work in slide number object #835 (ax2mx)
- Fixed: Margin doesn't work in slide number object #836 (ax2mx)
- Fixed: several rounding mistakes for precision, accuracy, and usability #840 (michaelcbrook)
- Fixed: catAxisMinorTickMark #841 (twatson83)
- Fixed: colspan/rowspan #852 (wangfengming)
- Fixed: typo in ts doc #873 (jencii)
- Fixed: TypeError: Cannot set property 'lIns' of undefined #879 (CroniD)