28.01.2013 Views

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SAP HANA Developer Guide - Get a Free Blog

SHOW MORE
SHOW LESS

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

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

switchbox<br />

Parameter Name Default Value Description<br />

data-activeindex 0 Defines which chart contained in the switchbox is displayed on page<br />

load. 0 means the first one, 1 the second, and so on.<br />

chart<br />

Parameter Name Default Value Description<br />

data-toplarge none Defines how many bars or pie segments are displayed when the<br />

chart is enlarged.<br />

data-dimension none Attribute whose distinct value count is to be displayed in a<br />

simple bar or pie chart.<br />

data-charttype none Type of the chart (bar, pie, groupbar, or line).<br />

data-color none Color of the chart as hex triplet, for example #FFFFFF for<br />

white, or as standard HTML names, for example blue or<br />

black.<br />

data-dimension-line none Attribute whose distinct value count is to be displayed in<br />

grouped bar or line chart.<br />

data-dimension-x none Attribute that is displayed as additional dimension inside the<br />

chart as group of bars or different lines.<br />

data-dimension-y none Measurement that is displayed on the y-axis. In a search<br />

scenario, the only measurement available is the distinct value<br />

count ($count) of the attribute defined in data-<br />

dataaggregationsortorde<br />

r<br />

dimension-line.<br />

ASC Descending (DESC) or ascending order for sorting the counts<br />

in the charts. Here you can override the sort order defined<br />

centrally in the workarea widget.<br />

data-topsmall none Defines how many bars or pie segments are displayed when the<br />

chart is small.<br />

dataanimationduration<br />

Related Links<br />

Connecting Your Source Data [page 314]<br />

inaresultlist<br />

1000 Duration of the animation, in milliseconds, when a chart adapts<br />

(default 1000). 0 means that animation is switched off.<br />

Parameter Name Default Value Description<br />

data-maxresultslarge 10 Maximum number of result items displayed on one<br />

page if the list is enlarged in the content pane.<br />

data-maxresultssmall 5 Maximum number of result items displayed on one<br />

page if the list is small in the facet column.<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Developer</strong> <strong>Guide</strong><br />

Enabling Search<br />

P U B L I C<br />

© 2012 <strong>SAP</strong> AG. All rights reserved. 317

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

Saved successfully!

Ooh no, something went wrong!