Forums/Documentation/Release Notes

Release 74 Notes: Saturday, June 23, 2012

Bryan Castro
posted this on June 22, 2012 03:14 PM

What's New in Release 74?

The features in Release 74 will bring you significant enhancements from the front-end perspective. We've added some more functionality to our dashboard and charting capabilities which will provide an essential boost in usability. Some of the highlights include:

  • Single Option Filters
  • PDF Export in Embedded Mode
  • Define Color Palette 
  • Attribute/Variable Macros

Single Option Filters

We've added a single-option drop down filter in addition to the currently available multi-option version. This new feature will allow you to quickly and easily filter attribute values by department, group and category without having to manually select them by clicking on each check-box in the multi-option filter. 

r74singleoptionfilter.jpg


PDF Export in Embedded Mode

Embedded dashboards can now be printed and exported to PDF! Click on the "printer" icon on the top right to start exporting and printing your embedded dashboards.

r74printpdf.jpg


Define Color Palette 

Now you have the ability to define the color palette for charts. The custom palettes can be defined on the project level via our APIs. Exported charts will also be able reflect the custom palette. 

r74colorpalette.jpg

To Set/Update palette use the following API:

method: PUT
uri: https://secure.gooddata.com/gdc/projects/<projectID>/styleSettings
header: Content-Type: application/json
body: json object with color palette for example:

{"styleSettings" :
   {"chartPalette": [
      { "guid": "guid1", "fill": { "r":255, "g":255, "b":0 } },
      { "guid": "guid2", "fill": { "r":255, "g":255, "b":40 } },
      { "guid": "guid3", "fill": { "r":255, "g":255, "b":80 } },
      { "guid": "guid4", "fill": { "r":255, "g":255, "b":120 } },
      { "guid": "guid5", "fill": { "r":255, "g":255, "b":180 } },
      { "guid": "guid6", "fill": { "r":255, "g":255, "b":200 } }
     ]
   }
}

To Delete the custom palette (reset to default):

method: DELETE
uri: https://secure.gooddata.com/gdc/projects/<projectID>/styleSettings

 

Variable Macros

The elements selected in a dashboard filter can now be passed to dashboard iframes and text objects/widgets. We've added some more macros that will allow you to pass variable and attributes values as parameters into embedded iframes. This will definitely improve the way you control iframe content.

The syntax of the macro is the following: 

%VARIABLE_VALUE(<variable identifier>)%

where <variable identifier> is identifier of existing filter or scalar variable.

Macro is replaced with elements values in default display form concatenated with ",". The whole replace string is URI encoded.

 

We hope you enjoy Release 74!

 

Comments

User photo
Petr Šimeček
Keboola s.r.o.

Hi Brian,

as usual - great release! Can you share two additional things:

a) how to specify attribut/variable dashboard macro (%xyz%)

b) custom palette API description

Thanks,

Peter

June 23, 2012 01:20 PM
User photo
Hubert Palan
GoodData

Hi Petr, I just updated the description for the macro and color palette. Hope this helps!

June 23, 2012 08:10 PM
User photo
Petr Šimeček
Keboola s.r.o.

Awesome! Thanks, P.

June 25, 2012 08:38 PM
User photo
Petr Šimeček
Keboola s.r.o.

Hi,

here is my custom pallete - 40 colors sorted by columns (primary, secondary A, secondary B, complementary):

{"styleSettings" :  

   {"chartPalette": [

      { "guid": "guid1", "fill": { "r":255, "g":0, "b":0 } },

      { "guid": "guid2", "fill": { "r":255, "g":102, "b":0 } },

      { "guid": "guid3", "fill": { "r":255, "g":102, "b":0 } },

       { "guid": "guid4", "fill": { "r":255, "g":153, "b":0 } },

       { "guid": "guid5", "fill": { "r":255, "g":153, "b":0 } },

       { "guid": "guid6", "fill": { "r":255, "g":204, "b":0 } },

       { "guid": "guid7", "fill": { "r":255, "g":204, "b":0 } },

       { "guid": "guid8", "fill": { "r":204, "g":204, "b":0 } },

       { "guid": "guid9", "fill": { "r":153, "g":204, "b":0 } },

       { "guid": "guid10", "fill": { "r":102, "g":204, "b":0 } },

       { "guid": "guid11", "fill": { "r":255, "g":102, "b":0 } },

      { "guid": "guid12", "fill": { "r":255, "g":153, "b":0 } },

      { "guid": "guid13", "fill": { "r":255, "g":153, "b":0 } },

       { "guid": "guid14", "fill": { "r":255, "g":204, "b":0 } },

       { "guid": "guid15", "fill": { "r":255, "g":204, "b":0 } },

       { "guid": "guid16", "fill": { "r":153, "g":204, "b":0 } },

       { "guid": "guid17", "fill": { "r":153, "g":204, "b":0 } },

       { "guid": "guid18", "fill": { "r":102, "g":204, "b":0 } },

       { "guid": "guid19", "fill": { "r":0, "g":153, "b":51 } },

       { "guid": "guid20", "fill": { "r":0, "g":153, "b":153 } },

       { "guid": "guid21", "fill": { "r":0, "g":102, "b":153 } },

      { "guid": "guid22", "fill": { "r":51, "g":102, "b":153 } },

      { "guid": "guid23", "fill": { "r":51, "g":51, "b":153 } },

       { "guid": "guid24", "fill": { "r":51, "g":51, "b":153 } },

       { "guid": "guid25", "fill": { "r":102, "g":51, "b":153 } },

       { "guid": "guid26", "fill": { "r":153, "g":0, "b":153 } },

       { "guid": "guid27", "fill": { "r":204, "g":0, "b":102 } },

       { "guid": "guid28", "fill": { "r":204, "g":0, "b":51 } },

       { "guid": "guid29", "fill": { "r":255, "g":51, "b":0 } },

       { "guid": "guid30", "fill": { "r":255, "g":102, "b":0 } },

       { "guid": "guid31", "fill": { "r":0, "g":204, "b":0 } },

      { "guid": "guid32", "fill": { "r":0, "g":153, "b":102 } },

      { "guid": "guid33", "fill": { "r":0, "g":153, "b":153 } },

       { "guid": "guid34", "fill": { "r":0, "g":102, "b":153 } },

       { "guid": "guid35", "fill": { "r":51, "g":51, "b":153 } },

       { "guid": "guid36", "fill": { "r":102, "g":51, "b":153 } },

       { "guid": "guid37", "fill": { "r":102, "g":0, "b":153 } },

       { "guid": "guid38", "fill": { "r":153, "g":0, "b":153 } },

       { "guid": "guid39", "fill": { "r":153, "g":0, "b":102 } },

       { "guid": "guid40", "fill": { "r":204, "g":0, "b":51 } }

      ]

   }

}

June 26, 2012 03:20 PM
User photo
Hubert Palan
GoodData

This is great Petr, thanks for sharing!

June 26, 2012 10:37 PM
User photo
Wayne Cope

What's the maximum palette size, and is there any way to provide a "name" for the colors defined that will be visible in the UI, as a tooltip for example? We use particular colors for particular UI items, so it would be really helpful to see the color name so that we can be sure to be choosing the correct color.

September 11, 2012 10:54 PM
User photo
Hubert Palan
GoodData

Hi Wayne, we don't have any limit on the number of colors. Naming the colors is unfortunately not an option. I can add it to the feature request list, but can't commit to any specific delivery date. Thank you for you understanding.

September 12, 2012 02:12 PM