function style(extra, dataIndexInside) {
        dataIndexInside == null && (dataIndexInside = currDataIndexInside);
        updateCache(dataIndexInside);

        var itemStyle = currItemModel.getModel(ITEM_STYLE_NORMAL_PATH).getItemStyle();

        currVisualColor != null && (itemStyle.fill = currVisualColor);
        var opacity = data.getItemVisual(dataIndexInside, 'opacity');
        opacity != null && (itemStyle.opacity = opacity);

        graphicUtil.setTextStyle(itemStyle, currLabelNormalModel, null, {
            autoColor: currVisualColor,
            isRectText: true
        });

        itemStyle.text = currLabelNormalModel.getShallow('show')
            ? zrUtil.retrieve2(
                customSeries.getFormattedLabel(dataIndexInside, 'normal'),
                getDefaultLabel(data, dataIndexInside)
            )
            : null;

        extra && zrUtil.extend(itemStyle, extra);
        return itemStyle;
    }
function style(extra, dataIndexInside) {
        dataIndexInside == null && (dataIndexInside = currDataIndexInside);
        updateCache(dataIndexInside);

        var itemStyle = currItemModel.getModel(ITEM_STYLE_NORMAL_PATH).getItemStyle();

        currVisualColor != null && (itemStyle.fill = currVisualColor);
        var opacity = data.getItemVisual(dataIndexInside, 'opacity');
        opacity != null && (itemStyle.opacity = opacity);

        graphicUtil.setTextStyle(itemStyle, currLabelNormalModel, null, {
            autoColor: currVisualColor,
            isRectText: true
        });

        itemStyle.text = currLabelNormalModel.getShallow('show')
            ? zrUtil.retrieve2(
                customSeries.getFormattedLabel(dataIndexInside, 'normal'),
                getDefaultLabel(data, dataIndexInside)
            )
            : null;

        extra && zrUtil.extend(itemStyle, extra);
        return itemStyle;
    }
function style ( extra , dataIndexInside ) { dataIndexInside == null && ( dataIndexInside = currDataIndexInside ) ; updateCache ( dataIndexInside ) ; var itemStyle = currItemModel . getModel ( ITEM_STYLE_NORMAL_PATH ) . getItemStyle ( ) ; currVisualColor != null && ( itemStyle . fill = currVisualColor ) ; var opacity = data . getItemVisual ( dataIndexInside , 'opacity' ) ; opacity != null && ( itemStyle . opacity = opacity ) ; graphicUtil . setTextStyle ( itemStyle , currLabelNormalModel , null , { autoColor : currVisualColor , isRectText : true } ) ; itemStyle . text = currLabelNormalModel . getShallow ( 'show' ) ? zrUtil . retrieve2 ( customSeries . getFormattedLabel ( dataIndexInside , 'normal' ) , getDefaultLabel ( data , dataIndexInside ) ) : null ; extra && zrUtil . extend ( itemStyle , extra ) ; return itemStyle ; }
By default, `visual` is applied to style (to support visualMap).
`visual.color` is applied at `fill`. If user want apply visual.color on `stroke`,
it can be implemented as:
`api.style({stroke: api.visual('color'), fill: null})`;
@public
@param {Object} [extra]
@param {number} [dataIndexInside=currDataIndexInside]
By default visual is applied to style ( to support visualMap ) . visual . color is applied at fill . If user want apply visual . color on stroke it can be implemented as : api . style ( { stroke : api . visual ( color ) fill : null } ) ;
Returns the style for the item