Search Flex Samples

Flex Dashed Lines

I get requests for dashed and dotted lines in the flex charts probably about once a week. Writing a dashed line routine is a little tricker than it sounds at first, if you want to make sure the dashes render correctly at arbitrary angles and across multiple segments of a poly-line. So here, for your use and education, is a Utility routine for rendering dashed lines in flash, and a simple LineSeries renderer that makes use of it.
The source, as always, is available under the MIT open source license, so you can do whatever zany thing you crazy kids want with it.
* Dashed line sample
* view source
* download source
Feedback or thoughts on the controls are much appreciated. Leave comments, suggestions, criticisms here.

0 comments:

Related Flex Samples

Learn Flex: Flex Samples | Flex Video Tutorials Flex Examples