[GitHub] [echarts] htr3n edited a comment on issue #16127: ECharts server-side rendering SVG contains invalid font property

2021-12-16 Thread GitBox
htr3n edited a comment on issue #16127: URL: https://github.com/apache/echarts/issues/16127#issuecomment-996208047 Perhaps I can provide more details into the error after catching it ``` Failed to render graph due to ReferenceError: HTMLImageElement is not defined at brushSV

[GitHub] [echarts] htr3n edited a comment on issue #16127: ECharts server-side rendering SVG contains invalid font property

2021-12-16 Thread GitBox
htr3n edited a comment on issue #16127: URL: https://github.com/apache/echarts/issues/16127#issuecomment-995304513 @pissang @plainheart Regarding the nightly build that you recommended, I've noticed a strange issue. I tried to load the legend icons as dataURI per documentation here: https:

[GitHub] [echarts] htr3n edited a comment on issue #16127: ECharts server-side rendering SVG contains invalid font property

2021-12-16 Thread GitBox
htr3n edited a comment on issue #16127: URL: https://github.com/apache/echarts/issues/16127#issuecomment-995304513 @pissang @plainheart Regarding the nightly build that you recommended, I've noticed a strange issue. I tried to load the legend icons as dataURI per documentation here: https:

[GitHub] [echarts] htr3n edited a comment on issue #16127: ECharts server-side rendering SVG contains invalid font property

2021-12-15 Thread GitBox
htr3n edited a comment on issue #16127: URL: https://github.com/apache/echarts/issues/16127#issuecomment-995304513 @pissang @plainheart Regarding the nightly build that you recommended, I've noticed a strange issue. I tried to load the legend icons as dataURI per documentation here: https:

[GitHub] [echarts] htr3n edited a comment on issue #16127: ECharts server-side rendering SVG contains invalid font property

2021-12-15 Thread GitBox
htr3n edited a comment on issue #16127: URL: https://github.com/apache/echarts/issues/16127#issuecomment-995304513 @pissang @plainheart Regarding the nightly build that you recommended, I've noticed a strange issue. I tried to load the legend icons as dataURI per documentation here: https:

[GitHub] [echarts] htr3n edited a comment on issue #16127: ECharts server-side rendering SVG contains invalid font property

2021-12-15 Thread GitBox
htr3n edited a comment on issue #16127: URL: https://github.com/apache/echarts/issues/16127#issuecomment-995304513 @pissang @plainheart Regarding the nightly build that you recommended, I've noticed a strange issue. I tried to load the legend icons as dataURI per documentation here: https:

[GitHub] [echarts] htr3n edited a comment on issue #16127: ECharts server-side rendering SVG contains invalid font property

2021-12-15 Thread GitBox
htr3n edited a comment on issue #16127: URL: https://github.com/apache/echarts/issues/16127#issuecomment-995304513 @pissang @plainheart Regarding the nightly build that you recommended, I've noticed a strange issue. I tried to load the legend icons as dataURI per documentation here: https:

[GitHub] [echarts] htr3n edited a comment on issue #16127: ECharts server-side rendering SVG contains invalid font property

2021-12-01 Thread GitBox
htr3n edited a comment on issue #16127: URL: https://github.com/apache/echarts/issues/16127#issuecomment-983504876 @plainheart a bit off topic but the new SSR function with `renderToSVGString()` requires that `echarts.init()` must have `width` and `height` (maybe the same when using canvas

[GitHub] [echarts] htr3n edited a comment on issue #16127: ECharts server-side rendering SVG contains invalid font property

2021-11-28 Thread GitBox
htr3n edited a comment on issue #16127: URL: https://github.com/apache/echarts/issues/16127#issuecomment-981213640 Just to confirm the bug regarding a font family with spaces. When I set `fontFamily` to `FreeSans`, it's correctly rendered to ` style="font: FreeSans 9px normal normal normal