2017-05-04 12 views

答えて

1

テキストサイズと色を変更するには、コードチャートレンダラー内のグリフを変更する必要があります。インデックス位置3のレンダラーはテキストグリフレンダラーで、そこでフォントサイズと色を設定できます。

chord_from_df = Chord(source_data, source="name_x", target="name_y", value="value") 
chord_from_df.renderers[3].glyph.text_font_size['value'] = '12pt' 
chord_from_df.renderers[3].glyph.text_color = '#FF0000' 
show(chord_from_df) 
関連する問題