G.hlink

Read(4073) Label: hyperlink string,

Description:

Get the hyperlink string from a chart.

Syntax:

G.hlink()

Note:

The function gets a hyperlink string corresponding to a non-SVG image. After hyperlink is set for a finished chart, click the chart displayed on the WEB side and make the jump. Detailed uses can be found in Web Integration and Hyperlink.

Parameter:

G

The canvas object.

Return value:

Hyperlink string

Example:

 

A

 

1

=canvas()

Define a canvas object.

2

=A1.plot("Text",

  "text":"hello word!",  "htmlLink":"https://www.raqsoft.com/",

  "width":200,

  "height":200,

  "barType":256,

  "data1":250,

  "data2":250)

Use Text element to draw a 2D barcode.

"htmlLink":https://www.raqsoft.com/ means setting the hyperlink string in a chart element.

3

return A1.draw@p(400,400),A1.hlink()

Return the image byte and image hyerlink.

Related function:

  canvas()

  G.plot()

  G.draw()