eweitz / ideogram

Chromosome visualization for the web

Home Page:https://eweitz.github.io/ideogram

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

legend name misplaced with row name

rdcwuyy opened this issue · comments

Dear Eric,

Thanks for this great tool ideogram.js again.

Could you please take a look at a small issue regarding the legend labels?
The legend name seems to be misplaced as the label for the first row, and therefore the last row is missing its icon.

Here is a picture of a legend:
Screenshot 2021-09-11 at 22 02 03

And here is the source for that legend:

var legend = [{
  name: 'Clinical significance (simulated)',
  rows: [
    {name: 'Pathogenic', color: '#F00', shape: shape},
    {name: 'Uncertain significance', color: '#CCC', shape: shape},
    {name: 'Benign', color: '#8D4', shape: shape}
  ]
}];

Thanks and best regards,
Yanying

Greetings! This is fixed via #287.

I aim to release an update including this fix in a week or so. If you need it beforehand, you can build from source.

This fix has been released with Ideogram 1.32.0. Thanks again for reporting the issue!