-
Posts
1,761 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Frank
-
-
Please export this chart to a binary file (using the export method) and attach it to your post.
-
Please explain the relation of this question to Chart FX.
-
Please include a sample Web Forms application that reproduces the problem.
-
There is no limitation on the number of requests PSS can handle.
Please check the event log for any messages from PSS. You can increase the verbosity of these messages by modifying the PSS config file. For more information:
Q7622021. Troubleshooting the PSS Service This article provides valuable information for troubleshooting problems with the PSS service. URL: http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/2/021.htm?_r=1 -
What type of chart is this (Line,Bar,etc.)?
What's in your X-Axis? You are attaching the object to a date in the X-Axis. Depending on the type of chat you may have to change this to the index of the point to attach to.
-
No. Chart FX for .NET does not use ATL.
-
You need to change the order of the series. If you know from the begining which series you want on top, then is best just to set the data in the right order. If you are using databinding it is just a mater of changing the order in which you add the fields to the FieldMap collection.
If you want to dinamically change the order of series after the chart is displayed, you can simple re-arrange the Series collection or usise chart.Series.SendToBack and BringToFront.
-
chart1.AxisX.Grids.Major.Visible = false;
chart1.AxisY.Grids.Major.Visible = false;
-
Instead of passing the dates as X-Values pass them as labels. This way they will be treated as simply strings and not as DateTime values.
If you are doing DataBinding, simply change the FieldUsage to FieldUsage.Label, if you are using the API, use chart.Data.Labels.
-
This problem is fixed. Notice that labels can be clipped if the MaximumLabelMargin (Pie class) is set to less than 100.
If yo want to guarantee no labels will be clipped (as long as there is room to show them) set:
((ChartFX.WinForms.Galleies.Pie) chart.GalleryAttributes).MaximumLabelMargin = 100;
Notice that by doing this you are allowing the pie itself to become very tiny in favor of displaying the labels.
-
The Click event in the chart is useless because it doesn't contain information about the context (over which object did you click).
Use the MouseClick event instead.
-
You can either process the click event which will generate a postback (or callback) to your form or you can set the Link property to point to a different Url, for example:
chart1.AllSeries.Link.Url = "http://www.softwarefx.com"
You can use macros in this URL using the '%' sign. See API reference on Link.Url for details.
You can also assign different Url for each series:
chart1.Series[0].Link.Url = "http://www.softwarefx.com";
chart1.Series[1].Link.Url = "http://support.softwarefx.com";
-
Are you attaching these annotation objects to logical (Axis) X/Y values?
My guess is that you are attaching them incorrectly. If your Line charts has X/Y values, the attached value must be relative to the X-Axis scale. Bar charts always have a categorical X axis, therefore, the X-Axis Attachment for annotation objects is relative to the index of the point, not the X-Axis scale.
-
Do you want to capture these events in the server or in the client (browser)?
Also, notice that in order for the .NET client to generate events at all, and otherwise communicate with JavaScript or the Server, the .NET control must be granted Full Trust in the client. See caspol command for details.
-
The default background is a Gradient Background.
To set a plain background do:
chart1.Background =
null;The default background color is dependant on the palette. To change it to a specific color (not dependant on the palette) do:
chart1.BackColor= <color>;
To turn scrolling on and off(default):
chart.AxisX.AutoScroll = true/false;
Notice that the scrollbar will only show if there is a need for it.
-
Like most WindowsForm controls, painting only occurs when the message queue is proceessed, that is when the UI thread is "idle". Multiple serialized calls to multiple APIs, in the same thread, will NOT generate multiple re-paints.
You need to measure whether the time is being spent setting the data or draing it by measuring the time spent from when you start setting the data to when you finish. This time is not related to the Paint time. You can either use a profiler or some good-old time APIs like System.Diagnostics.StopWatch.
Paint time is harder to measure because painting is not started by your (user) code but by the WM_PAINT event sent by Windows. The PrePaint and PostPaint event mayu help you measure this time.
The approach for improving these is very different:
For the first case, the performance can be improved by either improving the speed at which your data is retrieved or by minimizing the time Chart FX takes to process it. The only think here that Chart FX does that can have an inpact in the performance is the reallocation of memory. This can be dramatically improved by simply telling the chart how many series and points are there going to be in the chart in advance.
Improving painting time will involve some compromises on how the chart looks. Some graphics elements like circles and lines are inherently slower than others like rectangles. Reducing the number of graphics elements drawn, like borders, etc will also have a big impact.
-
Complex number formatting is not supported in the Statistical Legend box.
-
You need to series, one for bananas and one for oranges.
Depending onhow your data is organized (if you are using Data Binding) one of the following two options will be the one for you:
1) If your data comes in the following form:
Date Bananas Oranges
1/1/2009 100 200
1/2/2009 200 350
....
Then all you have to do is bind the chart to this table. The default bindings will do what you need.
2) If your data comes in the following format:
Date Fruit Sales
1/1/2009 Bananas 100
1/1/2009 Oranges 200
1/2/2009 Bananas 200
1/2/2009 Oranges 350
...
Then you canuse the CrossTabdata provider (see resource center for more info).
In either case, you can use the Data Wizard at design-time to guide you through the process.
-
Is this a 3D chart or a 2D chart? Can you please post a sreenshot that shows the problem?
-
-
In Chart FX 7:
((ChartFX.WebForms.Galleries.Pie) char.GalleryAttributes).ShowLines = false;
-
1) If by hidding a series you mean doing:
chart.Series.Visible = false;
Then the series can be retrived with the Data API. The data API is unnafected by the Visible attribute of series.
2) Yes. You can change any value at any time.
-
Instead of setting the attribute to "null" simply remove the attribute from that row:
<ROW c0="PRODUCT NAME" c2_c1_0="4692.5" c2_c1_2="4118.8"></ROW></CHARTFX>
-
Where is this UserCommand? In the toolbar? please post the code you are using to setup the UserCommand.
ChartFx 7 Installation
in Web Forms
Posted
You can do a production server installation which does NOT require Visual Studio to be installed. It does require the .NET Framework 2.0 to be installed.