Changing scatter chart point marker shape

Comments

9 comments

  • Avatar
    Expand Dev

    This looks really good, but I can't seem to get it to work. 

     

    Is this still available with the new version of sisense?

     

    Thanks, James

  • Avatar
    Analytics & Insights

    I would like to know about it, to.

    I am trying to use it, but it doesn't works.

     

    Thanks, Camila.

  • Avatar
    Oleg Fil

    Hi James, Camila,

    The plugin indeed is not compatible to the new Sisense version. Please try to make the following modifications to the main.js file (line 23 and line 40). This should help:

  • Avatar
    Expand Dev

    Thanks, this works well, althout the legend does not show an icon unfortunately.

  • Avatar
    Analytics & Insights

    I am having the same problem that James - see the image below - the icon of the legend disappears:

     

  • Avatar
    Analytics & Insights

    Oleg,

    Do you have any idea of how can we fix it?

  • Avatar
    Oleg Fil

    Please find a fixed main.js here: https://drive.google.com/open?id=12nT923TYl9rCw0Gr80074i0WrbFuwuKf 

  • Avatar
    Analytics & Insights

    Oleg, thank you so much!

    It works perfectly to me.

  • Avatar
    Delsaran Bigglesworth

    I'm trying to round that corners of the square, and can't seem to figure it out. 

    'square': function (x, y, w, h) {
                          return [
                               'M', x, y,
                                'L', x + w, y,
                                 x + w, y + h,
                                 x, y + h,
                               'Z'
                   ];
    },

    I'm not understanding whats going on here, 'L' is the path but I don't understand how it knows x and w... Any help would be great.

Please sign in to leave a comment.