Closed theavijitsarkar closed 7 years ago
I cant figure out why this is happening. I have three sets, all intersect with each other. However the intersection of all of them is not showing. For example.
var sets = [ { "sets": [ "Present" ], "size": 10, "label": "Present" }, { "sets": [ "Holiday" ], "size": 1, "label": "Holidays" }, { "sets": [ "WeeklyOff" ], "size": 12, "label": "Weekly Offs" }, { "sets": [ "Present", "Holiday", "WeeklyOff" ], "size": 1 }, { "sets": [ "Present", "Holiday" ], "size": 0 }, { "sets": [ "Present", "WeeklyOff" ], "size": 1 }, { "sets": [ "WeeklyOff", "Holiday" ], "size": 0 } ]
If you see the intersection of all the three is not happening.
Are these solutions possible?
size: 0 in your code snippet above indicates that you want the 'holidays' set to be disjoint from the other two sets. It should be size: 1 instead
size: 0
size: 1
I cant figure out why this is happening. I have three sets, all intersect with each other. However the intersection of all of them is not showing. For example.
If you see the intersection of all the three is not happening.
Are these solutions possible?