Search found 22 matches

by Janne
Fri Jan 24, 2014 4:29 pm
Forum: .NET
Topic: hotspots
Replies: 2
Views: 6553

Re: hotspots

I'll do that. However, I did this design-time, using the edit function of the chart Component, so there isn't a code really. (I assume that's what the demo has - a code). Anyway I'll look at this during the weekend and get back to you. Thanks a lot for yr assistance.
best,
by Janne
Wed Jan 22, 2014 1:50 pm
Forum: .NET
Topic: hotspots
Replies: 2
Views: 6553

hotspots

Hi all, I have this webchart containing several stacked barseries on a datetime bottom axis, and I want the "tooltip" that appears when the mouse moves over a bar to indicate the descriptive text used in the legend. If I chose "legend" as the MarkStyle property design-time, however, what I see is no...
by Janne
Wed Aug 14, 2013 11:19 am
Forum: .NET
Topic: barwidthpercent: % of what?
Replies: 14
Views: 20565

Re: barwidthpercent: % of what?

Yeah, I see what you mean.
Well, it's not really a problem if one is only aware of it before writing a phone-book full of misdirected code... Perhaps it would be worthwhile pointing it out somewhere, ideally in the IDE tooltip connected to the property?

Thanks a lot, I did appreciate this.
by Janne
Wed Aug 14, 2013 10:22 am
Forum: .NET
Topic: barwidthpercent: % of what?
Replies: 14
Views: 20565

Re: barwidthpercent: % of what?

Thanks again, Narcis.

For your info, my chart includes quite a number of stacked series, and the overlap was really huge before this little conversation. So if that helps for finding the bug, it seems like the number of gaps is important.

cheers,
by Janne
Tue Aug 13, 2013 11:37 am
Forum: .NET
Topic: barwidthpercent: % of what?
Replies: 14
Views: 20565

Re: barwidthpercent: % of what?

Misunderstood again. Null points probably does the trick. No .add( ...) at all doesn't work however.

So again - problem solved !!
by Janne
Tue Aug 13, 2013 11:35 am
Forum: .NET
Topic: barwidthpercent: % of what?
Replies: 14
Views: 20565

Re: barwidthpercent: % of what?

No, sorry, misunderstood you just now.

I added zero-points and that worked fine. Null points (no data) doesn't work for me. Several bars are stacked, does that matter?
by Janne
Tue Aug 13, 2013 11:32 am
Forum: .NET
Topic: barwidthpercent: % of what?
Replies: 14
Views: 20565

Re: barwidthpercent: % of what?

Yes that's actually what I did yesterday, or started to do. The algoritm needs a fair deal of rework, but I tried it simplified and it works. Seemingly, the bar width is determined as the number of points added, divided by (max-min), or something to that effect.

So - problem solved. Thanks !!
by Janne
Mon Aug 12, 2013 3:04 pm
Forum: .NET
Topic: barwidthpercent: % of what?
Replies: 14
Views: 20565

Re: barwidthpercent: % of what?

OK, so all I need to do, it seems, is to see to that there is at least a very small value. every week. Since you had some overlap in your random population despite the use of random as data source (I assume that the gap that was there was actually a value, namely 0 ?)
by Janne
Mon Aug 12, 2013 2:47 pm
Forum: .NET
Topic: barwidthpercent: % of what?
Replies: 14
Views: 20565

Re: barwidthpercent: % of what?

Yes that's the effect. Only in my case it's much more. Could the occational lack of values along the axis be aggravating the problem, you think?
by Janne
Mon Aug 12, 2013 2:09 pm
Forum: .NET
Topic: barwidthpercent: % of what?
Replies: 14
Views: 20565

Re: barwidthpercent: % of what?

Hi Narcis, Well, yes that makes sense, the example indicates that 100% means that the bars fill the White space between the increments, which is what you would expect. Only problem is that in my application the bars don't hesitate at all to overlap by lots. The chart is 2D, bottom axis is meant to b...
by Janne
Mon Aug 12, 2013 12:58 pm
Forum: .NET
Topic: barwidthpercent: % of what?
Replies: 14
Views: 20565

barwidthpercent: % of what?

I have problems controlling the width of bars in a webchart containing stacked barseries on a datetime bottom axis. So tell me -what is the width percent of? I hope this is an simple question. It should be.
by Janne
Thu Feb 09, 2012 7:28 am
Forum: .NET
Topic: creating an image file from a chart with hotspots
Replies: 4
Views: 6875

Re: creating an image file from a chart with hotspots

Hi Sandra,
I'll do that in a bit. As you might have understood, this is only a small part of my daily work, and my calendar right now tells me otherwise for maybe a couple of weeks. But I'll get back to you with this as soon as I can.

cheers,
by Janne
Wed Feb 01, 2012 4:01 pm
Forum: .NET
Topic: creating an image file from a chart with hotspots
Replies: 4
Views: 6875

creating an image file from a chart with hotspots

Hi everyone. Sandra might remember this thread since some time back. I had a problem creating something downloadable out of a gantt chart containing several series and hotspots. I found this solution, that worked fine on my laptop: __________________________ //Create image: var ChartImg1 : BitMap :=...
by Janne
Tue Jan 17, 2012 7:00 pm
Forum: .NET
Topic: Setting margins ....
Replies: 7
Views: 9750

Re: Setting margins ....

By the way, I don't need the extra copy. I don't know why that was suggested in the first place. It works anyway. And as for the footer problem above: I finally took your point Sandra. Copying to a new bitmap obviously repaints the chart. So - that too works. Thanks, Sandra. I might learn this in du...
by Janne
Mon Jan 16, 2012 1:26 pm
Forum: .NET
Topic: Setting margins ....
Replies: 7
Views: 9750

Re: Setting margins ....

Hi again, Sandra After some fiddling, I found out that this is a way: webChart1.PictureFormat:=PictureFormats.JPEG; var ChartImg1 : BitMap := new Bitmap(webChart1.Chart.Width,webChart1.Chart.Height); ChartImg1:=webChart1.Chart.Bitmap(); var ChartImg2 : BitMap := new Bitmap(ChartImg1); Response.Conte...