30日間の無料評価版をお試しいただけます。

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
classcontents

...

はじめに

Styleclass
ClasstopLink

top

There are two styles of heat maps available using Yellowfin. Those created from GIS data or those created via an image (Raster Map). The image will contain all the regions for your data. These images work by substituting a unique colour in your image with a new colour based on the value of data in your report.
To begin making Raster Maps you will need to have:

  • An image with each 'Zone' defined by a unique colour (JPG or PNG)
  • Reference Code data that allows you to match each map zone to reference data. (In the tutorial we have Country as a Ref Code - so that we can map each zone to a country code which will then be used for our data).

Note: the examples contained in this Getting Started section do not use the Ski Team data or supplied image. The examples for you to follow along with begin in the Setting up a Map via Administration Options section.

Selecting the Right Image

When setting up a Raster Map, selecting the right image means more than just finding an image that depicts the data in your data set. In the initial search there are some criteria your image should attempt to meet:

  1. The image should contain all areas you wish to assign data to. For example, if you wanted to map revenue by states of Australia, you would need a full map of Australia. A World map would not be suitable here, nor would a map of half of Australia.
  2. The image should only contain elements you wish to be displayed in the final map. This means that if you found a map of Australia, the image should not contain a background of surrounding water and land masses unless you wish these areas to be displayed in the final map.
    Note: any area that does not have data assigned to it will display as found in the original image.
  3. The image should be of a high enough resolution so that you can resize the final map without losing clarity. This means that the image needs to be the size you wish to display your final map, or larger, so that edges and backgrounds do not appear blurred when resized.

...

ページトップ

Yellowfinを使用して利用可能なヒートマップには2つのスタイルがあります。GISデータから作成されたものと、イメージを介して作成されたもの(ラスタマップ)です。イメージには、データのすべての地域が含まれます。これらのイメージは、イメージ内の一意の色をレポート内のデータ値に基づく新しい色で置き換えることで動作します。
ラスタマップの作成を開始するには、次のものが必要です。

  • それぞれ一意の色で定義されたゾーンを持つイメージ(JPGまたはPNG)
  • 各マップゾーンを参照データに対応付けることができる参照コードデータ(チュートリアルでは、参照コードとして国を使用します。各ゾーンを国コードにマッピングしてから、データ用に使用できるようになります。)

注意:この「はじめに」セクションに含まれる例では、Ski Teamデータまたは提供されているイメージは使用しません。「管理オプションを介したマップの設定」セクションから例に従ってください。

適切なイメージの選択

ラスタマップを設定する場合、適切なイメージの選択とは、データセット内のデータを示すイメージを見つけることだけを意味しているわけではありません。初期検索で、イメージが満たしているべきいくつかの条件があります。

  1. *イメージにデータを割り当てるすべてのエリアが含まれている必要があります。*たとえば、オーストラリアの州別に収益をマップ化するには、オーストラリア全体のマップが必要です。この場合、世界マップも、オーストラリアの半分のマップも適していません。
  2. イメージには、最終マップに表示する要素のみが含まれている必要があります。.つまり、オーストラリアのマップを見つけた場合、そのイメージには、背景として周囲の海域や大陸が含まれている必要はありません(それらのエリアを最終マップに表示する場合を除きます)。
    注意:元のイメージで見られるとおりに、データが割り当てられていないエリアはすべて表示されます。
  3. *鮮明さを失うことなく最終マップをサイズ調整できるように、イメージは十分に高画質であることが必要です。*つまり、サイズ調整時に端と背景が不鮮明にならないように、イメージを最終マップの表示サイズまたはそれより大きいサイズにする必要があります。

Section
Column
width30%

If you wanted to map the groups of bones in the human hand you might find an image like this in your search:人の手の骨のグループをマップにする場合、検索するとこのようなイメージが見つかるでしょう。

Column
width70%

Section
Column
width30%

初めはこれが正に求めていたもの(タイプ別にグループ化された人の手のすべての骨)に見えますが、これには問題があります。

1. データによって強調表示されるイメージのエリアは、エリアごとに一意の色にする必要があります。このイメージでは、各骨に陰影が付いており、実際には複数の一意の色で構成されていることがわかります。

2. イメージのラベル(Distal Phalanges、Intermediate Phalangesなど)は、イメージの本来の用途では役立つことがありますが、マップでは不要になります。

3. 第3に、イメージの端が、マップの目的では不要な太い黒の境界線で囲まれています。

While this initially appears to be exactly what you were after, all the bones in the human hand, grouped by type, there are problems with it.

1. The areas of the image to be highlighted by the data need to be one unique colour per area. In this image you will note that each bone has shading, which means it's actually made up of multiple unique colours.

2. The labels on the image (Distal Phalanges, Intermediate Phalanges, etc.) may have been useful for the original use of the image, but are not going to be required on our map.

3. Thirdly, there is a thick black border around the edge of the image which is not required for our purpose.

Column
width70%

Section
Column
width30%

In order to prepare this image for use in Yellowfin it will need to have all shading and unnecessary elements removed. If done correctly the cleaned image should appear something like this:このイメージをYellowfinで使用する準備をするために、すべての陰影と不要な要素を削除する必要があります。正しく実行した場合、クリーンになったイメージはこのようになります。

Column
width70%

When you have a clean image you are ready to start assigning colours to the data areas.

Note: the cleaning process will require the use of image editing software.

...

クリーンなイメージが用意できたら、いつでもデータエリアへの色の割り当てを開始できます。

注意:クリーニングプロセスでは、イメージ編集ソフトウェアを使用する必要があります。

イメージへの色の割り当て

Section
Column
width30%

作業するクリーンなイメージが用意できたら、マップの各エリアに色を割り当てる必要があります。この場合、骨のグループごとに強調表示します。

これを実行するには、各グループに一意の色を割り当て、1つのグループのすべての骨を対応する色で塗りつぶします。例を参照してください。

Once you have a clean image to work with you will need to assign colours to each area of the map. In this case, you want to highlight each group of bones together.

To do this you will need to assign a unique colour to each group and then fill all the bones in a group with the corresponding colour. See example:

Column
width70%

Section
Column
width30%

As you assign colours you will need to keep note of the relationship between each colour and the bone groups. Set up a simple text file or spreadsheet with this information, for example:色の割り当て時には、各色と骨グループの関係を記録する必要があります。この情報を含む簡単なテキストファイルまたはスプレッドシートを設定します。例:

Column
width70%

色(Hexコード)

コード

骨グループ

Colour (Hex Code)

Code

Bone Group

#FF7777

DP

Distal PhalangesPhalanges(末節骨)

#FFB377

IP

Intermediate PhalangesPhalanges(中節骨)

#E0FF77

PP

Proximal PhalangesPhalanges(基節骨)

#6BD089

M

Metacarpals Metacarpals(中手骨)

#4B97ED

C

Carpals

Note: colouring the image will require the use of image editing software.

Creating your Corresponding Org Ref Code

The last preparation step before creating your Map in Yellowfin is setting up an Org Reference Code. In this example you need to create a reference code based on the Bone Group data.

You will need to either;

  • Edit the view you wish to base your map on and edit the appropriate field, opening the Format tab. OR
  • Create a new reference code in the Add Image process and ensure you apply the code to the corresponding field in the report builder.

Carpals(手根骨)

注意:イメージの色付けでは、イメージ編集ソフトウェアを使用する必要があります。

対応する参照コードの作成

Yellowfinでマップを作成する前の最後の準備ステップは、参照コードの設定です。この例では、骨グループデータに基づいて参照コードを作成する必要があります。 

次のいずれかを実行する必要があります。

  • マップの基にするビューを編集し、「書式」タブを開いて適切なフィールドを編集します。または
  • イメージの追加プロセスで新しい参照コードを作成し、レポートビルダーでコードを対応するフィールドに適用するようにします。

この例では、ビュービルダーで参照コードを設定します。In this example we will set up the Reference Code in the View Builder.

Section
Column
width30%

To create a reference code in a view you will need to edit the appropriate field in Step 2 of the view builder, opening the Format Tab.ビューで参照コードを作成するには、ビュービルダーのステップ2で「書式」タブを開いて適切なフィールドを編集する必要があります。

Column
width70%

Section
Column
width30%

Select Org Ref Code from the Format drop down. This will mean that the field will have the reference code applied when you add it to a report.書式」ドロップダウンから「参照コード」を選択します。これにより、それをレポートに追加したときに、フィールドに参照コードが適用されます。

Column
width70%

Section
Column
width30%

You will now have to either select from a list of currently available reference codes, or create a new one. In this case you will create a new one by Pre-Populating from the Database. This means that Yellowfin will create a list of distinct values from this field in your source database.ここで、現在使用可能な参照コードの一覧から選択するか、新しい参照コードを作成する必要があります。この場合、「データベースから事前投入する」によって新しい参照コードを作成します。つまり、ソースデータベース内のこのフィールドから、異なる値の一覧が作成されます。

Column
width70%

Section
Column
width30%

これを設定した後、マップ上の各エリアにコードがあることを確認する必要があります(現在ソースデータベース内に各エリアのデータがない場合でも)。これにより、マップを正しく設定できるようになり、エリアのデータが存在すればYellowfinによってすぐに認識されるようになります。

保存」をクリックして設定を完了し、フィールドの変更内容を保存します。最後に、ビューが有効化されていることを確認すれば、いつでもYellowfinでマップイメージを設定できます。

When setting this up, you will need to ensure that you have a code for each area on the map, even if you don't currently have data for it in your source database. This will ensure that you can set up the map correctly and as soon as there is data for the area it will be recognised by Yellowfin.

Click Save to complete the setup and Save changes on your field. Finally, ensure that you Activate your view and you will be ready to set up your Map Image in Yellowfin.

Column
width70%

Section
Column
width30%

Note: If you wanted to create the code in the Add Image process you would simply click on New rather than selecting a code from the existing list. See below. 注意:イメージの追加プロセスでコードを作成する場合は、既存の一覧からコードを選択するのではなく、単に「新規」をクリックします。下記を参照してください。

Column
width70%

See 参照コード for more information.

...

詳細については、参照コードを参照してください。

管理オプションを介したマップの設定

Styleclass
ClasstopLink

top

ページトップ

チュートリアルのこのセクションでは、提供されているイメージとテキストファイルが必要です。For this section of the tutorial you will need an image and text file we have provided. Please download WorldHeatMap.png and WorldHeatMapCodes.txt . をダウンロードしてください。

Section
Column
width30%

1. Select a blank map or image that you want to use to create your heat map. This could be any image type (World, Human Body, Floor Plan etc). In this case we used a world map. ヒートマップを作成するために使用する空白のマップまたはイメージを選択します。どのイメージタイプ(世界、人体、間取り図など)でも構いません。この場合は、世界マップを使用しました。

Column
width70%

Section
Column
width30%

2. For each 'Zone' you will need to set a unique colour. As seen on the right this image has a unique Green for every country on the map. This was done in an image editor - not using Yellowfin. (See previous section for more detail) ゾーンごとに一意の色を設定する必要があります。右に示すように、このイメージではマップの各国に対して一意の緑が割り当てられています。これはYellowfinではなく、イメージエディターで実行されました(詳細は前のセクションを参照)。

Column
width70%

Section
Column
width30%

3. Next go to Administration and click on the Image Removed Images and Maps link.  次に「管理」に移動し、「  Image Added イメージとマップ」リンクをクリックします。

Column
width70%

Section
Column
width30%

4. You will now see a list of images. Click on Add at the bottom of the list. イメージの一覧が表示されます。一覧の下部の「追加」をクリックします。

Column
width70%

Section
Column
width30%

5. Provide a Name and Description for your image. イメージの名前と説明を指定します。

6. 「イメージタイプ」ドロップダウンから「マップイメージ」を選択します。Tこれにより、入力オプションが追加されるように形式が更新されます。6. Next select Map Image from the Image Type drop down. This will update the form to have additional input options.

Column
width70%

Section
Column
width30%

7. Browse for your map image using the upload file options. Select the ファイルのアップロードオプションを使用してマップイメージを参照します。WorldHeatMap.png image file.イメージファイルを選択します。

8. Click Image Removed Upload File. Image Added ファイルをアップロード」をクリックします。

Column
width70%

Section
Column
width30%

9. Set the Zone Reference Type to Country. The ゾーン参照タイプを「」に設定します。

ゾーン参照タイプは、データをレポートからマップゾーンにリンクする参照コードです。これはすでにYellowfin内で作成されています。独自の参照コードの作成方法については、前のセクションを参照してくだい。  Zone Reference Type is the reference code that will link data from your report to the map zone. This has already been created for you in Yellowfin. To see how to create your own reference code please see the previous section.

Column
width70%

Section
Column
width30%

10. You will notice that the Display is set to Code. This means that for each Reference Code, there is a box for assigning a colour (in HEX format). You can also set the display to Colour. 表示が「コード」に設定されます。つまり、参照コードごとに色(HEX形式)を割り当てるためのボックスが存在します。また、表示を「」に設定できます。 

Column
width70%

Section
Column
width30%

11. When Display is set to Colour you will see a list of all the colours in the image (in HEX, with the colour set as the background). This allows you to select a Reference from the drop down next to each colour. 表示を「」に設定すると、イメージ内のすべての色の一覧が表示されます(背景として設定されている色とともに、HEX形式で)。これにより、各色の横にあるドロップダウンから参照を選択できます。

どのオプションを選択しても問題ありませんが、ある方法が他の方法より使いやすい場合があります。It doesn't matter which option you choose, sometimes it is easier to use one method over the other.

Column
width70%

Section
Column
width30%

12. Use the WorldHeatMapCodes.txt document to help you assign the correct colours to each reference code.

13. Once you have matched all reference codes to a colour in the image click Save.

Image Removed

ドキュメントを使用すると、各参照コードに正しい色を割り当てる際に役立ちます。

13. すべての参照コードをイメージ内の色に対応付けたら、「保存」をクリックします。

Image Added

注意:イメージ内のすべての色を対応付ける必要はありません。データに使用される色のみで構いません。Note: you do not have to match every colour in the image - only those used for data.

Column
width70%

See Images & Maps for more information.

...

詳細については、イメージとマップを参照してください。

レポートへのヒートマップの追加

Styleclass
ClasstopLink

top

ページトップ

ラスタイメージが使用可能なイメージの一覧に追加されると、これらのイメージをレポートに追加できます。このセクションでは、標準のSki Teamチュートリアルのビューを使用してそれを実行する方法を説明します。Once a Raster Image has been added into your available list of images you can add these into a report. This section describes how it would be done using the standard Ski Team Tutorial view.

Section
Column
width30%

1. Click on the Create link and select Report to begin building your report. 作成」リンクをクリックして、「レポート」を選択しレポートの作成を開始します。

Column
width70%

Section
Column
width30%

2. You should now be on the Initialise Report page. Select the Drag and Drop Builder as the build tool. 「レポートの初期化」ページが表示されます。作成ツールとして「ドラッグ&ドロップで作成」を選択します。

Column
width70%

Section
Column
width30%

3. Select ビューとして「Ski Team as the View.」を選択します。

4. Now click the Image Removed button to proceed. 「  Image Added 」ボタンをクリックして次に進みます。

Column
width70%

Section
Column
width30%

5. On your report data page select the Athlete Country field from the Athlete Location category. 「レポートデータ」ページで、「Athlete Location」カテゴリーから「Athlete Country」フィールドを選択します。

6. Select the 「Athlete Payment」から「Invoiced (Pref Currency) column from Athlete Payment. 」カラム(列)を選択します。

7. Choose Chart Only from the Display Data As options. 「データ表示」オプションとして「グラフのみ」を選択します。
8. Click the Image Removed Next image to continue. 「  Image Added 次へ」をクリックして続行します。

Column
width70%

Section
Column
width30%

9. On the output page click on the Chart Icon to edit the chart and set up your heat map. 出力ページで、グラフアイコンをクリックしてグラフを編集しヒートマップを設定します。

Column
width70%

Section
Column
width30%

10. From the Chart Menu select Map.11. Next select the Map type. Click Save to use your selection. 「グラフ」メニューから「マップ」を選択します。

11. 次に、「マップ」タイプを選択します。「保存」をクリックして選択項目を使用します。 

Column
width70%

Section
Column
width30%

12. You will now see the Chart Data section updated with fields relevant to heat maps. 「グラフデータ」セクションがヒートマップに関連するフィールドで更新されたことがわかります。

13. In the Map drop down chose the 「マップ」ドロップダウンで、作成した「World Heat Map Image you have created.」イメージを選択します。

14. Set the Label to Athlete Country, the field that has the Org Ref Code applied to it. ラベルを「Athlete Country」に設定します。これは、適用された参照コードを持つフィールドです。

15. Set the Colour to 色を「Invoiced (Pref Currency).」に設定します。

16. Click Refresh to display your chart. 更新」をクリックして、グラフを表示します。

Column
width70%

Section
Column
width30%

17. You should now have a heat map, as pictured. The default colours will be used for the heat map. 図に示すようにヒートマップが表示されます。ヒートマップではデフォルトの色が使用されます。 

Column
width70%

Section
Column
width30%

18. If you wish to change the heat map colour select the series from the Chart Data panel and click on the colour picker. ヒートマップの色を変更する場合は、「グラフデータ」パネルでシリーズを選択し、カラーピッカーをクリックします。 

Column
width70%

Section
Column
width30%

19. Click Refresh to display your updated chart. The newly selected colour will be used for the heat map.

Image Removed

更新」をクリックして、更新したグラフを表示します。ヒートマップでは、新たに選択された色が使用されます。

Image Added

注意:ゾーンがデータに正しく対応付けられていない場合、ゾーンは元の色で表示されます。Note: if a zone has not been mapped to the data correctly it will be displayed in its original colour

Column
width70%

Section
Column
width30%

20. You can now increase the number of colours used as the range for the map. Click on the Image Removed icon to add colours.
Your chart should look something like this. マップの範囲として使用される色数を増やすことができます。「  Image Added 」アイコンをクリックして、色を追加します。
グラフは次のように表示されます。

Column
width70%

Section
Column
width30%

21. When using multiple colours, you have the choice to use them in a gradient range (as above) or split them into classes (see right). 複数の色を使用している場合は、グラデーション範囲でそれらを使用するか(上に示します)、それらをクラスに分けるか(右に示します)選択できます。

Column
width70%

Section
Column
width30%

22. You may have noticed that the chart seems distorted, in order to prevent this there is an option in the Chart Format menu that should be enabled.23. Open the Chart Format menu and enable the Maintain Aspect option. Click Save to apply changes. グラフが歪んでいるように感じることがあります。これを防ぐために、「グラフの書式」メニューで有効にしておくべきオプションがあります。

23.グラフの書式」メニューを開き、「アスペクトを維持」オプションを有効にします。「保存」をクリックして変更を適用します。 

Column
width70%

Section
Column
width30%

24. You should now have a map that more closely resembles the original image. All you will need to do now is resize it so that the legend is closer to the bottom of the map. これで、マップはさらに細部まで元のイメージのように見えるはずです。後は、凡例がマップの下部により近づくようにサイズを調整する必要があるだけです。

25. 下限エリアを鮮明に表示するために、「最小」の色を白以外の色に変更する必要もあります。25. The Min colour should also be changed to something other than white so lower bound areas show up clearly.

Column
width70%

Section
Column
width30%

26. You should now have a clear raster map that looks something like the one shown here. これで図に示すような鮮明なラスタマップが作成されました。

27. Now that you have finished your map, save and close it. これでマップは完成です。保存して閉じます。

Column
width70%



horizontalrule
Styleclass
ClasstopLink

topページトップ