-
26 Jul 2011 8:05 AM #1
Unanswered: Image/text is not getting added on Scatter Chart
Unanswered: Image/text is not getting added on Scatter Chart
Hi
I have requirement to show image/text on the chart.Scatter is more appropiate but when i update the series by passing config object for markerConfig it's not getting refelected. It seems that it is working for circle only.
I tried for Image like
Can you please anyone let me know how can i get the image on the chart for marker.Code:series: [{ type: 'scatter', markerConfig: {type:'image',src:'abc.jpg'}, axis: 'right', xField: 'name', yField: 'data1' }
-
26 Jul 2011 2:41 PM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
- Answers
- 17
The marker types are defined in Shapes. We may be able to create an image there, I'll see how that goes.
-
27 Jul 2011 7:18 AM #3
Thanks Jemie for your reply. Actually i am not finding any class called Shapes in Sencha touch chart API docs.And i feel that doc should contain more info like for markerConfig option of scatter series.It does not showing how we can create markerConfig option. Actually i wanted to show images instead of default circle that is coming for Scatter chart.
-
29 Jul 2011 11:17 AM #4Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
- Answers
- 17
Well be sure to update the docs with the shapes.
-
29 Jul 2011 11:37 AM #5Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,651
- Vote Rating
- 14
- Answers
- 17
I'm getting this added in for the next release in the line example as well as updating the documentation.
-
1 Sep 2011 7:01 AM #6
Hey Guys,
since I needed this feature as well I've added a new shape calles 'image' which can be used as a marker using
I've attached the corresponding patch to this post. I hope this is helpful for other people and I'd love to see this feature in a future release!Code:markerConfig: { type: 'image', src: 'you_marker_url.png', size: 50 },
chart_Shape_image.txtCheers,
Christoph Tavan
We are hiring freelance and/or Berlin-based inhouse developers! Check out mbr-targeting.com
-
5 Jul 2012 10:54 PM #7
Hi ctavan,
Iam using touch charts 2.0 beta and it seems they have included your patch for image in shape.js .
I tried implementing the way you did above but did not succeed in getting the image on the scatter chart.
Can you plz help!
Thanks!
-
5 Jul 2012 11:24 PM #8
I have to admit that we discontinued using ExtJS some time ago, sorry I cant provide useful help.
Cheers,
Christoph Tavan
We are hiring freelance and/or Berlin-based inhouse developers! Check out mbr-targeting.com
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote