Is it possible to get the correct picture when using html labels (graph.htmlLabels = true;)? When I try to export to png lables displayed as plain text.

asked 18 Jan, 21:18

Kravets%20Vladimir's gravatar image

Kravets Vlad...
215
accept rate: 0%

edited 03 Feb, 06:59


The client-side print function does support HTML labels, you could redirect that output to a PDF.

link

answered 18 Jan, 21:54

Gaudenz's gravatar image

Gaudenz ♦♦
7.4k15
accept rate: 31%

Unfortunately I can not find an example of client side pdf export in documentation. Could you say correct section?

(03 Feb, 06:47) Kravets Vlad...

Unfortunately, only plain text labels are supported for image export. This is due to a limitation of the backends which have very limited (or no) support for HTML rendering.

link

answered 18 Jan, 21:34

Gaudenz's gravatar image

Gaudenz ♦♦
7.4k15
accept rate: 31%

Mb there is some kind of client side export?

(18 Jan, 21:46) Kravets Vlad...

I mean print to PDF (on OS-level, via the browser's print function).

link

answered 03 Feb, 07:51

Gaudenz's gravatar image

Gaudenz ♦♦
7.4k15
accept rate: 31%

I thought that there is something like code.google.com/p/canvg inside mxGraph for client image export.

(07 Feb, 03:16) Kravets Vlad...
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×313
×16
×2

Asked: 18 Jan, 21:18

Seen: 255 times

Last updated: 07 Feb, 03:16

powered by BitNami OSQA