123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- <?xml version="1.0" encoding="UTF-8"?>
- <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
- "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
- <chapter id="VizBundleChart2dMethods">
- <title><emphasis>Two-Dimensional Methods</emphasis></title>
- <para>This section covers methods that create two-dimensional visualizations
- contained in the TwoD module.</para>
- <para>***more to come**</para>
- <sect1 id="Apply2Cells">
- <title>Bubble</title>
- <para><emphasis role="bold">Visualization.TwoD.Chart2D.Bubble(<indexterm>
- <primary>Visualization.TwoD.Bubble</primary>
- </indexterm><indexterm>
- <primary>TwoD.Bubble</primary>
- </indexterm><indexterm>
- <primary>Bubble</primary>
- </indexterm>(</emphasis> <emphasis>id</emphasis> , <emphasis
- role="bold">[</emphasis>.<emphasis>dataSource</emphasis><emphasis
- role="bold">], [</emphasis><emphasis>outputName</emphasis><emphasis
- role="bold">], [</emphasis><emphasis>mappings</emphasis><emphasis
- role="bold">], [</emphasis><emphasis>properties</emphasis><emphasis
- role="bold">]);</emphasis></para>
- <para></para>
- <informaltable colsep="1" frame="all" rowsep="1">
- <tgroup cols="2">
- <colspec colwidth="80.50pt" />
- <colspec />
- <tbody>
- <row>
- <entry><emphasis>id</emphasis></entry>
- <entry>Unique identifier for the visualization</entry>
- </row>
- <row>
- <entry><emphasis>dataSource</emphasis></entry>
- <entry>Location of the result set (WUID, Logical File, Roxie Query
- result), defaults to the current WU</entry>
- </row>
- <row>
- <entry><emphasis>outputName</emphasis></entry>
- <entry>Result set name (ignored for Logical Files)</entry>
- </row>
- <row>
- <entry><emphasis>mappings</emphasis></entry>
- <entry>Maps Column Name <--> field ID</entry>
- </row>
- <row>
- <entry><emphasis>filteredBy</emphasis></entry>
- <entry>Filter condition (also useful for widget
- interactions)</entry>
- </row>
- <row>
- <entry><emphasis>properties</emphasis></entry>
- <entry>Dermatology properties. See Dermatology
- Properties***todo***</entry>
- </row>
- <row>
- <entry>Return:<emphasis></emphasis></entry>
- <entry>A "meta" output describing the visualization. See
- Common/Meta***todo***</entry>
- </row>
- </tbody>
- </tgroup>
- </informaltable>
- <para>The <emphasis role="bold">Bubble </emphasis>visualization method
- creates a bubble chart from two-dimensional data. A bubble chart is a
- variation of a scatter chart where data points are replaced with bubbles
- and the size of the bubble is represented by a dimension of the
- data.</para>
- <para>Example:</para>
- <programlisting format="linespecific">IMPORT Visualization;
- ds := DATASET([ {'English', 5},
- {'History', 17},
- {'Geography', 7},
- {'Chemistry', 16},
- {'Irish', 26},
- {'Spanish', 67},
- {'Bioligy', 66},
- {'Physics', 46},
- {'Math', 98}],
- {STRING subject, INTEGER4 year});
- data_example := OUTPUT(ds, NAMED('Chart2D__test'));
- data_example;
- viz_bubble := Visualization.TwoD.Bubble('bubble',, 'Chart2D__test');
- viz_bubble;
- </programlisting>
- </sect1>
- </chapter>
|