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

243 questions
2
votes
1 answer

Dashing dashboard and batman.js binding

I'm writing a dashing widget to stream a video. I have a widget that works, however getting it to change the URL remotely with batman.js is eluding me. As far as I can tell, all I'm needing to do is modify the end of a URL inside an object, but I'm…
2
votes
3 answers

Creating widgets for dashing

I`m trying to create a widget for dashing (http://shopify.github.io/dashing/) for displaying 4 values: value1 value2 value3 value4 I have copied the contents of the text widget and added the following to the widget.html

Spanglish
  • 119
  • 1
  • 2
  • 11

2
votes
1 answer

Load Data on `ready` in Dashing Widget's Coffeescript

How do you get data to get polled on startup of a dashing widget? ready is called when the widget is done being rendered. class Dashing.Tagcloud extends Dashing.Widget ready: -> onData: (data) -> The widget I've built uses D3 to display data.…
Kyle Kelley
  • 12,557
  • 4
  • 45
  • 75
2
votes
1 answer

Unable to resolve dependency: dashing (= 1.3.1) requires sass (>= 0) on RubyGems

Error while trying to Install Dashing using Ruby Gems on SUSE linux.... sudo gem install -V dashing --source http://rubygems.org ERROR: While executing gem ... (Gem::UnsatisfiableDependencyError) Unable to resolve dependency: dashing (= 1.3.1)…
Sunnx
  • 71
  • 11
2
votes
2 answers

Dashing Dashboard Framework Passing Label & Value to a List Widget

To pass data into the view, the generic "job" is set up as so: SCHEDULER.every '1m', :first_in => 0 do |job| send_event('widget_id', { }) end In the view, it is processed as such:
  • user2111743
    • 69
    • 1
    • 7
  • 1
    vote
    1 answer

    Environment variables in .erb file

    I am creating a dashboard with dashing. I have some environment variables I am using in my jobs .rb file. Whenever I try to use any environment variable in my dashboard .erb file it doesnt seem to work. I am trying to put the environment variable…
    cam_cudi
    • 31
    • 3
    1
    vote
    1 answer

    Move to Directory and Run Smashing/Dashing from that Directory

    I am attempting to automatically start my Smashing Dashboard when my Raspberry Pi boots. I plan to run a script through the @reboot option in crontab (similarily to how I already automatically shutdown the dashboard). However I'm having trouble…
    1
    vote
    0 answers

    Dashing Change back ground color widget dynamically

    I have a widget which brings the data from sonar and checks if there are any blockers or criticals. If the blockers and criticals are 0, background colors should be blue, else it is red which is default in scss. My Job.rb has a logic to check if it…
    1
    vote
    1 answer

    Multiple lists in a Dashing widget

    I've cloned the Dashing List widget and edited it so it'll contain three separate lists, like in this image. The job associated with the widget makes a GET request to a REST API search endpoint, and then creates a hash of the first five results. The…
    Mike
    • 652
    • 3
    • 13
    • 27
    1
    vote
    0 answers

    Save names and iterate through them ruby

    Hey this is my first post and I´m an complete ruby noob. This is my existing source-code for my Dashing/Roo Project. require 'roo-xls' SCHEDULER.every '10m' do file_path = "/home/numbers.xlsx" def fetch_spreadsheet_data(path) s =…
    roflb0b
    • 11
    • 1
    1
    vote
    0 answers

    Disconnecting from mysql database in rufus scheduler doesnt work (dashing.io)

    I am using dashing.io and want to grab some data from a mysql database using rufus scheduler to push them. I have this code for testing the connection closing in one .rb job file: require 'rubygems' require 'mysql2' SCHEDULER.every '12h', :first_in…
    1
    vote
    0 answers

    updating chart.js widget on dashing

    I am currently developing a dashboard using dashing.io and the dash itself is rendering fine. However, to plot the graphs I am using an additional widget which is based upon Chart.js. The problem comes when I need to update this graph with new…
    Neo979
    • 11
    • 2
    1
    vote
    1 answer

    Iterate through Array and use variables in ruby

    Hey I am an absolute ruby noob and hope you could help me. I want to do a lot of SQL-querys with different departments (Department A,B, C....) I want to save the departments to an array and iteratethrough it, use loops and so on. This is my old…
    Gutiu
    • 11
    • 3
    1
    vote
    1 answer

    HTML How to create a banner with small clickable images lining up at the bottom of a page?

    I am having an issue getting a banner with clickable images to work properly. The banner seems to be fine, the images however, not so much. Take a look please! Thanks in advance! HTML:
    user6489477
    1
    vote
    1 answer

    Creating custom widgets for ruby gem dashing.io - Or combining widgets elements

    I'm working with the dashing ruby gem and I would really like to combine elements of the graph and number widgets. I would like all elements of the graph and include the up/down percentage arrow from the number widget. I've never done much work…
    Brian Smith
    • 107
    • 8
    1 2
    3
    16 17