Search found 22 matches

by Bank Van Breda
Fri May 18, 2018 2:27 pm
Forum: .NET
Topic: Pie chart values - off center slices
Replies: 5
Views: 19281

Re: Pie chart values - off center slices

Thanks for the great support! Now works as expected :)
by Bank Van Breda
Fri May 18, 2018 12:45 pm
Forum: .NET
Topic: Pie Charts
Replies: 13
Views: 36523

Re: Pie Charts

Ok found out why this is happening... I added the values to the pie from large to small sorted. Seems the pie chart assumes that data is added in the other sorted direction ( from small to large ).
But because I also show a legend list, I sorted from big to small...

But problem fixed :)
by Bank Van Breda
Fri May 18, 2018 11:51 am
Forum: .NET
Topic: Pie Charts
Replies: 13
Views: 36523

Re: Pie Charts

Like I said, I'm still clearly missing the actual correct code? So image 1 is regular pie chart, you notice that first value ( dark blue ) is followed by orange rotated counterclockwise. Screen Shot 2018-05-18 at 13.48.00.png Second image is same pie with the rotate 180. So now all values are flippe...
by Bank Van Breda
Thu May 17, 2018 11:14 am
Forum: .NET
Topic: Pie Charts
Replies: 13
Views: 36523

Re: Pie Charts

What is the actual part for triggering that pie data is filled up clockwise instead of default counterclockwise?
Tried playing with RotationAngle without any luck.
by Bank Van Breda
Mon May 14, 2018 11:09 am
Forum: .NET
Topic: Pie chart values - off center slices
Replies: 5
Views: 19281

Re: Pie chart values - off center slices

I guess I'll wait for the bug fix... because setting each slice as exploded with value 5 has following visual effect.
Screen Shot 2018-05-14 at 13.08.17.png
Screen Shot 2018-05-14 at 13.08.17.png (72.41 KiB) Viewed 19286 times
by Bank Van Breda
Tue May 08, 2018 3:12 pm
Forum: .NET
Topic: Bar chart - negative values versus bottom axes
Replies: 6
Views: 19841

Re: Bar chart - negative values versus bottom axes

Found it... we manipulate left Max value mark

BarChart.Chart.Axes.Left.MaximumOffset = 5;
BarChart.Chart.Axes.Left.AutomaticMaximum = false;
BarChart.Chart.Axes.Left.Maximum = maxValue;

And that MaximumOffset is not needed!
Sorry, our bad ;)
by Bank Van Breda
Tue May 08, 2018 2:38 pm
Forum: .NET
Topic: Bar chart - negative values versus bottom axes
Replies: 6
Views: 19841

Re: Bar chart - negative values versus bottom axes

A small reply already...
Indeed in a test app with given example code this works fine!

In our production app, not. So I'm trying to rework the example app to see if I can spot the difference. :)
by Bank Van Breda
Tue May 08, 2018 1:29 pm
Forum: .NET
Topic: Pie chart values - off center slices
Replies: 5
Views: 19281

Pie chart values - off center slices

Screen Shot 2018-05-08 at 15.27.21.png Any reason why the slice center points are not stopping in the center of the pie chart? The values for the middle one are these by the way pieData.Data.Add(new GraphData() { Value = 81, Color = Color.FromHex("#B9C4D8") }); pieData.Data.Add(new GraphData() { Va...
by Bank Van Breda
Mon May 07, 2018 8:47 am
Forum: .NET
Topic: Bar chart - negative values versus bottom axes
Replies: 6
Views: 19841

Re: Bar chart - negative values versus bottom axes

The demo code for this is giving here : http://www.teechart.net/support/viewtop ... =4&t=16893
If that does not render the same issue, I'll try to extract it from my project...
by Bank Van Breda
Fri May 04, 2018 12:23 pm
Forum: .NET
Topic: Bar chart - negative values versus bottom axes
Replies: 6
Views: 19841

Bar chart - negative values versus bottom axes

How do we compensate for the space needed to show negative bar marks? Cfr screenshot Screen Shot 2018-05-04 at 14.17.54.png The last bar has a negative value and now masks the bottom axes value. Can we fix this with some offset and if yes how do we calculate that margin? Side question, can we manipu...
by Bank Van Breda
Fri Apr 27, 2018 2:25 pm
Forum: .NET
Topic: Line graph detail
Replies: 6
Views: 18041

Re: Line graph detail

Awesome, bottom.MinimumOffset and MaximumOffset does the trick, thanks!
by Bank Van Breda
Fri Apr 27, 2018 11:58 am
Forum: .NET
Topic: Pie chart details
Replies: 7
Views: 21548

Re: Pie chart details

Yes!
Thanks for the quick fix. Pie chart is looking perfect now!
by Bank Van Breda
Fri Apr 27, 2018 7:36 am
Forum: .NET
Topic: Line graph detail
Replies: 6
Views: 18041

Re: Line graph detail

The github code is working great! Only 1 small question still... if you look at my sample image, you will notice a 15 at the bottom. This because I added DateTime values for the graph and set the Bottom Axes as follows: AreaLineChart.Chart.Axes.Bottom.Increment = Steema.TeeChart.Utils.GetDateTimeSte...
by Bank Van Breda
Fri Apr 27, 2018 7:27 am
Forum: .NET
Topic: Bar chart details
Replies: 6
Views: 21206

Re: Bar chart details

Hey Sandra,

Ok, seems I did a small error in implementing the code.
So I used bar.Marks.BackColor = Color.Transparent; instead of bar.Marks.Transparent = true;

The yellow background is gone when I add bar.Marks.Transparent = true;

Thanks again for the support!
by Bank Van Breda
Tue Apr 24, 2018 3:25 pm
Forum: .NET
Topic: Bar chart details
Replies: 6
Views: 21206

Re: Bar chart details

Hey Sandra,

Sorry still 1 small detail questions.

On Android, all Marks have a yellow back color. Even though I added bar.Marks.BackColor = Color.Transparent;
( On iOS these look good )
Screen Shot 2018-04-24 at 17.19.37.png
Screen Shot 2018-04-24 at 17.19.37.png (41.81 KiB) Viewed 21225 times