1. #1
    Sencha User
    Join Date
    Mar 2009
    Posts
    13
    Vote Rating
    0
    e3133d3 is on a distinguished road

      0  

    Default how to change LineChart text location and set the text color?

    how to change LineChart text location and set the text color?


    Hi,
    I'm creating graphs using the LineChart config class. I have 2 questions:
    1. I'm trying to set the text location to the bottom of the chart but couldn't find a way to do so. any idea how?
    2. How to set the text color to different than the line in the chart?
    In the attached screen shot the chart graph line is red, and also the text "Average KiloBytes" is red.

    Here is the code I'm using:

    Code:
    LineChart line = new LineChart();
        line.setAnimateOnShow(false);
        line.setText("Average KiloBytes");
        line.setColour("#FF0000"); //Red
        LineDataProvider lineProvider = new LineDataProvider("x-val", "y-val");
        lineProvider.bind(store);
        line.setDataProvider(lineProvider);
    Attached Images

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..." hd porno faketaxi