File: fromvalue.txt

package info (click to toggle)
pyx3 0.16-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,880 kB
  • sloc: python: 22,065; ansic: 130; makefile: 93; sh: 8
file content (13 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
Changing the starting values of the bars

To adjust the value the bars are starting at you need to set a `fromvalue` at
the `barpos` style. ... By default the bars start at the baseline not taking
into account its value at all.

!! When setting a `barpos` style explicitely, no other positioning style
instance is needed by the bar style and thus you can set other default values
for the `barpos` style. Note, that as soon as you explicitely set a barpos
style, you can also use other styles requesting a point position at the graph
(since the bar style also initializes a point position). Hence you could for
example replace the bar style in this example by a `graph.style.symbol`
instance.