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.
11:55 AM
|
Labels:
Flex Controls Samples,
Flex Samples
|
This entry was posted on 11:55 AM
and is filed under
Flex Controls Samples
,
Flex Samples
.
You can follow any responses to this entry through
the RSS 2.0 feed.
You can leave a response,
or trackback from your own site.
0 comments:
Post a Comment