Posted 23 March 2023, 4:49 am EST
Is there a C# example how to create a custom sparkline?
Forums Home / ComponentOne / WinForms Edition
Posted by: niels on 23 March 2023, 4:49 am EST
Posted 23 March 2023, 4:49 am EST
Is there a C# example how to create a custom sparkline?
Posted 24 March 2023, 8:57 am EST
Hello Niels,
You can go through the following documentation link to see how you can customize the sparkling as per your need:
https://www.grapecity.com/spreadnet/docs/latest/online-win/spwin-sparkmarkers.html
If you need any other help, please let us know.
Regards,
Prabhat Sharma.
Posted 24 March 2023, 11:09 am EST
Hi Prabhat,
Thank you for looking in to this
I want to display a sparkline from data from an external source.
Something like this
class MyOwnSparklineFunction : Function, ???, ???, ???
{…}
Then use it like this
fpSpread1.AddCustomFunction(new MyOwnSparklineFunction(“MySparkLine”, 1, 1, FunctionAttributes.Visual | FunctionAttributes.Volatile));
Posted 24 March 2023, 1:04 pm EST
Hi Prabhat,
Oh! I found FunctionVisualizer
That is nice! Answered my request.
Best regards,
Niels