Davisor Chart has got a wealthy set of different paints to be used with every item rendered in the chart. These paints include:
Also paints can be equipped with annotation information.
Paints can be given for almost all color and all paint attributes.
Colors can be defined using the color name, like "red" (see the colors reference for all available colors), or by RGB values, like "#FF0000".
Davisor Chart supports linear gradient paints that fade from one color towards another. They are defined by giving one or two colors, alignment of the first color, and orientation. If only one color is given, then the other color is a darker version of that color. For example a paint="red-yellow-diagonal-descending" defines a gradient paint where color fades between red and yellow so that there is a red line from upper left corner to lower right corner, and yellows are on the other corners.
All solid and gradient colors can be made partially transparent by giving the opaqueness as percentage (0-100). Zero means full transparency, 100 means fully opaque. For example "red-yellow-50%" is a 50% transparent gradient paint.
Pattern and texture paints are given as "pattern-pattern_name" (see the list of available patterns and textures).
Areas can be filled also with images. The image can be in a local file or behind a URL. The typical usage is to show the image as is, like "image-myimg.png". To stretch/shrink the image to fit the rendered area, make it asyclic as "image-myimg.png-acyclic".
Palettes are lists of paints and they are meaningful only for data point coloring. A palette can be given as a comma separated list of paint definitions. The paints in a palette can contain gradient paints, transparent colors, textures, and images, but no annotations. An example palette is "red-vertical?href=foo,pattern-gray,orange-20%,image-logo.gif-acyclic". There is also a wide variety of ready made palettes (see the list of available paint palettes).
Typically palette paints are rotated from series to series. If there is only one data series available, or multiSeriesMode is set to false, then palette colors are rotated between data points. Please note that the palette must be "shared" between the elements. I.e. if you want the paints to cycle between series you must give the palette paint in <plot> tag.
|
| Transparency and acyclic images. |
|
| Cyclic and cropped image paint. |
|
| Two-color gradient paints. |
|
| One-color gradient paints. |
|
| Cyclic texture images. |
|
| Cyclic pattern shapes. |