Jump to content
JChartFX Community
  • 0

Calling functions



I could not find this information elsewhere, so I thought I would share. If you are looking for the jquery implementation of the chart method calls like for example the following

    chart1.getPoints().getItem(0, 4).setTag("Turkey");

    chart1.on("gettip", onGetTip);

it is quite easy, assuming the div id for your chart is chart1

$(#chart1).chart("getPoints").getItem(0, 4).setTag("Turkey");

So anything you pass into the chart method will be the method call, and the rest of the arguements are arguments for the method call. 

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.

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.

  • Create New...