Properties allgemein
Inhalt:
Properties
Farben
Alle unten aufgeführten Properties sind im GUI-Builder bei Properties verfügbar. Zusätzlich können diese grundsätzlich auch direkt per Code gesetzt werden. Für manche ist dies aufgrund ihrer Komplexität empfehlenswert.
Property |
|
---|---|
ChartWidth | Width of the chart, in pixels. chart.setWidth("1000"); |
ChartHeight | Height of the chart, in pixels. chart.setHeight("800"); |
EnableInteractivity | Whether the chart throws user-based events or reacts to user interaction. If false, the chart will not throw 'select' or other interaction-based events (but will throw ready or error events), and will not display hovertext or otherwise change depending on user input. chart.setEnableInteractivity(true); |
FontName | The default font face for all text in the chart. You can override this using properties for specific chart elements. |
FontSize | The default font size, in pixels, of all text in the chart. You can override this using properties for specific chart elements. |
ForcelFrame | Draws the chart inside an inline frame. (Note that on IE8, this option is ignored; all IE8 charts are drawn in i-frames.) |
ReverseCategories | If true, draws slices counterclockwise. The default is to draw clockwise. |
Title | Text to display above the chart. |
TitlePosition | Where to place the chart title, compared to the chart area. Supported values:
|
Konfiguration Farben
Properties | |
---|---|
Colors | The colors to use for the chart elements. An array of strings, where each element is an HTML color string, for example: |
Background | The background color for the main area of the chart. Can be either a simple HTML color string, for example: |
XDEV Software Corp. - One Embarcadero Center, San Francisco, CA 94111, US
Copyright © 2015. XDEV Software Corp. All rights reserved.