nilesh1021

About Zoomline Chart

Recommended Posts

Hi I want to use userdefinr tooltip in json of zoom line chart.

 

I have licence version of Fusion chart XT.

 

Json is as follows:

 

{
  "chart": {
    "compactdatamode": "1",
    "dataseparator": "|",
    "caption": "Adobe Inc.",
    "subcaption": "Daily from 2009-2010. Source: Yahoo Finance.",
    "axis": "linear",
    "numberprefix": "$",
    "formatnumberscale": "0",
    "allowpinmode": "0",
    "enableiconmousecursors": "0",
    "dynamicaxis": "1",
    "palette": "3"
  },
  "categories": [
    {
      "category": "8/4/2010|8/3/2010|8/2/2010"
    }
  ],
  "dataset": [
    {
      "seriesname": "Close",
      "data": "29.7|29.12|29.6|"
    }
  ]
}

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

Could you please try using "toolText" for each data item inside the data object (without using compact data format)?

 

Ref. Code:

{
  "chart": {
    "compactdatamode": "1",
   ....
  },
  "categories": [
    {
      "category": "8/4/2010|8/3/2010|8/2/2010"
    }
  ],
  "dataset": [
    {
      "seriesname": "Close",
      "data":[{
          "value":"300",

          "toolText":"Custom ToolText1"
        },
        {
          "value":"349",

          "toolText":"Custom ToolText1"
        },
    }
  ]
}

 

Please note that compact data format does not support displayValue and toolText for each data item. However, standard data format does accept it

 

Hope this helps!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now