Type: | vector |
---|---|

Inherited: | no |

Used By: | Graph elements |

Default: | 1,0,0 |

See: | light-level |

Set the vector of where the light used to shade the graph is coming from.

The default is `1,0,0`, which makes the light appear to come from the right side of the graph. A value of `-1,0,1` would put the light to the left and in front of the graph, while a vector of `0,-1,0` would put the light directly underneath the graph, for a strange result indeed.

The light is assumed to be coming from an infinite distance away in the specified direction, so don't worry about the length of the vector.

Set a strong shadow coming from the upper right corner of the graph

piegraph { light-level:100; light-vector:10,5,0; }