Hi.

Does anyone know if it possible to use type="categorical" on either the <verticalaxis/> or <horizontalaxis/> within a <linechart/> tag?

So far I can only use axis type="linear" within <linechart/>.

I can imagine a linechart plots "points" and as such data on both axis must be numerical. That said what I'd like to do seems reasonable (although perhaps not for a linechart): I would like to be able to chart a set of numerical data in a linechart where each data point [a sales figure for example] on the linechart corresponds to a categorical value [a financial quarter for example] on the horizontal axis below it. Simplified sample data below.

I have found no problems mixing linear and categorical axis types within <barchart> or <columnchart/> tags.

Any help appreciated.

David

<chartdata>
<!-- HorizontalAxis: Month -->
<domain>
  <data>Jan</data>
  <data>Feb</data>
  <data>Mar</data>
  <data>Apr</data>
</domain>
<!-- VerticalAxis: Sales Volume -->
<range>
  <data>10</data>
  <data>8</data>
  <data>12</data>
  <data>14</data>
</range>
</chartdata>

Reply via email to