Display a chart with minimal extra user interface

LabKey Support Forum (Inactive)
Display a chart with minimal extra user interface Ben Bimber  2017-02-07 17:51
Status: Closed
 
Hi Will,

If you want LK to render your page, I think you can put your JS snip on a simple HTML page, and then add a .view.xml file with something like:

<view xmlns="http://labkey.org/data/xml/view" template="print">
    <dependencies>
        <dependency path="/myModule/foo.js"/>
    </dependencies>
</view>

I didnt check this, but I think either template="print" or template="none" should give you no borders.

A quick and dirty way to accomplish this is probably also to append _hideFrame=1 to your URL (without needing the view.xml); however, I'd personally probably do the former.

-Ben