Jump to content
JChartFX Community
  • 0

ToolTip customization


PhuongNguyen

Question

 Hi Everyone,

I am a newbie to JChartFX library.  I am using JChart FX to show the list of electrical device test results for the management team to view.

Each test include  TestDate, TestResult (int), Device (what device to test), Operator (who run the test).

I built the data  list below and JChartFX draws a chart with AxisX as TestDat and AxisY as TestResult. That's exactly what I expect.
var data=   

[{ "2014-02-12   612   Device1   Operator1"},

{"2014-02-13    712   Device2   Operator2"} ]

chart1.setDataSource(data);

Right now, if I mouse over the spot, the tooltip would show "TestDate and TestResult".

What I want in tooltip is to display all for fileds TestDate, TestResult, Device, Operator. So if I mouseover the first spot, tooltip would show "2014-02-12   612   Device1   Operator1"

Can anyone show me how to accomplish this?

Thank very much,

Phuong,

 

 

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...