How to use SCurveEditor to add key and draw curve?

I create a SCurveEditor in my IDetailCustomization
Part of the code is:

.h

TSharedPtr CurveEditor;

.cpp

SAssignNew(CurveEditor, SCurveEditor)

[

]

My question is how to add a curve or add keys in SCurveEditor???