Wiki Markup |
---|
{scrollbar} ---- h3. XY Line Chart {anchor:xylinechart} The XY line chart consists of pairs of values (plotted as points) on a line for each series in the given dataset. An XY line chart will have two numeric axes. h5. Dataset Guidelines The XY line chart expects its data as an [XY dataset|The XY Dataset]. h5. Required Properties The following properties are required by an XY line chart: *chart-type* {code:XML} <chart-type>LineChart</chart-type> {code} *dataset-type* {code:XML} <dataset-type>XYSeriesCollection</dataset-type> {code} The optional chart properties that are supported for an xyXY line chart are listed in the [Chart Properties Reference]. h5. Example The following chart definition will produce the chart in the example below. {code:XML} <chart> <chart-type>LineChart</chart-type> <dataset-type>XYSeriesCollection</dataset-type> <title>XY Series Sample Chart</title> <line-style>solid</line-style> <line-width>1</line-width> <markers-visible>true</markers-visible> <chart-background type="color">#FFFFFF</chart-background> <plot-background type="color">#FFFFFF</plot-background> <height>550</height> <width>650</width> <color-palette> <color>#EE7733</color> <color>#9EAA36</color> <color>#BF0000</color> <color>#FCCF12</color> <color>#772200</color> <color>#DDCC88</color> <color>#123D82</color> <color>#4A0866</color> <color>#445500</color>- <color>#FFAA00</color> <color>#1E8AD3</color> <color>#AA6611</color> <color>#772200</color> </color-palette> <include-legend>true</include-legend> </chart> {code} !sample_xychart_by_column.png! |
Page Comparison
Manage space
Manage content
Integrations