Changing Indicator Styles Using the Indicator API (versions 6.7.1+)

Comments

3 comments

  • Avatar
    Brian Wilson

    Hi Jason,

    I'm trying to move beyond the "Big" size into a giant/fullscreen size.

    Is there any way to increase the canvas size at the same time?

    I'm able to get giant text via:

    var options = { 
    value: { 
    fontSizes: { 
    big: '400pt' 
    }, 
    }, 
    }; 
    w.indicatorInstance.setOptions('numericSimple', options); 
    });

    But, it's big text seen through a tiny window and increasing the canvas size seems to just stretch the visible pixels rather than increasing the size of the window.

    0
    Comment actions Permalink
  • Avatar
    Jason Sears

    Hi Brain,

    I checked for a programmatic way to apply the canvas dimension along with the other settings, but this doesn't appear to exist as an externally configurable option at the moment.

    Currently, the mechanics of setting the canvas dimensions are tightly coupled with the implementation of the render function.

    All the best,

    Jason

     

    0
    Comment actions Permalink
  • Avatar
    Jessie Wang

    Hi Jason, is it possible to display the color bracket value?  For example, in the dial above, the orange bracket indicates 0-25, green bracket 26-50, etc.  I would like to display a "25" at the orange-green meeting point, a "50" at the green-blue meeting point.

    0
    Comment actions Permalink

Please sign in to leave a comment.