I’m trying to set the axisStroke style on AxisRenderer via CSS. It’s of type IStroke. How do I create a Stroke in CSS?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Someone 🙂 suggested I should post a link to my InsideRIA about how to “tweak” a CSSStyleDeclaration to add the stroke information so that you don’t have to override AxisRenderer (or have an explicit AxisRenderer at all) http://insideria.com/2010/08/usinc-css-for-strokes-on-flex.html,
Additionally, I’d like to add that I’ve started dealing with custom styles in a way that’s a little different than how the examples show. It looks something like this:
It’s a little more verbose than what you usually see, especially if there are multiple properties you need to look at. However, it sidesteps issues about styles applied in MXML vs. CSS style declaration, as well as what happens when a style changes. It’s also “lazy”, and so may not get called if it is not needed.