ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  histogramm.cls (Gause)
Posted by Helmut on Feb-15-2018 02:11
Attachments:
Hello,

I have a question.
How do I get the stroke marks in XAxis Left and YAxis below, we yAxis2 (-) to each value.
This is possible everywhere else.

Thanks Helmut
gaus.jpg

  Re: histogramm.cls (Gause)
Posted by Peter Kwan on Feb-15-2018 11:05
Hi Helmut,

By default, all axes will have stroke marks (called "ticks" in ChartDirector documentation). Is it possible that your code sets the stroke mark to transparent? Is there a line that calls Axis.setColors?

In the original histogram sample code, there are the following lines. The first line sets the stroke mark to grey (&H888888). The second line sets the stroke mark to transparent.

Call c.xAxis().setColors(cd.Transparent, cd.TextColor, cd.TextColor, &H888888)
Call c.yAxis().setColors(cd.Transparent)

If your code have similar lines to configure the axis color, please make sure you use the one with 4 arguments like the first line above, and set the last argument, which is the stroke mark color, to a color of your choice.

Regards
Peter Kwan

  Re: histogramm.cls (Gause)
Posted by Helmut on Feb-15-2018 15:39
Thanks Peter that works very well.

Greetings Helmut

  Re: histogramm.cls (Gause)
Posted by Helmut on Feb-15-2018 15:39
Thanks Peter that works very well.

Greetings Helmut

  Re: histogramm.cls (Gause)
Posted by Helmut on Feb-15-2018 15:39
Thanks Peter that works very well.

Greetings Helmut

  Re: histogramm.cls (Gause)
Posted by Helmut on Feb-15-2018 15:40
Thanks Peter that works very well.

Greetings Helmut

  Re: histogramm.cls (Gause)
Posted by Helmut on Feb-15-2018 15:40
Thanks Peter that works very well.

Greetings Helmut

  Re: histogramm.cls (Gause)
Posted by Helmut on Feb-15-2018 15:40
Thanks Peter that works very well.

Greetings Helmut

  Re: histogramm.cls (Gause)
Posted by Helmut on Feb-15-2018 15:42
Hello Peter,

That works very well.

Greetings Helmut