XEROF

 

xlsgen 3.0 build #38 : Geomaps


Build 3.0.0.38 of xlsgen adds geomaps.

Geomaps are, as the name suggests, a mechanism for calculating and rendering maps with visual cues for business intelligence scenarios. The component relies on Google charts of type map. Here are two examples of this.


US states color-coded geomap in xlsgen


Europe countries color-coded in xlsgen

How this can be obtained with source code is actually very easy. Here is how to obtain the geomap for Europe countries :

xlsgen::IXlsWorkbookPtr wbk = engine->New( L"geomaps.xls" );

xlsgen::IXlsWorksheetPtr wksht = wbk->AddWorksheet(L"sheet");

xlsgen::IXlsVisualComponentPtr comp = wksht->NewVisualComponent(L"Geomaps.ARsTdesign.1",
6, // row1
3, // col1
24, // row2
7, // col2
0,0,0,0);

// strings or ISO3166 codes
comp->ParameterByName[L"SetRegions"]->Formula = L"={\"Greece\";\"Germany\";\"France\"}";

// RGB values encoded as strings
comp->ParameterByName[L"SetColors"]->Formula = L"={\"FF4444\";\"44FF44\";\"4444FF\"}";

// optional. strings
comp->ParameterByName[L"SetLabels"]->Formula = L"={\"50 (Greece)\";\"150 (Germany)\";\"100 (France)\"}";

// optional. strings
comp->ParameterByName[L"SetLegends"]->Formula = L"={\"Greece\";\"Germany\";\"France\"}";


For more information, you can take a look at the correponding page in the documentation.

Posted on 21-June-2012 12:18 | Category: xlsgen, Excel generator | comment[0] | trackback[0]

 

 

<-- previous page

< June >
0102030405
0607080910
1112131415
1617181920
2122232425
2627282930



Products I distribute :

xlsgen - native Excel generator


xlsgen - business intelligence


Excel formatting style reduction tool


wz - Encrypt/Decrypt tool. Free speech at its best.

 

 

This site
Home
Articles

DevTools
CPU-Z
EditPlus
ExplorerXP
Kill.exe
OllyDbg
DependencyWalker
Process Explorer
autoruns.exe
Araxis
COM Trace injection
CodeStats
NetBrute
FileMon/Regmon
BoundsChecker
AQTime profiler
Source monitor
GDI leaks tracking
Rootkit revealer
Rootkit removal
RunAsLimitedUser(1)
RunAsLimitedUser(2)

 

 

Liens
Le Plan B
Un jour à Paris
Meneame
Rezo.net (aggr)
Reseau voltaire
Cuba solidarity project
Le grand soir
L'autre journal
Le courrier suisse
L'Orient, le jour
Agoravox (aggr)

 

Je soutiens :