12.07.2015 Views

Using Zen Components - InterSystems Documentation

Using Zen Components - InterSystems Documentation

Using Zen Components - InterSystems Documentation

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Zen</strong> ChartsAttributeChart attributeschartPivotchartStackedDescription has the same general-purpose attributes as any chart. For descriptions,see the sections “Providing Data for <strong>Zen</strong> Page Charts” and “Chart Layout, Style,and Behavior.” The plotToEdge attribute is always false for .The baseValue attribute is used to plot the bottom of the bars. For details,see the section “Chart Axes.”If true, pivot the chart (display categories vertically and values horizontally). If false,display the chart in typical fashion (categories on the horizontal axis and values onthe vertical axis).This attribute has the underlying data type %ZEN.Datatype.boolean. It has the value"true" or "false" in XData Contents, 1 or 0 in server-side code, true or false in clientsidecode.chartStacked comes into play if there are multiple data series. If true, the bars ateach position along the category axis are stacked atop one another (values areadditive). If "false" the bars appear side by side (the values are independent). WhenchartStacked is true, negative values are ignored.This attribute has the underlying data type %ZEN.Datatype.boolean. It has the value"true" or "false" in XData Contents, 1 or 0 in server-side code, true or false in clientsidecode.3.1.2 Bubble ChartsA displays data as circles or “bubbles” positioned at x and y coordinates. It requires a minimum of twodata series. The first series supplies x values and the second supplies y values. When used to chart only two data series, is effectively an . does not support chartPivotIf you supply a third series, the chart uses that data to draw the radius of each bubble. Values in the radius series are scaledand multiplied by the value of the radius property. Note that, as with pie charts, if the width and height of the chart are notthe same, the bubbles are not rendered as circles.The following figure shows a chart with x, y and radius data series. Note how the default partial transparency of the bubbleslets you see the shapes even when they overlap. The property opacity controls this characteristic. Note also that in thisexample, the value of showQuadrant is true, so the chart area is divided into quadrants.Figure 3–4: Radius Data Series56 <strong>Using</strong> <strong>Zen</strong> <strong>Components</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!