Appboard/old/widgets/bubble chart: Difference between revisions

imported>Cmace
(created to remove appboard_builder)
 
imported>Cmace
(copied from internalwiki)
Line 1: Line 1:
== Adding a Bubble Chart Widget ==
A Bubble Chart Widget displays circles or spheres in the charting area.  The circles represent two aspects of the underlying data by their horizontal and vertical location along each axis, as well as the magnitude of a third element which is communicated by the size of the bubble.


Click "Add Widget" in the tool palette on the left.  If "Add Widget" is disabled, refer to the "Adding a Stack" section. 
# Enter a name for the Widget
# Select Bubble Chart Widget
# Select the Board you'd like the Bubble Chart Widget to appear on.
# Select "OK".


[[Image:bubbleChartSample.png|thumb|center|500px|Bubble Chart Sample]]


== Configuring Bubble Chart ==


# Select a Data Collection that contains the information you'd like to use for this Bubble chart.
== How To Create a Bubble Chart Widget ==
#:* Click the "Data Collection" pulldown, then select from the list of available Data Collections.
For instructions on creating a Widget, see the general instructions in [[Widgets#Adding_Widgets|Adding Widgets]].  The <b>Bubble</b> Widget type is located under the <b>Charts</b> category on the Widget selection screen.
#:* If you do not see any Data Collections, refer to [[Data_Collections|Add/Edit/Remove a Data Collection]].
 
# Select X-Axis Field from the Data Collection that this chart would use as X-Axis.
 
#:* Click the "X-Axis Field" pulldown, and then select an item from the list. Then, click the "Type" pulldown, and then select an item from the list to indicate what field type this "X-Axis Field" is.
== How To Configure a Bubble Chart Widget ==
#:* An example would be a "Month" field of "CategoryAxis" type.
Follow the instructions above to create the basic "BubbleChart" Widget, and then perform the following steps to configure a Bubble Chart Widget:
# Set the Series to be plotted. "Y-Axis Field" indicates the vertical location of the bubble. "Radius" indicates the size of the bubble.
 
#:* Click the "Add" button to add a new series.
 
#:* Click the "Y-Axis Field" pulldown, and then select an item from the list.
=== Select a Data Collection ===
#:* Click the "Radius Field" pulldown, and then select an item from the list.
Select a '''Data Collection''' that contains the information you would like to use for this Widget.  
#:* Click on "Color" chooser to set the color.
* Click the "Data Collection" pulldown, then select from the list of available Data Collections.
# Click "Show Legend" option to turn on the display of X-Axis and Y-Axis Legend.
* If you're using the sample CSV data, select "Sample.Data.ChartData".
# Click "Labels" option to show the X-Axis and/or Y-Axis field's label. Slide the "Rotation" slider to set the label rotation degree. Click "Title" option to show the Title and enter the title to be displayed in the field.
* If there are no Data Collections available in the pulldown, then click here for instructions on how to bring in some [[Sample_Chart_Data|Sample Chart Data]], or refer to [[Data_Collections|Add/Edit/Remove a Data Collection]].
#* Complete "Options" and "Actions" steps as described in [[Widgets|Add/Edit/Remove a Widget]].
 
 
=== Configuring the X-Axis Field ===
Select the desired '''X-Axis Field''' to use for the X-Axis of the Chart.
* The "rows" of data from this column will make up the X-Axis.
If you're using ''Sample.Data.ChartData'', then select "Month" to be the X-Field.
 
 
=== Configuring a Series (Y-Axis) ===
Click the "Add" button in the button toolbar of the Series DataGrid.
* Repeat for any additional series.
* Series may be removed with the "Remove" button next to the "Add" button.
Values contained within the "Y-field" will determine the position of the center of the bubble on the chart.
If you're using ''Sample.Data.ChartData'', then select "Hardware" as the Y-field
 
 
=== Radius Field ===
Radius values will determine the the size of each bubble on the chart.
* The Bubble chart requires "Min Radius" and "Max Radius" settings to adjust how the bubbles will scale.  Bubbles will not appear in the preview until the min/max values in chart options have been set.
 
If you're using ''Sample.Data.ChartData'', then select "Software" as the Radius Field, enter a Min Radius of "5", and enter a Max Radius of "20"
 
 
=== Fill Style ===
Fill style is purely aesthetic, and sets the rendering style that will be used for the series.
* The available rendering styles are Solid and Gradient
[[Image:bubbleChart_FillStyles.png|Sample Fill Styles]]
 
 
=== Color === 
Color will work in conjunction with Fill Style to distinguish one series from another.
* You can select color by clicking on the color swatches in the color picker, or you can manually enter a hexadecimal color value.
 
 
=== Alpha ===
Alpha sets the opacity of the series.
* Reducing the Alpha lets you see grid lines show through the bars.
 
 
=== Additional Chart Options ===
* "Show Legend" toggles the legend on/off as desired.
* (Required) Min Radius: Sets the size of the smallest bubble on the chart.
* (Required) Max Radius: Sets the size of the largest bubble on the chart.
* Enable the X-Axis title and enter value as desired.
* Enable the X-Axis labels and rotate them as desired.
* Enable the Y-Axis title and enter value as desired.
* Enable the Y-Axis labels and rotate them as desired.
 
 
 
== Additional Configuration Steps ==
* Enter the following information on the <b>Options</b> tab:
** [Optional] Configure the [[Option_Show_Search_Text|Show Search Text]] Option.
** [Optional] Configure the [[Option_Use_Filter|Use Filter]] Option.
** [Optional] Configure the [[Option_Configure_Alternative_Widget|Configure Alternative Widget]] Option.
** [Optional] Configure the [[Option_Help|Help]] Option.
 
 
* Enter the following information on the <b>Actions</b> tab:
** Click <b>Add Event Action</b> to configure one or more [[Actions|Actions]] to be invoked when a user clicks on the Bubble Chart Widget.  The action will apply to the current data record being displayed.
 
 
== Sample Data ==
Instructions for bringing sample chart data into AppBoard can be found here: [[Sample_Chart_Data|Sample Chart Data]]

Revision as of 16:20, 1 May 2012

A Bubble Chart Widget displays circles or spheres in the charting area. The circles represent two aspects of the underlying data by their horizontal and vertical location along each axis, as well as the magnitude of a third element which is communicated by the size of the bubble.


Bubble Chart Sample


How To Create a Bubble Chart Widget

For instructions on creating a Widget, see the general instructions in Adding Widgets. The Bubble Widget type is located under the Charts category on the Widget selection screen.


How To Configure a Bubble Chart Widget

Follow the instructions above to create the basic "BubbleChart" Widget, and then perform the following steps to configure a Bubble Chart Widget:


Select a Data Collection

Select a Data Collection that contains the information you would like to use for this Widget.

  • Click the "Data Collection" pulldown, then select from the list of available Data Collections.
  • If you're using the sample CSV data, select "Sample.Data.ChartData".
  • If there are no Data Collections available in the pulldown, then click here for instructions on how to bring in some Sample Chart Data, or refer to Add/Edit/Remove a Data Collection.


Configuring the X-Axis Field

Select the desired X-Axis Field to use for the X-Axis of the Chart.

  • The "rows" of data from this column will make up the X-Axis.
If you're using Sample.Data.ChartData, then select "Month" to be the X-Field.


Configuring a Series (Y-Axis)

Click the "Add" button in the button toolbar of the Series DataGrid.

  • Repeat for any additional series.
  • Series may be removed with the "Remove" button next to the "Add" button.

Values contained within the "Y-field" will determine the position of the center of the bubble on the chart.

If you're using Sample.Data.ChartData, then select "Hardware" as the Y-field


Radius Field

Radius values will determine the the size of each bubble on the chart.

  • The Bubble chart requires "Min Radius" and "Max Radius" settings to adjust how the bubbles will scale. Bubbles will not appear in the preview until the min/max values in chart options have been set.
If you're using Sample.Data.ChartData, then select "Software" as the Radius Field, enter a Min Radius of "5", and enter a Max Radius of "20"  


Fill Style

Fill style is purely aesthetic, and sets the rendering style that will be used for the series.

  • The available rendering styles are Solid and Gradient

Sample Fill Styles


Color

Color will work in conjunction with Fill Style to distinguish one series from another.

  • You can select color by clicking on the color swatches in the color picker, or you can manually enter a hexadecimal color value.


Alpha

Alpha sets the opacity of the series.

  • Reducing the Alpha lets you see grid lines show through the bars.


Additional Chart Options

  • "Show Legend" toggles the legend on/off as desired.
  • (Required) Min Radius: Sets the size of the smallest bubble on the chart.
  • (Required) Max Radius: Sets the size of the largest bubble on the chart.
  • Enable the X-Axis title and enter value as desired.
  • Enable the X-Axis labels and rotate them as desired.
  • Enable the Y-Axis title and enter value as desired.
  • Enable the Y-Axis labels and rotate them as desired.


Additional Configuration Steps


  • Enter the following information on the Actions tab:
    • Click Add Event Action to configure one or more Actions to be invoked when a user clicks on the Bubble Chart Widget. The action will apply to the current data record being displayed.


Sample Data

Instructions for bringing sample chart data into AppBoard can be found here: Sample Chart Data