C3: Query: Sort tooltip values based on graph values

Created on 26 Feb 2015  路  5Comments  路  Source: c3js/c3

Is there functionality available to order the tooltip using the values you are hovering over?

Example:
Proposed Change
So, in this example sniper would be first in tooltip, then troll etc.

Ref: yasp-dota/yasp#255

resolved maybe

Most helpful comment

I am having the opposite problem, i cant make the tooplitp not reorder itself acording to the values. I would prefer to be able to have it alphabethical - is it possible to disable / toggle this?

All 5 comments

I think this has been fixed by #1337

@masayuki0812 Was the above change reverted? I am trying to do the above in a stacked area, but it is not working even in default example on http://c3js.org/samples/chart_area_stacked.html when you hover over 3 or 4

Has this been reverted? Does not seem to be sorting the tooltip values.

I am having the opposite problem, i cant make the tooplitp not reorder itself acording to the values. I would prefer to be able to have it alphabethical - is it possible to disable / toggle this?

https://github.com/c3js/c3/pull/1337
Reverting these changes has been requested in the pr responsible for this sorting. It would be much better if you could set reordering to false, this is not wanted behaviour for some use cases.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Shugardude picture Shugardude  路  4Comments

seubert picture seubert  路  3Comments

ivarkallejarv picture ivarkallejarv  路  3Comments

Saikat-Sinha picture Saikat-Sinha  路  3Comments

wojciechowskid picture wojciechowskid  路  3Comments