Menu

remove legend border

2015-12-25
2016-01-04
  • m.baris unal

    m.baris unal - 2015-12-25

    first of all great project, thnak you very much.
    but, how can i remove legend's borders? i want borderless legend.
    thanks.

     
  • lbayuk

    lbayuk - 2015-12-25

    Unfortunately, there isn't any way to do that at this time - the legend border is always drawn. Also, the legend border color is shared with other items (such as X and Y axis lines), so you can't just change that color to match the background to make the border vanish, as it would affect other items.

    Do you think this would be a useful feature to add to PHPlot? It would not be hard for me to add it. I can think of a few possible ways it implement a function to control the legend border. But it will also take documentation changes and test additions.

     
  • m.baris unal

    m.baris unal - 2015-12-26

    this is the reason why i use another chart library. sometmes legend border must be invisible.

    thaks for your reply. i will check phplot time to time.

     
  • lbayuk

    lbayuk - 2015-12-29
     

    Related

    Feature Requests: #59

  • lbayuk

    lbayuk - 2016-01-04

    This will be implemented in the next PHPlot release. You will be able to control the color of the legend border, and you will be able to turn it off so it isn't drawn at all. Code, test scripts, and documentation have already been committed to SVN.

    Thanks for the useful idea that improves PHPlot.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.