This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes tooltip in struts2 jquery chart plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tooltip in struts2 jquery chart plugin" Watch "tooltip in struts2 jquery chart plugin" New topic
Author

tooltip in struts2 jquery chart plugin

Sang Ts
Greenhorn

Joined: Oct 08, 2012
Posts: 4
Hi all,
I am using struts2 jquery chart plugin and I need tooltip functionality in it. Setting tooltip parameter inside chart tag didn't work.Am I missing something?Is there any way to implement this by calling jQuery/javascript function?This is my code-

<sjc:chart
id="chartObjects"
cssStyle="width: 500px; height: 200px;"
xaxisLabel="Week"
yaxisLabel="Cost"
yaxisLabelFontSizePixels="12"
yaxisLabelFontFamily="Arial"
xaxisLabelFontSizePixels="12"
xaxisLabelFontFamily="Arial"
xaxisTickSize="1"
tooltip="Test ToolTip"

>
<sjc:chartData
label="Planned Cost"
list="pointsForActualCost"
points="{ show: true }"
lines="{ show: true }"

/>
<sjc:chartData
label="Actual Cost"
list="pointsForPlannedCost"


/>
</sjc:chart>
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: tooltip in struts2 jquery chart plugin