PDA

View Full Version : How to use extjs4 to draw vertical line in a chart?



Fent2
29 Feb 2016, 12:37 AM
How to use extjs4 to draw vertical line in a chart ?
like the pic below, the red line( I use photoshop to add it)
ths!

Gary Schlosberg
1 Mar 2016, 3:52 PM
Here's an example that might help you with that.
https://fiddle.sencha.com/#fiddle/16h2

Fent2
1 Mar 2016, 4:51 PM
Here's an example that might help you with that.https://fiddle.sencha.com/#fiddle/16h2 This example only draw horizontal line,
but i want to draw vertical line ,like the picture show

Gary Schlosberg
2 Mar 2016, 7:02 PM
You can use the draw package and draw a zero width rectangle to serve as a vertical line.
http://docs.sencha.com/extjs/4.2.1/#!/guide/drawing