set flag based on fact
Posted: 22 Sep 2020 22:04
I am trying to create a chart that will show all the people who have a genetically transferred disease.
So far I have been able to create a new fact and add that fact to each person who shows this disease. I have also manually set a new flag for each of these people.
On the chart I show the note for that new genetic fact. I have also set the background color for each person with the disease ( the new flag) to a unique color. All is good and shows what I want.
I would like to know if there is any way to set that new flag based on the presence of that genetic disease fact type automatically? It appears that a plugin might do the job but I have not seen a plugin that will do this in particular. I am new to FH and I have not written any plugins and was wondering if anyone has attempted this and could offer some advice on if a plugin exists and if not how I would go about writing one?
So far I have been able to create a new fact and add that fact to each person who shows this disease. I have also manually set a new flag for each of these people.
On the chart I show the note for that new genetic fact. I have also set the background color for each person with the disease ( the new flag) to a unique color. All is good and shows what I want.
I would like to know if there is any way to set that new flag based on the presence of that genetic disease fact type automatically? It appears that a plugin might do the job but I have not seen a plugin that will do this in particular. I am new to FH and I have not written any plugins and was wondering if anyone has attempted this and could offer some advice on if a plugin exists and if not how I would go about writing one?