As this is what we call a “free diagram” it means that you must have columns in your dataset called “Q”, “A” and “P” containing quartz, alkali feldspar and plagioclase values respectively. Once you have these in your dataset the diagram should become active (ie. Not greyed out).