Wijmo UI for the Web
wijbubblechart jQuery Widget
Use instead of a scatter chart if your data has three independent values.
Syntax
Javascript (Usage) 
$(function () {
    var options; // Type:  wijmo.chart.wijbubblechart.options
     
    $(".selector").wijbubblechart(options);
});
Javascript (Specification) 
function wijbubblechart() : any;
Browser Compatibility
7
5
5
Options
 NameDescription
public Optionanimation

Type: wijmo.chart.chart_animation

The animation option defines the animation effect and controls other aspects of the widget's animation, such as duration and easing.

 
public Optionaxis

Type: wijmo.chart.chart_axes

A value that contains all of the information to create the X and Y axes of the chart

 
public OptionchartLabel

Type: wijmo.chart.bubblechart_chartlabel

Creates a chartLabel object that defines all of the settings used to draw a label for each bubble in the chart.

 
public OptionchartLabelFormatString

Default value: ""

Sets the numeric format of the chart labels that show the value of each chart element. You can use Standard Numeric Format Strings.

 
public OptionchartLabelStyle

Sets all of the style options of the chart labels that show the value of each chart element.

 
public Optionclick

Default value: null

Fires when the user clicks the chart element.

 
public Optionculture

Default value: ""

A value that indicator the culture to format the chart text.

 
public Optiondata

Default value: null

Bind a field to each series's data x array

 
public OptiondataSource

Default value: null

Sets the array to use as a source for data that you can bind to the axes in your seriesList.

 
public OptiondisableDefaultTextStyle

Default value: false

Sets a value indicating whether you can set the font-family of the text using a class instead of options.

 
public Optionfooter

Type: wijmo.chart.chart_title

Sets up the object to use as the footer of the barchart.

 
public Optionheader

Type: wijmo.chart.chart_title

Sets up the object to use as the header of the barchart.

 
public Optionheight

Default value: null

Sets the height of the barchart in pixels.

 
public Optionhint

Type: wijmo.chart.chart_hint

Creates an object to use as the tooltip, or hint, when the mouse is over a chart element.

 
public Optionindicator

Type: wijmo.chart.chart_indicator

Sets up an object that can display an indicator line running horizontally/vertically through the center of each chart element in the chart when the user clicks the chart element.

 
public Optionlegend

Type: wijmo.chart.chart_legend

Creates a legend object to display with the chart.

 
public OptionmarginBottom

Default value: 25

Sets the amount of space in pixels between the chart area and the bottom edge of the <div> that defines the widget.

 
public OptionmarginLeft

Default value: 25

Sets the amount of space in pixels between the chart area and the left edge of the <div> that defines the widget

 
public OptionmarginRight

Default value: 25

Sets the amount of space in pixels between the chart area and the right edge of the <div> that defines the widget

 
public OptionmarginTop

Default value: 25

Sets the amount of space in pixels between the chart area and the top edge of the <div> that defines the widget

 
public OptionmaximumSize

Default value: 20

The maximum bubble size represents the percentage of the diameter (or area) of the plot area.

 
public OptionminimumSize

Default value: 5

The minimum bubble size represents the percentage of the diameter (or area) of the plot area.

 
public OptionseriesHoverStyles

Default value: []

An array collection that contains the style applied to the chart elements. For more information on the available style parameters.

 
public OptionseriesList

Default value: []

Sets the data for the chart to display.

 
public OptionseriesStyles

Default value: []

Sets an array of style objects to use in rendering the bars for each series in the chart.

 
public OptionseriesTransition

Type: wijmo.chart.chart_animation

The seriesTransition option is used to animate series in the chart when just their values change. This is helpful for visually showing changes in data for the same series.

 
public Optionshadow

Default value: true

A value that indicates whether to show a shadow around the edge of the chart.

 
public OptionshowChartLabels

Default value: true

A value that indicates whether to show default chart labels.

 
public OptionsizingMethod

Default value: 'diameter'

A value that indicates how to calculate the bubble size.

 
public OptiontextStyle

Creates an object to use for the fallback style of any chart text that does not have other style options set.

 
public Optionwidth

Default value: null

Sets the width of the chart in pixels.

 
Top
Methods
 NameDescription
public MethodaddSeriesPointAdd series point to the series list.  
public MethodbeginUpdateSuspend automatic updates to the chart while reseting the options.  
public MethoddestroyRemove the functionality completely. This will return the element back to its pre-init state.  
public MethodendUpdateRestore automatic updates to the chart after the options has been reset.  
public MethodgetBubbleReturns the bubble which has a Raphael's object that represents bubbles for the series data with the given index.  
public MethodgetCanvasReturns a reference to the Raphael canvas object.  
public MethodredrawThis method redraws the chart.  
public MethodwidgetReturns a jQuery object containing the original element or other relevant generated element.  
Top
Events
 NameDescription
public EventbeforePaintThis event fires before the canvas is painted. This event can be cancelled. "return false;" to cancel the event.  
public EventbeforeSeriesChangeThis event fires before the series changes. This event can be cancelled. "return false;" to cancel the event.  
public EventmouseDownFires when the user clicks a mouse button.  
public EventmouseMoveFires when the user moves the mouse pointer while it is over a chart element.  
public EventmouseOutFires when the user moves the pointer off of the chart element.  
public EventmouseOverFires when the user first places the pointer over the chart element.  
public EventmouseUpFires when the user releases a mouse button while the pointer is over the chart element.  
public EventpaintedThis event fires after the canvas is painted.  
public EventseriesChangedThis event fires when the series changes.  
Top

See Also

Widgets

BubbleChart

Reference

wijbubblechart jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.