# function-smoothness attribute

Type: | number
Inherited: | no
Used By: | areagraph, linegraph
Default: | 30
See: | max-data-points

If you're plotting simplecurve elements on a linegraph or areagraph, how many steps to divide the curve into. Higher numbers give smoother curves, but slower rendering times.

    <linegraph min-x="'-3.14" max-x="3.14" min-y="-100" max-y="100" function-smoothness="50">
      <simplecurve name="Tangent" method="java.lang.Math.tan"/>
    </linegraph>