how to display label of barseries from both x,y field data ?

  1. #1

    how to display label of barseries from both x,y field data ?

    hi

    i want render '{XField Data} : {YField Data}' format

    how can i ?


    #example
    <Series>
    <ext:BarSeries XField="FILE_NM" YField="COUNT"> <Label display="InsideEnd" Field="???" Color = "#333"> <Renderer Handler = " return ????"> </Label> </BarSeries>
    </Series>
    i want display label like "a.jpg : 2", "b.png : 10" .....
  2. #2
    Hello @jungsunkyo! Your question is not quite clear to me... but here's a wild shot:

    return rendererData.store.getAt(index).data[this.getXField()] + ': ' + text
    I hope this helps!
    Fabrício Murta
    Developer & Support Expert
  3. #3
    Sorry. my question is not clear..

    actually i'm not English speaker, so hard to explain detail

    anyway your code is good for me.

    and i have new question

    i want to play video in page

    how can i use html5 tag in ext.net page or other method for video


    Thanks !
  4. #4
    Hello @jungsunkyo!

    New question goes to new thread, please. Or else the thread will cover a lot of things and will not be helpful for people looking for the same help in the future.

    I hope you understand, and I'm glad we could help with the code snip provided!
    Fabrício Murta
    Developer & Support Expert
  5. #5
    thanks!

    i will post new thread

Similar Threads

  1. Replies: 0
    Last Post: Aug 24, 2017, 9:30 AM
  2. Replies: 6
    Last Post: Jul 25, 2016, 10:22 PM
  3. [CLOSED] Add ChartTip to BarSeries
    By T3rryChan in forum 2.x Legacy Premium Help
    Replies: 8
    Last Post: Jul 09, 2012, 4:16 PM
  4. Replies: 3
    Last Post: Feb 21, 2012, 8:13 AM
  5. [CLOSED] Display Field V/s Label
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Sep 06, 2011, 1:14 PM

Posting Permissions