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

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Anchor
top
top

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データや提供済みのイメージは使用しません。管理オプションを介してマップの設定のセクションから、例の手順に従ってください。

 

Wiki Markup
{html}<iframe width="700" height="394" src="https://www.youtube.com/embed/6oJesNPiANg?color=white" frameborder="0" allowfullscreen></iframe>{html}
 

適切なイメージの選択

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

  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%

Colour (Hex Code)

Code

Bone Group

色の割り当て時には、各色と骨グループの関係を記録しておく必要があります。この情報を含む簡単なテキストファイルまたはスプレッドシートを設定します。例:

色(Hexコード)

コード

骨グループ

#FF7777

DP

Distal

Phalanges

Phalanges(末節骨)

#FFB377

IP

Intermediate

Phalanges

Phalanges(中節骨)

#E0FF77

PP

Proximal

Phalanges

Phalanges(基節骨)

#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 Organisation Reference Codes 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.「イメージタイプ」ドロップダウンから「マップイメージ」を選択します。これにより、入力オプションが追加されるように形式が更新されます。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.

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

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

注意:イメージ内のすべての色を対応付ける必要はありません。データに使用される色のみで構いません。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.「新規レポート作成」ページが表示されます。作成ツールとして「ドラッグ&ドロップビルダー」を選択します。

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

Column
width70%

Section
Column
width30%

4. On your report data page drag the Athlete Country field from the Athlete Location category into the Columns list.レポートデータページで、「Athlete Country」フィールドを「Athlete Location」カテゴリーから「カラム(列)」一覧にドラッグします。

5. Drag the Invoiced (Pref Currency) column from Athlete Payment into the Columns list. 」カラムを「Athlete Payment」から「カラム(列)」一覧にドラッグします。

6. Click the Charts step to continue.グラフ」ステップをクリックして続行します。

Column
width70%

Section
Column
width30%

7. Open the Chart Type Selection panel on the right of the builder, and select the Raster Map option. This will change the chart components to match what is required by the Raster Map. ビルダーの右側にある「グラフタイプの選択」パネルを開き、「ラスターマップ」オプションを選択します。グラフの構成要素が、ラスターマップに必要なものに変わります。

Column
width70%

Section
Column
width30%

8. In the Chart Data area click on the Image section to select the map image to use.グラフデータエリアで「イメージ」セクションをクリックし、使用するマップイメージを選択します。

9. Select the World Heat Map image.」イメージを選択します。

Column
width70%

Section
Column
width30%

10. Now drag the Invoiced (Pref Currency) into the Colour section, and the 」を「色」セクションにドラッグし、「Athlete Country field into the Region section.」フィールドを「地域」セクションにドラッグします。

Column
width70%

Section
Column
width30%

11. If you wish to change the colours applied to the map, open the Series Settings menu.マップに適用されている色を変更する場合は、「シリーズの設定」メニューを開きます。

12. Here you can select the ここで「*Invoiced (Pref Currency) field and change the colours selected. 」フィールドを選択し、選択されている色を変更することができます。

Column
width70%

Section
Column
width30%

13. You can add additional colours (the default is 2) and split them into classes rather than being a gradient scale.色を追加し(デフォルトは 2 色)、グラデーション範囲にするのではなく、クラスに分けることができます。

注意:区域がデータに正しく対応付けられていない場合、その区域は元イメージの色で表示されます。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%

14. Click the X button in the top right of the Series Settings menu to see your changes reflected in the map.「シリーズの設定」メニューの右上にある「X」ボタンをクリックして、変更内容をマップに適用します。

Column
width70%

Section
Column
width30%

グラフが歪んでいるように見える場合があります。これを防ぐには、イメージの元のアスペクト比を維持するようにマップを設定する必要があります。

15.グラフの設定」メニューを開き、「アスペクト比の維持」オプションを有効にします。

You may have noticed that the chart seems distorted, in order to prevent you will have to set the map to maintain the original aspect ratio of the image.

15. Open the Chart Settings menu and enable the Maintain Aspect option.

Column
width70%

Section
Column
width30%

You should now have a map that more closely resembles the original image. Now that you have finished your map, save and close it. これで、マップはさらに細部まで元のイメージのように見えるはずです。これでマップは完成です。保存して閉じます。

Column
width70%

 

horizontalrule
Styleclass
ClasstopLink

ページトップ

 

...