com.smartgwt.client.widgets.chart

## Interface LineWidthMapper

-     public interface LineWidthMapper

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getWidth(int index, java.lang.Object facetValueId, java.lang.String purpose)` Returns a per-facet-value width for chart data lines.

- - ### Method Detail

    - #### getWidth

          int getWidth(int index,
                       java.lang.Object facetValueId,
                       java.lang.String purpose)

      Returns a per-facet-value width for chart data lines. The Framework will use this width to override any default properties that would otherwise determine `lineWidth` for the `DrawItem`s representing the data.
      Parameters:
        `index` - index of the legend facet value to target
        `facetValueId` - id of the legend facet value to target
        `purpose` - purpose for the requested line width - such as "legend", "line", "area", "points", etc.
      Returns:
        width in pixels
      See Also:
        `com.smartgwt.client.widgets.chart.FacetChart#setDataLineWidth`