સમયરેખા

સંખ્યાત્મક અક્ષ પર પ્રમાણસર સ્થાનોમાં લેબલવાળા વિભાગો, ખાલી જગ્યાઓ, કિનારીના નિશાનો અને ડેટા કોષ્ટક બતાવે છે.

કોષ્ટકો, ડેટા ગ્રિડ, આંકડા, વૃક્ષો, ઉષ્માનકશા અને પાના વિભાજન.

lr-time-strip

import '@aceshooting/lyra-ui/components/lr-time-strip.js';

ઉદાહરણ

<lr-time-strip label="Equipment activity" min="0" max="24" style="max-inline-size: 40rem"></lr-time-strip>

<script type="module">
  import '@aceshooting/lyra-ui/components/lr-time-strip.js';

  const strip = document.querySelector('lr-time-strip');
  strip.segments = [
    { start: 1, end: 6, kind: 'operating' },
    { start: 8, end: 13, kind: 'standby' },
    { start: 13, end: 17, kind: 'operating' },
    { start: 19, end: 22, kind: 'missing' },
  ];
  strip.kinds = [
    { kind: 'operating', label: 'Operating', style: 'solid' },
    { kind: 'standby', label: 'Standby', style: 'outline', height: 0.6 },
    { kind: 'missing', label: 'No telemetry', style: 'pattern' },
  ];
  strip.edges = [
    { start: 22, end: 24, label: 'Service' },
  ];
  strip.ticks = [
    { value: 0, label: '0h' },
    { value: 12, label: '12h' },
    { value: 24, label: '24h' },
  ];
</script>

માર્ગદર્શિકા વાંચો (અંગ્રેજીમાં)

સંબંધિત ઘટકો

  • સમયરેખા — તપાસ, એજન્ટ ઇતિહાસ અને ફેરફારની ભૂતકાળની ઘટનાઓ ક્રમે બતાવે છે.
  • સમયરેખાની ઘટના — રંગીન ચિહ્ન, શીર્ષક, સમય અને વર્ણન સાથે એક ઘટના.
  • વૃક્ષ — આલેખ, દસ્તાવેજ કે ફાઇલોની શ્રેણી ખોલી અને વાળી શકાય છે.
  • વૃક્ષ ગાંઠ — એક ગાંઠ અને તેના બાળકો દર્શાવતી પુનરાવર્તિત લીટી.
  • શબ્દ વાદળ — વધારાની નિર્ભરતા વિનાનું SVG શબ્દ વાદળ; મહત્વ મુજબ શબ્દનું કદ.
  • ડેટા ગ્રિડ — મોટા કે સર્વર આધારિત ડેટામાં ક્રમ, ગાળક, જૂથ, પાનું અને પસંદગી.