Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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

Background

The background color for the main area of the chart. Can be either a simple HTML color string, for example: 'red' or '#00cc00'

Chart.setBackground(Background.Color("red"));
/*
 * Params = Bordercolor, Borderwidth, Backgroundcolor
 */
Chart.setBackground(Background.StrokeFill("black", 5, "white"));

ChartWidth

Width of the chart, in pixels.

pieChart.setWidth("1000");

ChartHeight

Height of the chart, in pixels.

pieChart.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.

pieChart.setEnableInteractivity(true);

FontName

The default font face for all text in the chart. You can override this using properties for specific chart elements.

pieChart.setFontName("TimesNeewRoman");

FontSize

The default font size, in pixels, of all text in the chart. You can override this using properties for specific chart elements.

pieChart.setFontSize(12);

ForcelFrame

Draws the chart inside an inline frame. (Note that on IE8, this option is ignored; all IE8 charts are drawn in i-frames.)

pieChart.setForceIFrame(false);

ReverseCategories

If true, draws slices counterclockwise. The default is to draw clockwise.

pieChart.setReverseCategories(false);

Title

Text to display above the chart.

pieChart.setTitle("Chart");

  • No labels