Results 1 to 2 of 2

Thread: column chart color

  1. #1
    Sencha User
    Join Date
    Sep 2009
    Posts
    29

    Default column chart color

    Hi,
    is it possible to have different chart color for data below 90% of yField ?
    Thanks a lot for any tips,
    D.

    Code:
        var chart = new Ext.Panel({
           iconCls:'chart',
            title: 'availability per hour',
            frame:true,
            items: {
                xtype: 'columnchart',
                store: chart_store2,
                xField: 'hh',
                yField: 'avail',
                yAxis: new Ext.chart.NumericAxis({
                    title: '[%]',
                    maximum: 100
                }),
                xAxis: new Ext.chart.CategoryAxis({
                    title: 'hour'
                })
            }
        });

  2. #2
    Ext JS Premium Member
    Join Date
    Jun 2009
    Location
    Switzerland
    Posts
    83

    Default

    Hi

    Have you looked into the sample (http://dev.sencha.com/deploy/dev/exa...rt/charts.html)? I think "series" could be interesting for you. Search the docs for "extraStyle" here -> http://dev.sencha.com/deploy/dev/doc...rt.ColumnChart
    Talk to me on Twitter @patmatsumura

Similar Threads

  1. Update column chart color.
    By vakillanet in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 19 Jul 2010, 9:16 AM
  2. How do you change the color of a series in a pie chart?
    By DaveX in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 24 Sep 2009, 10:02 AM
  3. Could Column chart colorful?
    By shane_china in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 19 May 2009, 6:22 PM
  4. changing the color of one column based on value of another column
    By larksys in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 16 Apr 2009, 1:04 AM
  5. [Solved]change column color of single row(grid column names row)
    By amey7p in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 14 Feb 2008, 3:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •