8
R-C-D
6y

Hi !
Do you have any idea how to calculate number of rounds in a graph?

Comments
  • 2
    What graph ?

    What rounds ?

    What language ?
  • 0
    @Drillan767 maybe it’s a round graph?

    @R1100 I’m usually good with vague questions but your question requires me to ask you more question.
  • 1
    @C0D4 Yes maybe, but it seems that there are several round graphs :o Anyway, still lurking for a link from OP
  • 0
  • 0
    @C0D4 any kind of graph
    Any round any length 😊
  • 1
    @R1100 I don't know for the others, but I don't think there is a universal solution for web based graph: they get generated according to their library, so I'd say that you need to check the generated HTML to see if there is something that allows you to use as a selector (maybe there is a "round" class somewhere?), and then you use this selector to count the occurences (use .length). But once again, without code or url or anything, it's more like a guess than an actual answer :)
  • 0
    @Drillan767 you are right but i'm looking for the algorithm
  • 0
    @R1100 you want the algo for a pie chart? Or am I being overly simple here?
  • 0
    @C0D4 just a challenge
  • 2
    Use a square graph.
    No circles there.
  • 0
    @Root sorry , can you explain a bit more ?
  • 1
    @R1100 😉
Add Comment