VisActor/VChart

[Feature] support contains relation in venn chart

Open

#2847 aperta il 24 giu 2024

Vedi su GitHub
 (2 commenti) (0 reazioni) (1 assegnatario)TypeScript (212 fork)user submission
good first issue

Metriche repository

Star
 (1800 star)
Metriche merge PR
 (Merge medio 3g 12h) (15 PR mergiate in 30 g)

Descrizione

What problem does this feature solve?

Support chart like this: img_v3_02c5_d35ae1d8-65d1-4f78-8e0b-616f546379hu

What does the proposed API look like?

  data: {
    values: [
      // rest value
      { sets: [], value 6 },

      { sets: ['A'], value: 8 },
      { sets: ['B'], value: 10 },
      { sets: ['C'], value: 12 },
      { sets: ['A', 'B'], value: 4 },
      { sets: ['A', 'C'], value: 4 },
      { sets: ['B', 'C'], value: 4 },
      { sets: ['A', 'B', 'C'], value: 2 }
    ]

Guida contributor