Questions tagged [dashing]

A Sinatra based framework for building dashboards in simple way, it uses premade widgets, or fully create your own with scss, html, and coffeescript.

Dashing is a Sinatra based framework that lets you build dashboards in a simple way, it uses premade widgets, or fully create your own with scss, html, and coffeescript.

Questions tagged should also be tagged .


Resources


Reated tags

241 questions
0
votes
1 answer

Sending information to a widget in Dashing

I'm creating a job in Ruby which takes info from a mysql database and sends it to a html page to create a widget. The thing is, I can't get the data to be displayed when I take it out of a mysql database, however when I type the input in manually…
user5006554
0
votes
1 answer

Undefined local variable or method `conn' for main:Object (NameError) on Dashing start

I am trying to setup a Dashing dashboard for some monitoring. The data to be used to populate the dashboards widgets will be coming from an Oracle database. Dashing has been installed and the test dashboards are working fine but when I created my…
0
votes
1 answer

Dynamically change background colour of a Dashing widget

I've built a dashboard using the ruby based Dashing framework and all seems to be running well but I'd like to be able to change the background colour of one of my List widgets (mywidget) based on one of the values in the list. My updatelist.rb job…
Mark
  • 1,277
  • 3
  • 13
  • 27
0
votes
1 answer

How can I update a dashing widget's refresh frequency?

I'm current using Dashing for displaying dashboards on our office TVs. By default each of our widgets gets refreshed every 60 seconds. I actually would like to change this to 30 seconds. Does anyone know how to do this?
Sher Chowdhury
  • 127
  • 1
  • 7
0
votes
1 answer

“Uninitialized constant” error when trying to create Client

I am working on dashing dashboard and trying to add a Jira widget.In the widget code it is trying to create and initialize a Client object. As shown in code below require 'Jira' SCHEDULER.every '5m', :first_in => 0 do |job| client =…
0
votes
1 answer

Changing moreinfo text position in Dashing widget

I have a Dashing dashboard with a number of text widgets. These all have moreinfo data tags. I've found it necessary to use rather small base dimensions for the widgets. Here's what a widget looks like: The .erb code describing this widget…
Andrew
  • 475
  • 4
  • 15
0
votes
1 answer

dashing - Get value from a widget over api

A newbie here. I have found out how I could post values to different widgets over the REST api. I would like to know how I can get values from a widget. E.g. 'current' value from a number widget. If I do a Get on the http://dashingURL/dashboard_name…
0
votes
1 answer

How do I call a global function in jquery/coffeescript

class Dashing.Hacircledimmer extends Dashing.Widget setLevel: -> levelToSet = '10' $.post '/homeassistant/dimmerLevel', widgetId: @get('id'), command: levelToSet, (data) => json = JSON.parse data ready: -> …
Frameone
  • 33
  • 5
0
votes
1 answer

Unable to load template file for custom widget

I'm trying to create a custom widget(named Status) with django-dashing. This custom widget is 99% copy-paste from libs own NumberWidget. I have js, html and css files in status/widgets/status and initiated in dashing-config.js in the browser…
Stefan Weiss
  • 461
  • 1
  • 6
  • 20
0
votes
1 answer

dashing dashboard - calheatmap widget (resque_heatmap.coffee) removes cells after Load Next/Previous Domains

I'm using calheatmap widget in dashing dashboard. After clicking next (or previous) button, new domain in widget contains no-data until next json data receiving. How can i import data to widget for all 2 days, constantly... Some lines of…
hasanoa
  • 41
  • 10
0
votes
1 answer

Reading from Memcached to Dashing(Sinatra)

Basically, I'm trying to parse the memcached file to .JSON, but am unforatenly not able to get the JSON to respond to any of the JSON parse commands (ie. only), to_json does work, but am unfamiliar with how memcached is reading. Essentially trying…
Nomad
  • 250
  • 3
  • 11
  • 27
0
votes
1 answer

Dashing job get_event?

In my dashboard I have a job where I would like to get a value from my widget. # :first_in sets how long it takes before the job is first run. In this case, it is run immediately SCHEDULER.every '1s', :first_in => 0 do |job| …
Chris Gambrell
  • 291
  • 3
  • 8
0
votes
1 answer

Add routes to Dashing dashboard

How do I add a route in my dashboard that I can access, for example... get '/:id' do protected! return params[:'id'] end Which I can call from http://localhost:3030?id=1234
Chris Gambrell
  • 291
  • 3
  • 8
0
votes
1 answer

Dashing: connections not closing

Background: I am new to ruby on rails and I have created an app that reads data from mysql database and displays patient information using dashing. Problem: Whenever I refresh dashboard page more than 4 times I get an…
0
votes
1 answer

Add Dashing Gem dashboard to existing rails app?

I have a rails app I've been developing on the Cloud 9 IDE. I've been looking for the best solution for a user dashboard once someone authenticates to Devise. Dashing looks awesome. How do I install the gem and create a new dashboard, without having…
user3085646
  • 1,015
  • 2
  • 11
  • 14