Sign in to follow this  
WebDevSarah

Dynamic Tooltip for MSLine Compare Between Different Series

Recommended Posts

Hi all,

I am creating a 3 series MSline chart where the tooltip is dynamic using "plottooltext". Is it possible to have it compare between 2 different series' points?

 

example:

  "seriesname": "National Benchmark",
                    "data": [
                        {"value": "19.4"},
                        {"value": "19.2"}

 

 "seriesname": "Observed",
                    "data": [
                        {"value": "18.4"},
                        {"value": "18.2"}

 

 "seriesname": "Actual",
                    "data": [
                        {"value": "16.4"},
                        {"value": "16.2"}

 

"plottooltext": "$seriesname: $value% - is X% higher than National Benchmark"

 

I am just trying to avoid parsing through the json and format then append all of these tooltips before the chart renders.

 

Any advice would be greatly appreciated.

 

Thanks,

Sarah

 

Share this post


Link to post
Share on other sites

Hi all,

I am creating a 3 series MSline chart where the tooltip is dynamic using "plottooltext". Is it possible to have it compare between 2 different series' points?

 

example:

  "seriesname": "National Benchmark",

                    "data": [

                        {"value": "19.4"},

                        {"value": "19.2"}

 

 "seriesname": "Observed",

                    "data": [

                        {"value": "18.4"},

                        {"value": "18.2"}

 

 "seriesname": "Actual",

                    "data": [

                        {"value": "16.4"},

                        {"value": "16.2"}

 

"plottooltext": "$seriesname: $value% - is X% higher than National Benchmark"

 

I am just trying to avoid parsing through the json and format then append all of these tooltips before the chart renders.

 

Any advice would be greatly appreciated.

 

Thanks,

Sarah

Hi Sarah,

 

Please note that FusionCharts does not calculate any internal values for comparative study. You would need to pass that explicitly in order to display this.

 

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
Sign in to follow this