Package com.smartgwt.client.widgets.chart

# Interface LineWidthMapper

public interface LineWidthMapper

- ## Method Summary

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

- ## Method Details

  - ### getWidth

    int getWidth(int index, Object facetValueId, 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`