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 omari_yousef's Avatar
    Join Date
    Jul 2010
    Posts
    105
    Vote Rating
    0
    omari_yousef is on a distinguished road

      0  

    Default Unanswered: senca touch 2 chart

    Unanswered: senca touch 2 chart


    hi every body >>
    i need sencha touch 2 charts

    i download beta version
    but when i try to generate app from it using sdk >>>

    it said
    can not find ... \ command\sencha.js

    is there any other lib
    than can generate application >>or any way to do that?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    This is due to the fact that the touch charts release doesn't have command in it. You should be in the ST2 directory, do the create app call to generate the application. Then in your application you should setup a path for Ext.chart to point to the location of the touch charts and then require the classes. Not you should be able to develop with them and also when you build it should build the required classes in the build. Don't forget about the SASS...

    Here is my config.rb for an example:

    Code:
    # Get the directory that this configuration file exists in
    dir = File.dirname(__FILE__)
    
    # Load the sencha-touch framework automatically.
    load File.join(dir, '..', '..', 'sdk', 'resources', 'themes')
    
    # Load the charts framework automatically.
    load File.join(dir, '..', '..', 'assets', 'charts-2.0.0', 'resources', 'themes')
    
    # Compass configurations
    sass_path = dir
    css_path  = File.join(dir, "..", "css")
    
    # Require any additional compass plugins here.
    images_dir   = File.join("..", "images")
    
    ## This is for development
    environment  = :development
    output_style = :expanded
    ## This is for production
    #output_style = :compressed
    #environment  = :production
    
    module Sass::Script::Functions
      def chart_image(path, mime_type = nil)
        path = path.value
        images_path = File.join(File.dirname(__FILE__), "..", "..", "assets", "charts-2.0.0", "resources", "images", path)
        inline_image_string(data(images_path), compute_mime_type(path, mime_type))
      end
    end
    And my app.scss:

    Code:
    @import 'sencha-touch/default/all';
    
    // You may remove any of the following modules that you
    // do not use in order to create a smaller css file.
    @include sencha-panel;
    @include sencha-buttons;
    @include sencha-sheet;
    @include sencha-picker;
    @include sencha-tabs;
    @include sencha-toolbar;
    @include sencha-toolbar-forms;
    @include sencha-indexbar;
    @include sencha-list;
    @include sencha-list-paging;
    @include sencha-list-pullrefresh;
    @include sencha-loading-spinner;
    @include sencha-layout;
    @include sencha-carousel;
    @include sencha-form;
    @include sencha-msgbox;
    
    // Charts stuff here
    @import 'compass/css3';
    @import 'touch-charts/default/all';
    
    @include touch-charts-draw;
    @include touch-charts-chart;
    @include touch-charts-toolbar;
    @include touch-charts-panzoom;
    @include touch-charts-legend;
    
    // Your custom code goes here...
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User omari_yousef's Avatar
    Join Date
    Jul 2010
    Posts
    105
    Vote Rating
    0
    omari_yousef is on a distinguished road

      0  

    Default


    i do what u said but this error is shown >

    Code:
    Uncaught TypeError: Cannot read property 'pseudos' of undefined

  4. #4
    Sencha User omari_yousef's Avatar
    Join Date
    Jul 2010
    Posts
    105
    Vote Rating
    0
    omari_yousef is on a distinguished road

      0  

    Default


    it's woork

    thhhhaaanx mitchellsimoens

  5. #5
    Sencha User omari_yousef's Avatar
    Join Date
    Jul 2010
    Posts
    105
    Vote Rating
    0
    omari_yousef is on a distinguished road

      0  

    Default


    when i try to build production of the application and then run the index i got error

  6. #6
    Sencha User omari_yousef's Avatar
    Join Date
    Jul 2010
    Posts
    105
    Vote Rating
    0
    omari_yousef is on a distinguished road

      0  

    Default


    the application work but i got this error when i build production

    Code:
    Application Cache Error event: Invalid manifest mime type (application/x-ms-manifest) http://127.0.0.1/touch/chart/build/production/cache.manifest

  7. #7
    Sencha User
    Join Date
    Sep 2011
    Location
    Chennai, Tamil Nadu
    Posts
    24
    Vote Rating
    0
    Jay Tanwar is on a distinguished road

      0  

    Default Cannot read property 'pseudos' of undefined

    Cannot read property 'pseudos' of undefined


    Hi omari_yousef,
    I followed the same way and am also getting the error:
    Code:
    Cannot read property 'pseudos' of undefined
    As I can see, you also got this error and then you could fix it. Can you please guide me how you solved this problem.

    Thanks

  8. #8
    Sencha User
    Join Date
    Sep 2011
    Location
    Chennai, Tamil Nadu
    Posts
    24
    Vote Rating
    0
    Jay Tanwar is on a distinguished road

      0  

    Default Solved..

    Solved..


    Quote Originally Posted by Jay Tanwar View Post
    Code:
    Cannot read property 'pseudos' of undefined
    Got it working.. We have to use "sencha-touch.js" from "touch chart 2.0 beta" folder instead of from "sencha touch 2.0 final" folder.

  9. #9
    Sencha User omari_yousef's Avatar
    Join Date
    Jul 2010
    Posts
    105
    Vote Rating
    0
    omari_yousef is on a distinguished road

      0  

    Default


    i think you must use the hole library of sencha touch >>>
    use this library
    "sencha-touch-all.js"

  10. #10
    Sencha User omari_yousef's Avatar
    Join Date
    Jul 2010
    Posts
    105
    Vote Rating
    0
    omari_yousef is on a distinguished road

      0  

    Default


    good >>>> in the usual case the application come with "mm lit's called it light lib"
    to make the chart work correctly u must use the full lib

Thread Participants: 2