Log In    |    Knowledge Base    |    4D Home
Tech Note: SVG Charts in 4D v11 SQL
PRODUCT: 4D Developer | VERSION: 11 | PLATFORM: Mac & Win
Published On: October 12, 2007

Scalable Vector Graphics (SVG) is an XML-based language used to create rich, two-dimensional graphics. This file format has a few characteristics that allow for some advantages over more popular image types such as JPEG or GIF. For example, it is (as its name implies) scalable; SVG images are not pixel-based, they are vector-based images. They are built from geometric shapes, such as lines, which means they do not need to store information for each pixel.

4D v11 SQL features native support for SVG.

SVG is typically used to draw statistical data and, although the language is contained within an XML tree, 4D developers can modify SVG attributes directly within the 4D method editor. This document includes an example database to generate and modify statistical SVG graphs, output results in a form, and export the image as an SVG image to the disk.

Download Complete Tech Note and Example: Windows | Mac