## <sas-g:XAxisModel>

The XAxisModel tag encapsulates the attributes specific to the x axis of a scatter plot.

This tag must be nested within a sas-g:ScatterPlotModel or sas-g:LinePlotModel tag.

### Syntax

`<sas-g:XAxisModel
[categories="java.lang.String"]
[continuousMajorTickAnchor="java.lang.Double"]
[continuousMajorTickCount="java.lang.Integer"]
[continuousMajorTickInterval="java.lang.Double"]
[continuousMajorTickPositionPolicy="Default|Count|Interval|AnchoredInterval|UserDefined"]
[continuousMajorTickValues="java.lang.String"]
[continuousMinorTickCount="java.lang.Integer"]
[endOffset="java.lang.String"]
[gridInFront="java.lang.Boolean"]
[id="value"]
[label="java.lang.String"]
[majorTickTimeInterval="java.lang.Integer"]
[maximum="java.lang.Double"]
[minimum="java.lang.Double"]
[reverseDirection="java.lang.Boolean"]
[startOffset="java.lang.String"]
[visible="java.lang.Boolean"]>
[<sas-g:GridLineStyle ...>
[<sas-g:BasicStroke ...>
[<sas-g:DashSegment ...>
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:DashSegment>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:DashSegment>, <sas-g:SetProperty> tags...]
</sas-g:BasicStroke>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:GridLineStyle>]
[<sas-g:LabelTextStyle ...>
[<sas-g:ShadowStyle ...>
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:ShadowStyle>]
[<sas-g:Font ...>
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:Font>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:LabelTextStyle>]
[<sas-g:ValueTextStyle ...>
[<sas-g:ShadowStyle ...>
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:ShadowStyle>]
[<sas-g:Font ...>
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:Font>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:ValueTextStyle>]
[<sas-g:AxisLineStyle ...>
[<sas-g:BasicStroke ...>
[<sas-g:DashSegment ...>
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:DashSegment>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:DashSegment>, <sas-g:SetProperty> tags...]
</sas-g:BasicStroke>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:AxisLineStyle>]
[<sas-g:MajorTickStyle ...>
[<sas-g:LineStyle ...>
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:LineStyle>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:MajorTickStyle>]
[<sas-g:MinorTickStyle ...>
[<sas-g:LineStyle ...>
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:LineStyle>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:MinorTickStyle>]
[<sas-g:MajorTickValues/>]
[<sas-g:ReferenceLineModel ...>
[<sas-g:StrokeLineStyle ...>
[<sas-g:BasicStroke ...>
[<sas-g:DashSegment ...>
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:DashSegment>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:DashSegment>, <sas-g:SetProperty> tags...]
</sas-g:BasicStroke>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:StrokeLineStyle>]
[<sas-g:TextStyle ...>
[<sas-g:ShadowStyle ...>
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:ShadowStyle>]
[<sas-g:Font ...>
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:Font>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:TextStyle>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:SetProperty> tags...]
</sas-g:ReferenceLineModel>]
[<sas-g:SetProperty ...>
The value to set on the parent tag
</sas-g:SetProperty>]
[Additional <sas-g:ReferenceLineModel>, <sas-g:SetProperty> tags...]
</sas-g:XAxisModel>`

### Attributes

`categories` | The categories to set
`continuousMajorTickAnchor` | The continuousMajorTickAnchor to set
`continuousMajorTickCount` | The continuousMajorTickCount to set
`continuousMajorTickInterval` | The continuousMajorTickInterval to set
`continuousMajorTickPositionPolicy` | The continuousMajorTickPositionPolicy to set
`continuousMajorTickValues` | The continuousMajorTickValues to set
`continuousMinorTickCount` | The continuousMinorTickCount to set
`endOffset` | The endOffset to set
`gridInFront` | The gridInFront to set
`id` | Case-sensitive name used to identify the object instance.
`label` | The label to set
`majorTickTimeInterval` | The majorTickTimeInterval to set
`maximum` | The maximum value of the axis range
`minimum` |
`reverseDirection` | The reverseDirection to set
`startOffset` | The startOffset to set
`visible` | The visible to set

### More Information

To view the documentation for the related InformationBean, see com.sas.graphics.components.AxisModel.

If you need to subclass the tag handler class for the sas-g:XAxisModel tag, extend com.sas.taglib.graphics.components.XAxisModelTag.