Hi,
When generating a PDF reports from Canvas, I came across two unpleasant render errors:
- It appears that font choices are not being considered, which in the following case renders a customised chart unreadable. (Tried Open Sans and Helvetica Neue but the renderer insists on Lucida Grande...)
Canvas editor:
Generated PDF:
Here the expression, in case it provides clues:
filters
| essql
query="..."
| pointseries x="count" y="message"
| plot defaultStyle={seriesStyle bars="0.8" horizontalBars=true color="#d28f79"} legend=false xaxis=true yaxis={axisConfig position="right"}
font={font family="'Open Sans', Helvetica, Arial, sans-serif" size=12 align="left" color="#000000" weight="bold" underline=false italic=false}
| render
css="
.flot-x-axis {
z-index: 1;
}
.flot-y-axis {
transform: translate(-800px,0px);
max-width: fit-content;
white-space: nowrap;
}" containerStyle={containerStyle opacity="1" padding="20px"}
- The first element on every page of a rendered PDF seems to be selected (when being rendered in Chromium?), which is visible in the following screenshots by the fine turquoise line/frame.
Shape element:
Image element (from SVG):
In case there are any settings I could try to avoid these issues I'd be happy to hear about them (this Kibana instance is running on Elastic Cloud)!
Thanks, Christian