-
Notifications
You must be signed in to change notification settings - Fork 619
Open
Labels
plot typeRequesting a plot type that isn't supported yetRequesting a plot type that isn't supported yet
Description
Hi!
I would like to implement a feature to change the plotted color for each point in the dataset, something like this.
I plan on doing it this way:
- Defining a
ColorGetterstruct with function:ImU32 operator()(ImPlotCol col, int idx), this will be the base case, constant colors fromImPlotNextItemData - Defining a
ColorGetterFuncPtrstruct where an user defined function is passed in and called,GetterFuncPtrstyle Renderer*structs will take a templatedColorGetteras an argument instead ofImU32 col- User facing functions will use
ColorGetter, but a new version of them will useColorGetterFuncPtr
Is this the way of doing this? Will this get merged if I implement it?
Metadata
Metadata
Assignees
Labels
plot typeRequesting a plot type that isn't supported yetRequesting a plot type that isn't supported yet