Discussions

Expand all | Collapse all

Show color legend on top of report

  • 1.  Show color legend on top of report

    Posted 05-24-2017 10:22
    Hi,
    I'd like to achieve what is described in https://community.quickbase.com/quickbase/topics/can-we-show-legend-at-the-top-of-the-table-report
    but need more explanation. What is a hack? How exactly do I use it?

    Thanks,


  • 2.  RE: Show color legend on top of report

    Silver
    Contributor
    Posted 05-24-2017 11:06
    Hi,

    If you are familiar with Dan's famous IOL technique then, you can easily achieve this.

    Please let me know in case you are not familiar or need any help to implement this.

    Thanks,

    Gaurav Sharma


  • 3.  RE: Show color legend on top of report

    Posted 05-24-2017 11:24
    Hi Gaurav,

    Thanks for your reply.
    No, I'm not familiar with Dan's IOL technique. What exactly is it?
    Thanks,
    Yo�l


  • 4.  RE: Show color legend on top of report

    Silver
    Contributor
    Posted 05-24-2017 12:12
    Hi Yoel,

    Please go through this link and read it because Dan had described it in a very simple way.

    https://community.quickbase.com/quickbase/topics/how-do-i-setup-the-image-onload-technique-iol

    After it, please let me know how would you like to proceed?

    Thanks,

    Gaurav 


  • 5.  RE: Show color legend on top of report

    Posted 05-26-2017 08:56
    Hi Gaurav,
    Thanks for the info. I see it will be some work for me to get familiar with it. I will keep this for the optimizing phase after the app has launched, and in the meantime describe the colors in the description.
    Thanks,
    Yo�l


  • 6.  RE: Show color legend on top of report

    Silver
    Contributor
    Posted 05-26-2017 09:32
    What do you mean by this "describe the colors in the description"?


  • 7.  RE: Show color legend on top of report

    Posted 05-26-2017 09:36
    Intended = red, Requested= orange, Approved= yellow, ... 
    So what I want to achieve is to not have to write the colors, but show the actual colors with a colored icon.


  • 8.  RE: Show color legend on top of report

    Posted 05-26-2017 12:58
    Refered the Solution posted by Dan and added the code, I didn't get orange icon, i think you can change it by loading that icon to a table and replacing the URI

     $("#descriptionInFacets").html("Intended <img src= 'https://images.quickbase.com/si/16/221-point_red.png'> Requested <img src='https://images.quickbase.com/si/16/220-point_gray.png'> Approved <img src='https://images.quickbase.com/si/16/223-point_yellow.png'> ");