Repository navigation
@openpresentation/opf-render 0.22.2
·
17 commits
to main
since this release
- RR-89 (output-changing for every chart without highlight): chart series are drawn in core's
chartSeriesPaletteof the deck's resolved colour scheme (accent1toaccent6, then the same six accents tinted 40% toward white), sodesign.colorSchemerecolours the series instead of every deck drawing the cool-horizon blues; a deck without a colour scheme of its own keeps the engine default's accents. The palette still goes through core'schartPaletteForFill(contrast against the chart panel), andchart.highlightcolours are unchanged.chart.colorsentries (hex, scheme slot, role orvar:reference) replace the palette colour at their position, before the same adjustment;chart.highlightstill wins. The renderer's ownCHART_SERIES_COLORScopy is deleted. Needs@openpresentation/opf0.22.0. - RR-90 (output-changing for every chart): chart axis, legend, category and data-label text is core's
chartTextSizeinstead of 14 px floored to the 16 px (12 pt) minimum: 20 px (15 pt) in a roomy chart box, shrunk (at most a 1/18 of the box height and 1/30 of its width, whole pixels) only when the box is small, and never belowcomposition.minFontSize. A chart no longer renders at 12 pt beside 24 pt bullets. Needs@openpresentation/opf0.22.0. - RR-92 (no pixel change for the usual chart): a column, bar, line or area chart draws the value axis core composes for its box (
item.chart.valueAxis:min,max,majorUnit), the same axis the PPTX export writes, so the preview and PowerPoint or Keynote show the same gridlines. In a short box core estimates the plot from the box rather than from the laid-out plot, so the major unit can differ by one 1/2/5 step from before; every other chart type keeps its renderer-side scale. The renderer's localniceScale,maxIntervalsForandstackCategoryValuesare replaced by core's. Needs@openpresentation/opf0.22.0.