<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yunagi_n</author_name>
  <author_url>https://blog.hatena.ne.jp/yunagi_n/</author_url>
  <blog_title>なつねこメモ</blog_title>
  <blog_url>https://tech.natsuneko.blog/</blog_url>
  <categories>
    <anon>TypeScript</anon>
    <anon>React</anon>
  </categories>
  <description>@ant-design/plots という、統計情報みたいなグラフを表示するための Alibaba グループの出しているライブラリがあります。 これは様々なカスタマイズができていろいろ便利なのですが、なにせドキュメントが英文化されていないのに加えて抜けがあるみたいな状態で、地味につらいです。 ということで、今回はそんな @ant-design/plots で特定条件でラベルを表示する方法を紹介します。 今回は Column 、つまりは棒グラフについてです。 Label を設定することで、棒グラフの上、中心、下に任意の文字列を表示させることが出来ます。 例えば、上記リンクの例ではグラフ中央に数値…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.natsuneko.blog%2Fentry%2F2022%2F11%2F17%2Fshow-labels-by-condition-in-ant-design-plots&quot; title=&quot;@ant-design/plots で、特定条件を満たした場合だけラベルを表示したい - なつねこメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-11-16 15:00:00</published>
  <title>@ant-design/plots で、特定条件を満たした場合だけラベルを表示したい</title>
  <type>rich</type>
  <url>https://tech.natsuneko.blog/entry/2022/11/17/show-labels-by-condition-in-ant-design-plots</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
