Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: How big can a heat grid be?

  1. #1

    Default How big can a heat grid be?

    I am trying to create a large hear grid, say 500x200.

    Seems to work fine if I run this through firefox, but chrome and IE fall over with around a 30x30 grid. Does anyone know if this is purely a browser problem (i.e. no way around it) or is there anything that can be done to get this working in all (or most) browsers?

    Thanks,
    James

  2. #2
    Join Date
    Mar 2012
    Posts
    645

    Default

    I have fixed this in the main branches of CDF and CGG. Please use CTools installer with the "-b dev" option to update these two C-tools.
    Not sure the fix is effective against IE, but it solves Chrome's performance problem (in dealing with lots of clipping paths).
    Let me know if it worked.

  3. #3

    Default

    wow thanks, that's great!!!

    will give it a try today and let you know.

    I came up with another question this morning (hopefully you can help me). I have been trying to find a way to set the useShapes and valIdx options on the heat grid to control the size of the panels. I can't see a way to do it in CDE's main options. I can set the values in the post execution function but it doesn't have any effect. Is there a way to do this?

    {edited}

    managed to answer my question about the size and shape settings.

    In case this is useful to some one else:

    The approach depends on your data set. My data set is structured as follows:
    Code:
    Col 1 -> series
    Col 2 -> cat
    col 3 -> colour value
    col 4 -> size value
    The following settings need to be set:
    Code:
    Data in rows = True;
    Crosstab mode = False;
    then in the pre execute function:
    Code:
    function(){
        this.chartDefinition.useShapes=true;
        this.chartDefinition.isMultiValued=true;
        // index array for the required columns for size and color in the data source (as above)
        this.chartDefinition.measuresIndexes = new Array(2,3);
        // index to the data in sub structures created by CCC
        this.chartDefinition.sizeValIdx=1;
        this.chartDefinition.colorValIdx=0;
        return;
    }
    Last edited by jswinnerton; 06-26-2012 at 07:41 AM.

  4. #4

    Default

    Looks like a good improvement, but I find things slow down in chrome after about 80x30....it's ok up until then.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.