Skip to content

Settings and activity

2 results found

  1. 45 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Patrick commented  · 

    Perhaps a slightly better approach that I use is to target the legend item itself instead of just the text. Here is an example:
    http://jsfiddle.net/LAbQA/1/

    An error occurred while saving the comment
    Patrick commented  · 

    I wanted to add that the approach you posted requires us to know the classes and element types used to render the chart. If this ever changes, it would force us to have to change as well. Just a thought...

    An error occurred while saving the comment
    Patrick commented  · 

    That is exactly what I do, I just thought it would be nice again to have some hover options without having to create an event handler.

    An error occurred while saving the comment
    Patrick commented  · 

    I wrote a custom event handler to refresh/hide the tooltip when hovering over a legend. It would be nice if this was natively supported in the apis.

    Patrick supported this idea  · 
  2. 43 votes
    Vote

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    You have left! (?) (thinking…)
    How important is this to you?

    We're glad you're here

    Please sign in to leave feedback

    Signed in as (Sign out)
    An error occurred while saving the comment
    Patrick commented  · 

    This should have many more votes in my opinion. There are many times you'd want separate legends for different series. I have a pie chart with 2 series that contain related data, but don't belong in the same legend. I ended up putting a custom listener on the redraw method that would move several of the legend items created to another area so the legends were at least separated logically.

    Patrick supported this idea  ·