Difference between revisions of "Chart2/DataLabels"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (IMPORTANT: Outliers: Improve content)
Line 61: Line 61:
 
== IMPORTANT: Outliers ==
 
== IMPORTANT: Outliers ==
  
Occasionally we have to represent data that contains '''outliers'''. This is currently not easy performed. Consider the following data series: ''1, 2, 3, ..., 9, and 200''.
+
Occasionally we have to represent data that contains '''outliers'''. This is currently not easy performed. Consider the following data series: ''1, 2, 3, ..., 9, 10,'' and ''200''.
  
 
Obviously 200 is far beyond the rest of the data. If we plot a bar-graph, the values ''1-9'' will be barely visible (and have almost the same magnitude), while the value 200 will strike out.
 
Obviously 200 is far beyond the rest of the data. If we plot a bar-graph, the values ''1-9'' will be barely visible (and have almost the same magnitude), while the value 200 will strike out.
Line 73: Line 73:
  
 
e.g.
 
e.g.
   Y-axis
+
   '''Y-axis'''
     ^
+
  210 |
+
     ^        ^
  200 |
+
  210 |        |
  190 |
+
  200 |        |
(a strike
+
  190 |        |
   through    ''OR'' ...
+
    /   ''OR''   ...
  the Y-axis)
+
    /        |
  20  |
+
  20  |        |
  10  |
+
  10  |        |
   0  |
+
   0  |         |
 +
 +
a strike
 +
  through  ''OR''  ...
 +
the Y-axis
  
 
+
This way it is possible to display accurately both the outlier (the ''200'' value) as well as the normal data, enhancing therefore the visualisation of all the relevant data.
This way we will display accurately both the outlier (''200'' value) as well as the rest of the data, and enhance the visualisation of the important data.
+

Revision as of 17:44, 16 August 2007

This list is based primarily on the List of wished enhancements for Charts.


Add colors at the background and borderline

Chart2 DataLabel1.png


Customize automatic positions of datalabels

File:Chart2 DataLabel2.png

  • In column charts the data labels are so far always plositioned on top of the data point rectangle.
  • In Excel, it's possible to define different automatic positions:
    • 564 = external border
    • 514 = internal border
    • 427 = centered
    • 250 = internal based
  • covered in http://www.openoffice.org/issues/show_bug.cgi?id=63857


Free positioning of data labels

Chart2 DataLabel3.png


The data label number formatting is the same as the axis number formating

File:Chart2 DataLabel4.png


Rotate the labels

File:Chart2 DataLabel5.png


Rotate labels like a clock

File:Chart2 DataLabel6.png


Manually modify the text of a label

Chart2 DataLabel7.png

IMPORTANT: Outliers

Occasionally we have to represent data that contains outliers. This is currently not easy performed. Consider the following data series: 1, 2, 3, ..., 9, 10, and 200.

Obviously 200 is far beyond the rest of the data. If we plot a bar-graph, the values 1-9 will be barely visible (and have almost the same magnitude), while the value 200 will strike out.

Workaround

To solve this issue, we need to be able to split the Y-Axis into 2 sections:

  • first section could be from 0 to 20
  • then it follows a short empty space (Y axis is discontinuous)
  • and the 2nd Y-axis, which contains values around 200

e.g.

  Y-axis

    ^         ^
210 |         |
200 |         |
190 |         |
    /   OR   ...
    /         |
20  |         |
10  |         |
 0  |         |

a strike
 through   OR  ...
the Y-axis

This way it is possible to display accurately both the outlier (the 200 value) as well as the normal data, enhancing therefore the visualisation of all the relevant data.

Personal tools