This plotted fine and I continued work on my indicator. After a time I noticed that it was no longer drawing the dataseries dots as it had before although it was still drawing custom labels I drew via DrawText. I couldn't figure out what I had changed (if anything) to cause them to not draw. It was mysterious and driving me crazy.
Finally I realized that I had overridden the Plot method and I did not call the base.Plot. Adding the call to the base class's Plot method immediately fixed it.
Rectangle bounds, double min, double max)
{
// I had forgot the following line!!
base.Plot(graphics, bounds, min, max);
...
// your code
Comment