सामग्री पर जाएँ
अनुभाग
Fiesta

chart-bar

प्रदर्शन वे छोटे शब्दावली टुकड़े जिनसे स्क्रीन जुड़ती है: स्थिति, पहचान, प्रगति, डेटा तालिकाएँ और चार्ट, और चेतावनी का इकलौता रूप।

बार चार्ट नाम वाली श्रेणियों को बार के रूप में दिखाता है: शून्य या उससे ज़्यादा मानों की एक ही शृंखला। यह एक तालिका है, इसलिए स्क्रीन रीडर को नाम और संख्याएँ मिलती हैं; बार बस सजावट हैं।

हर उदाहरण असली है, पर उसके लिंक कहीं नहीं ले जाते। HTML कॉपी करने के लिए मार्कअप दिखाता है।

स्रोत के हिसाब से टिकट

पूर्वावलोकन
<div rst-box-head>
  <h2 id="sources-h">स्रोत के हिसाब से टिकट</h2>
</div>
<div rst-card>
  <figure rst-chart aria-labelledby="sources-h" aria-describedby="sources-d">
    <p rst-chart-desc id="sources-d">ज़्यादातर टिकट ऑनलाइन बिके, और न्यूज़लेटर से अभी तक एक भी नहीं।</p>
    <div rst-table-scroll tabindex="0" role="region" aria-labelledby="sources-h">
      <table rst-table="bars" aria-labelledby="sources-h" aria-describedby="sources-d">
        <thead>
          <tr>
            <th scope="col">स्रोत</th>
            <th scope="col">
              <span class="rst-sr-only">बार</span>
            </th>
            <th scope="col" rst-num>टिकट</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <th scope="row">ऑनलाइन</th>
            <td rst-table-bar>
              <svg viewBox="0 0 1000 1" preserveAspectRatio="none" aria-hidden="true" focusable="false"><rect width="1000" height="1"/></svg>
            </td>
            <td rst-num>412</td>
          </tr>
          <tr>
            <th scope="row">बॉक्स ऑफ़िस</th>
            <td rst-table-bar>
              <svg viewBox="0 0 1000 1" preserveAspectRatio="none" aria-hidden="true" focusable="false"><rect width="572.8" height="1"/></svg>
            </td>
            <td rst-num>236</td>
          </tr>
          <tr>
            <th scope="row">साझेदार</th>
            <td rst-table-bar>
              <svg viewBox="0 0 1000 1" preserveAspectRatio="none" aria-hidden="true" focusable="false"><rect width="237.9" height="1"/></svg>
            </td>
            <td rst-num>98</td>
          </tr>
          <tr>
            <th scope="row">न्यूज़लेटर</th>
            <td rst-table-bar>
              <svg viewBox="0 0 1000 1" preserveAspectRatio="none" aria-hidden="true" focusable="false"><rect width="0" height="1"/></svg>
            </td>
            <td rst-num>0</td>
          </tr>
        </tbody>
      </table>
    </div>
  </figure>
</div>

कोई डेटा नहीं

जिस चार्ट के पास बनाने को कुछ नहीं, वह एक वाक्य में यही कह देता है।

पूर्वावलोकन
<div rst-box-head>
  <h2 id="sources-h">स्रोत के हिसाब से टिकट</h2>
</div>
<div rst-card>
  <figure rst-chart aria-labelledby="sources-h">
    <p rst-chart-empty>अभी तक कोई टिकट नहीं बिका।</p>
  </figure>
</div>