The Smart Label

Comments

100 comments

  • Avatar
    Sinu Joseph

    is it possible to add a bg image instead of giving color

    0
    Comment actions Permalink
  • Avatar
    Nicole Blake Tran

    When will the capability to format the text become available for users?

     

    0
    Comment actions Permalink
  • Avatar
    Boaz Farkash

    A built-in text widget will be available in 5.7.5 (March).

    0
    Comment actions Permalink
  • Avatar
    Stefan

    Hi Boaz, does this also apply for the text widget? Now I have only 5 text styles to choose from. 

    Is it than possible to customize your text in size, colour and font?

    Thanks

    0
    Comment actions Permalink
  • Avatar
    Boaz Farkash

    Hi Stefan, It will be possible to change text colors and background colors, but fonts and font sizes will be limited to a predefined list to choose from.

    0
    Comment actions Permalink
  • Avatar
    Sinu Joseph

    Hi Stefan.... Try the following code

    widget.on('ready', function(se, ev){
    $(element).css('background-color','#CE1127');//changes the widget's background
    $(element).css('color','white'); //text color
    $(element).css('font-weight','bold'); //font style
    $('widget-header' ,element.parent()).css('background-color','#CE1127'); //changes the widget's title background
    })

    0
    Comment actions Permalink
  • Avatar
    Alon Ahronberg

    Plugin updated to allow visible title

     

     

    0
    Comment actions Permalink
  • Avatar
    clickdashboard

    Thanks guys! 

    0
    Comment actions Permalink
  • Avatar
    Simon

    Can you please add this feature to your new text widget?

    0
    Comment actions Permalink
  • Avatar
    Malinda Jepsen

    Does this no longer work in 5.8.2.15?  I was trying to use the text widget, but it doesn't work to add data from the cube does it?  Isn't it just static text?

    0
    Comment actions Permalink
  • Avatar
    Evan York

    Is it possible to format dates through custom javascript?  It seems that the date formatting option doesn't work with this plugin.




    sisense_smartlabel_format.png
    0
    Comment actions Permalink
  • Avatar
    Vinod Rajasekaran

    This does not seem to work as compared to the older plugin from last year. We always get a blank widget. - We are on release 6.0.

    Any ideas ?

    0
    Comment actions Permalink
  • Avatar
    Mohana S

    Is there any way to have jump to option work from smart label?

    0
    Comment actions Permalink
  • Avatar
    Takashi Binns

    @Evan, Please download the latest version, I've added support for formatting to get passed through

    @Mohana, Currently the jump to dashboard plugin does not support the Smart Label.  This would require a change with the Jump To Plugin

    Thanks,

    -Takashi

    0
    Comment actions Permalink
  • Avatar
    Si Sense

    The latest version doesn't work for us in 6.2.0.336 either. We just get a blank widget.

    Chrome error console shows the following:

    common.js?g=gocoAodcg:47 error refreshing widget: 'Respondent'. (inner exception: TypeError: Cannot read property 'dim' of undefined) - TypeError: Cannot read property 'dim' of undefined

    at .<anonymous> (http://p2-sisense-c001:8081/plugins/main.js:3468:29)
    at Function.ce.extend.each (http://p2-sisense-c001:8081/js/common.js?g=gocoAodcg:34:13423)
    at addFilters (http://p2-sisense-c001:8081/plugins/main.js:3465:7)
    at Object.prism.registerWidget.data.buildQuery (http://p2-sisense-c001:8081/plugins/main.js:3539:4)
    at buildWidgetQuery (http://p2-sisense-c001:8081/js/app-main.js?g=gocoAodcg:177:9081)
    at execute (http://p2-sisense-c001:8081/js/app-main.js?g=gocoAodcg:177:9905)
    at http://p2-sisense-c001:8081/js/app-main.js?g=gocoAodcg:6:6529
    at Object.o [as forEach] (http://p2-sisense-c001:8081/js/common.js?g=gocoAodcg:6:788)
    at refresh (http://p2-sisense-c001:8081/js/app-main.js?g=gocoAodcg:6:6495)

     

    0
    Comment actions Permalink
  • Avatar
    Gilad

    The bug that Si described is when you have cascading filters.

    When you have such, then, this.jaql is undefined (addFilters function, line 106)

     

    0
    Comment actions Permalink
  • Avatar
    Kristian

    Yeah, same issue here. Could you please update the plugin to work with cascading dashboard filters? All of our dashboards using this plugin (that have cascading filters) are showing a blank widget now.

    0
    Comment actions Permalink
  • Avatar
    Scott Vickers

    Any way to get this to work when embedding with sisensejs?  The widget is blank and this error is dumped to the console:

    - TypeError: Cannot read property 'size' of undefined
    at w.render (https://localhost/plugins/main.js:4128:71)

    0
    Comment actions Permalink
  • Avatar
    Scott Vickers

    I've updated the render method so it works, not sure if this is the right way or not:

    var style = e.widget.style ? e.widget.style : e.widget.$$model.style;

    $lmnt.empty();
    $lmnt.append( "<div style='padding:10px;font-size:" + style.size + "' align='"+ style.halign + "'>" + res + "</div>" );

    0
    Comment actions Permalink
  • Avatar
    Sergey Borodich

    Can this widget be used with "Download PDF" or email report functionality?

    Every time I try to use these features in a dashboard with smart label, operation fails with "- widget type:smartLabel it not registered."

    Any known workarounds?

    0
    Comment actions Permalink
  • Avatar
    Julien Laroche

    When you select more than one value, only the first one appears in the Smart Label. Let's say that my dashboard filter is the Country and I allow the user to select more than one country at a time. If I select for example Canada and United States, the Smart Label only displays Canada. It can be confusing for the user. Is that supposed to work this way?

    0
    Comment actions Permalink
  • Avatar
    Michael Becker

    @Julien - something seems wrong with current version available for download. The functionality you're writing about was already implemented.

    0
    Comment actions Permalink
  • Avatar
    Julien Laroche

    @Michael - How is it supposed to react when you select more than one value? 

    0
    Comment actions Permalink
  • Avatar
    Michael Becker

    @Julien - as on the last screenshot. You should get Name of Dimension, and then after ":" all selected values separated by coma ",".

    0
    Comment actions Permalink
  • Avatar
    Julien Laroche

    @Michael - Ok, I see. So, I confirm that it's not working for me. I downloaded the last version of the plugin from August 15 2016. Is anybody else experiencing the same problem? Can this be fixed please?

    0
    Comment actions Permalink
  • Avatar
    Ido Darnell

    @Michael @Julien

    We're looking into this and will update you shortly with our progress

    0
    Comment actions Permalink
  • Avatar
    Julien Laroche

    @Ido - Thanks, keep me posted.

    0
    Comment actions Permalink
  • Avatar
    Nattapat Khuvuttayakorn

    How to resize widget's height of smart label on mobile?




    294917.jpg
    0
    Comment actions Permalink
  • Avatar
    Julien Laroche

    @Ido - Any news about my last request? When do you expect it to be fixed?

    0
    Comment actions Permalink
  • Avatar
    Sergey Borodich

    Following up - anyone else has PDF export error with this plugin? It fails with "- widget type:smartLabel it not registered.

    Maybe there's a way to bypass this?

     

    0
    Comment actions Permalink

Please sign in to leave a comment.