Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jul 2011
    Posts
    6
    Vote Rating
    0
    pankymishr is on a distinguished road

      0  

    Default 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

    Code:
    series: [{
    type: 'scatter',
    markerConfig: {type:'image',src:'abc.jpg'},
    axis: 'right',
    xField: 'name',
    yField: 'data1'
    }
    Can you please anyone let me know how can i get the image on the chart for marker.

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Answers
    17
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    The marker types are defined in Shapes. We may be able to create an image there, I'll see how that goes.

  3. #3
    Sencha User
    Join Date
    Jul 2011
    Posts
    6
    Vote Rating
    0
    pankymishr is on a distinguished road

      0  

    Default


    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.

  4. #4
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Answers
    17
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Well be sure to update the docs with the shapes.

  5. #5
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Answers
    17
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    I'm getting this added in for the next release in the line example as well as updating the documentation.

  6. #6
    Sencha User
    Join Date
    Aug 2011
    Posts
    6
    Vote Rating
    2
    ctavan is on a distinguished road

      0  

    Default


    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
    Code:
              markerConfig: {
                type: 'image',
                src: 'you_marker_url.png',
                size: 50
              },
    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!

    chart_Shape_image.txt
    Cheers,
    Christoph Tavan

    We are hiring freelance and/or Berlin-based inhouse developers! Check out mbr-targeting.com

  7. #7
    Sencha User
    Join Date
    Oct 2011
    Posts
    26
    Vote Rating
    1
    hundare is on a distinguished road

      0  

    Default


    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!

  8. #8
    Sencha User
    Join Date
    Aug 2011
    Posts
    6
    Vote Rating
    2
    ctavan is on a distinguished road

      0  

    Default


    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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..."