Create, deploy, and maintain analytic applications that engage users and drive revenue. See a Logi demo

Development Tips

Logi Tutorial: Creating Responsive Logi Dashboards

By John Sweazen | May 31, 2018
Share on LinkedIn Tweet about this on Twitter Share on Facebook

This is the sixth blog in our tutorial series on 10 of the best solutions from Logi’s Expert-on-Demand (EOD) team. In our previous blog, we looked at dynamic table tools; this week, we’re targeting the table structure of the Logi dashboard.

>> Related Tutorial: How to Create Dynamic Tables <<

Logi dashboards are column-based. And as is the case with any non-responsive table, that means they can look distorted when resized. Our EOD team simply couldn’t stand for this, so we came up with a responsive EOD Dashboard to extend the form and functionality of our dashboard using plain old CSS.

As a proof of concept, the EOD team requested to re-style Logi’s Native Dashboard element by using a Slide-Up Carousel to display available visualizations. This solution utilizes a jQuery plug-in called Flickity to create the carousel, as well as PanelSlider to style the Slide-Up panel.

We use XML Datalayers to retrieve the panel data from the Dashboard Save File as well as the defined panels available in the Dashboard Report Definition File.

We use a Template Modifier File, a Definition Modifier File, and some strategic CSS to hide the Dashboard element’s native Add-Panel PopUp functionality—without the need to modify any of the rdTemplate files.

When using the Custom Dashboard Panels element of the Analysis Grid or the Action.Add Dashboard Panel element, the Logi engine creates a thumbnail of your visualization and saves it to an rdThumbnails folder (where your Dashboard save file is located). One way to provide these thumbnails to the Dashboard Carousel is to create a hard symbolic link so that the files in the rdThumbnails folder appear to reside within your _SupportFiles folder.

Now, the dashboard becomes responsive and the form and functionality assimilates with the resizing, now matter how small:

Going a step further, we have what we will refer to as the EOD Dashboardin which the team has redesigned how the dashboard panel is envisioned. In this example, we’ve completely removed it and created a carousel for the visualizations:

Now we have a responsive dashboard that slides up, scrolls easily, offers a badge app icon, and can even be added to the panel. This works in both the responsive and desktop versions.

And of course, our responsive dashboard excels in our Logi-style PDF mode as well. You can fluently export it into PDF and actually have meaningful output—something geared for print media.

When you export our responsive Logi dashboard to PDF, the panel background automatically becomes white and the visualizations or pages are broken up to avoid cropping. If you were to export a non-responsive Logi dashboard to PDF, your PDF would look scrunched and distorted.

The new and improved EOD Dashboard now excels in both form and functionality.

See the EOD Dashboard in action here >

Watch our webinar for more EOD solutions >

About the Author

John Sweazen is an Expert-On-Demand Solutions Consultant with Logi Analytics. He has more than 20 years of experience in the IT industry and helping to solve client issues.

Subscribe to the latest articles, videos, and webinars from Logi.