Chart background color

Posted By: 7th_zorro

Chart background color - 03/08/21 09:47

Indicators disappear in scaling mode.Because It is darker than the background.

I suggest chart background color to black.

Or changing the drawing mode in the source code maybe helpful.

SetStretchBltMode(hdc, BLACKONWHITE);



Posted By: 7th_zorro

Re: Chart background color - 03/18/21 03:55


Indicator problem

Anybody knows what cause this problem?

And please fix this.
Posted By: jcl

Re: Chart background color - 03/18/21 14:54

The link is dead. But I don't think a black background will fix disappearing indicators. Can you post a screenshot?
Posted By: 7th_zorro

Re: Chart background color - 03/18/21 15:57

When horizontally scrolled, indicator below changed.
I think it is drawing problem.

Attached picture 1.JPG
Attached picture 2.JPG
Posted By: jcl

Re: Chart background color - 03/18/21 16:31

Yes. I did not make the chart library, but suppose a bar is not drawn when it's less than a fraction of one pixel.

A different background will not help, but you could try different plot types, like a fat line. That will possibly be drawn.
Posted By: 7th_zorro

Re: Chart background color - 03/18/21 17:14

I tried line chart, it has same problem.

I think you can control the zoom rate to be multiple of 2, then maybe the charts are not distorted.

..., 0.125, 0.25, 0.5, 1, 2, 4, 8, 16, 32, 64, ...
© 2024 lite-C Forums