• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tooltip in struts2 jquery chart plugin

 
Sang Ts
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic