Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User HarryC's Avatar
    Join Date
    Mar 2007
    Location
    London, England
    Posts
    89
    Vote Rating
    0
    HarryC is on a distinguished road

      0  

    Default LineChart - alwaysShowZero

    LineChart - alwaysShowZero


    I have a problem with LineCharts with Ext 3.0. I have set alwaysShowZero to false for my yAxis as my data is often very similar values (currencies) and so have to have the minimum set to the lowest value. This works fine when I have numbers around 10. But when doing UK Sterling to US Dollars for instance the values are always around 1.5 and the chart displays no data. If I set the minimum and maximum manually it displays (but then it's ignoring the alwaysShowZero flag then in any case). I can't do this however as I wish it to always automatically work out the bounds.

    For now I have to remove the alwaysShowZero flag so my chart displays something for these values, but it's almost useless then as the units are then so large you can't see the difference on the chart. Example chart show below.

    Does anyone know how to get this to work?

    Last edited by HarryC; 25 Sep 2009 at 6:35 AM. Reason: added sample chart image

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    82
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    How did you configure adjustMaximumByMajorUnit, adjustMinimumByMajorUnit and majorUnit?

  3. #3
    Sencha User HarryC's Avatar
    Join Date
    Mar 2007
    Location
    London, England
    Posts
    89
    Vote Rating
    0
    HarryC is on a distinguished road

      0  

    Default


    Condor thanks for the reply,

    I didn't have any of these values set although I'd tried using majorUnit before without success. Playing around now and I set majorUnit to 0.1 which looks much better in most cases. But for some currencies I'd really like it to be 1. Is there a way of setting this programmatically before/after load?

    I don't see adjustMaximumByMajorUnit or adjustMinimumByMajorUnit anywhere in the docs and can't get them to do anything. But then I can't even say where it says the LineChart has an Axis so I guess I just don't know where I should be looking. *blush*

    Getting there though, thanks for the pointer.

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    82
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    They are indeed config options of NumericAxis (see YUI docs).

  5. #5
    Sencha User HarryC's Avatar
    Join Date
    Mar 2007
    Location
    London, England
    Posts
    89
    Vote Rating
    0
    HarryC is on a distinguished road

      0  

    Default


    I realise the Ext Charts use YUI, I assumed it was just a subset and any parameters not mention in the Ext 3.0 docs meant they were unsupported. Thus I'd never looked too much into the YUI documentation for charting. I think it would be helpful if the Ext Docs told people to check YUI for more details.

    But thanks, I'll go read them.

Thread Participants: 1