Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7726571
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:14:55+00:00 2026-06-01T05:14:55+00:00

I’ve run into an issue while using ExtJS 4.0.7. I’m trying to display a

  • 0

I’ve run into an issue while using ExtJS 4.0.7.

I’m trying to display a chart with two series on a Numeric/Category Chart. The chart displays correctly in Firefox, but while using Chrome (18.0.1025.142) the x axis labels are either all stacked upon each or else (when using rotate) rendered behind the chart in the specified angle. Any ideas would be appreciated.

Screen shot in Firefox:
Firefox render of chart

Screen Shot in Chrome:
Chrome render of chart

And the code that’s used to generate both:

    Ext.require(['Ext.chart.*']);
    Ext.onReady(function() {
    var iChartWidth     = 800;                  //  Defines chart width
var iChartHeight    = 550;                  //  Defines chart height
Ext.define('RulesCreatedModel',{
    extend:'Ext.data.Model',
    fields:[
        {name:'sHourName',  type:'string'},
        {name:'User_2',     type:'number'},
        {name:'User_1',     type:'number'},
    ]
});
var RulesCreatedStore = Ext.create('Ext.data.Store',{
    id:'RulesCreatedStore',
    model:'RulesCreateModel',
    fields: [ 'sHourName','dayNum','hour','User_2','User_1'],
    data:[{
        'sHourName':'3pm',      
        'User_1':82,
        'User_2':56
    },{
        'sHourName':'4pm',
        'User_1':39,
        'User_2':44
    },{
        'sHourName':'5pm',
        'User_1':80,
        'User_2':14
    },{
        'sHourName':'6pm',
        'User_1':55,
        'User_2':0,
    },{
        'sHourName':'7pm',
        'User_1':36,
        'User_2':0,
    },{
        'sHourName':'8pm',
        'User_1':66,
        'User_2':0
    },{
        'sHourName':'9pm',
        'User_1':39,
        'User_2':0,
    },{
        'sHourName':'10pm',
        'User_1':0,
        'User_2':0
    },{
        'sHourName':'11pm',
        'User_1':0,
        'User_2':0
    },{
        'sHourName':'12am',
        'User_1':0,
        'User_2':0
    },{
        'sHourName':'1am',
        'User_1':0,
        'User_2':0
    },{
        'sHourName':'2am',
        'User_1':0,
        'User_2':0
    },{
        'sHourName':'3am',
        'User_1':0,
        'User_2':0
    },{
        'sHourName':'4am',
        'User_1':0,
        'User_2':0
    },{
        'sHourName':'5am',
        'User_1':0,
        'User_2':0
    },{
        'sHourName':'6am',
        'User_1':0,
        'User_2':0
    },{
        'sHourName':'7am',
        'User_1':0,
        'User_2':1
    },{
        'sHourName':'8am',
        'User_1':0,
        'User_2':99
    },{
        'sHourName':'9am',
        'User_1':0,
        'User_2':28
    },{
        'sHourName':'10am',
        'User_1':0,
        'User_2':28
    },{
        'sHourName':'11am',
        'User_1':0,
        'User_2':153
    },{
        'sHourName':'12pm',
        'User_1':0,
        'User_2':58
    },{
        'sHourName':'1pm',
        'User_1':0,
        'User_2':42
    },{
        'sHourName':'2pm',
        'User_1':20,
        'User_2':10
    }]
});
Ext.create('Ext.chart.Chart',{
    id:         'RulesWrittenChart',
    renderTo:   'StatCharts_Display',
    width:      iChartWidth,
    height:     iChartHeight,
    animate:    true,
    store:      RulesCreatedStore,
    axes:       [{
        type:       'Numeric',
        position:   'left',
        fields:     ['User_2','User_1'],
        title:      'Rules Written',
        grid:       true
    },{
        type:       'Category',
        position:   'bottom',
        fields:     ['sHourName'],
        title:      'Hour',
        grid:       false,
        label: {
            rotate: {
                degrees: 315
            }
        }
    }],
    series: [{
        type:       'line',
        axis:       'left',
        xField:     'sHourName',
        yField:     'User_2',
        highlight:  {
            size:   3,
            radius: 3
        }
    },{
        type:       'line',
        axis:       'left',
        xField:     'sHourName',
        yField:     'User_1',
        highlight:  {
            size:   3,
            radius: 3
        }
    }]
});
    });
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T05:14:57+00:00Added an answer on June 1, 2026 at 5:14 am

    It appears to be an issue with Chrome 18. See this bug: http://code.google.com/p/chromium/issues/detail?id=112713

    One commenter suggests it is fixed for them in Chrome 19.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
That's pretty much it. I'm using Nokogiri to scrape a web page what has
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I am reading a book about Javascript and jQuery and using one of the
I would like to run a str_replace or preg_replace which looks for certain words
In my XML file chapters tag has more chapter tag.i need to display chapters
I have this code to decode numeric html entities to the UTF8 equivalent character.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.