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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar