Chartbreaker
    Preparing search index...

    Enumeration EScaleConst

    constants for easier access to chart scales

    PRIMARY and SECONDARY are contant ids that are identical in every chart; however, the left scale is optional and might not always exist

      const rightScale = controller.getObject({ objType: 'scale', id: BG.charts.Chart.EScale.PRIMARY }, chart);  // NEVER null
    const leftScale = controller.getObject({ objType: 'scale', id: BG.charts.Chart.EScale.SECONDARY }, chart); // could be null

    Additional "invisible" scales have dynamically generated ids starting at SCREEN. This means that you even if there are 3 scales in a chart, the id SCREEN might not actually be in use. Instead you can use it to check if a given scale id is for an "invisible" scale

      const isInvisibleScale = (scale.get('id') >= BG.charts.Chart.EScale.SCREEN);
    
    Index

    Enumeration Members

    Enumeration Members

    PRIMARY: 0
    SCREEN: 2
    SECONDARY: 1