JViews Rich Web Charts
Tag pickInteractor


Pick Interactor Faces Component

An interactor that fires an event when a point is picked using the left mouse button.

This tag must be nested in a chart tag.

Usage

<jvrc:chart
      id="chart"
      width="450px"
      height="300px"
      value="project.icpr">
      <jvrc:pickInteractor
            onpick="alert(pickedPoint.getXData()+' '+pickedPoint.getYData())"/>

<jvrc:chart/>

DHTML - JavaScript Types

This component has no JavaScript representation.

JSF Component Class

IlvRWChartPickInteractor



Tag Information
Tag Classilog.views.chart.rwc.faces.internal.taglib.IlvRWChartPickInteractorTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
actionfalsefalsejava.lang.StringMethodBinding representing the application action to invoke when this component is activated by the user. The expression must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application.
actionListenerfalsefalsejava.lang.StringMethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void.
bindingfalsefalsejava.lang.StringThe value binding expression linking this component to a property in a backing Bean. If this attribute is set, the tag does not create the component itself but retrieves it from the Bean property. This attribute must be a value binding.
idfalsefalsejava.lang.StringThe ID of this component.
immediatefalsefalsejava.lang.StringThis flag indicates that if this component is activated by the user notifications should be immediately delivered to the interested listeners and actions (that is, during Apply Request Values phase) rather than waiting the Invoke Application phase.
markerfalsefalsejava.lang.StringThe marker to set on the client side on the chart point or series when an event is fired by the interactor.

Valid values are:

  • CIRCLE
  • CROSS
  • DIAMOND
  • PLUS
  • TRIANGLE
  • SQUARE

onpickfalsefalsejava.lang.StringThe JavaScript code executed on the client when a point is picked.
pickingModefalsefalsejava.lang.StringSpecifies the picking mode of this interactor.

The picking mode defines how to retrieve the picked data point.

Two modes are supported:

  • NEARESTPOINT_PICKING: Retrieves the data point closest to the picking point.
  • ITEM_PICKING: Retrieves the data point that contains the picking point.

The default value is ITEM_PICKING.

stylefalsefalsejava.lang.StringThe inline SVG style applied on the client side to the chart point or series when an event is fired by the interactor.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.   Documentation homepage.