Jump to content
Software FX Community

maximop

Members
  • Posts

    229
  • Joined

  • Last visited

Everything posted by maximop

  1. Here's the link to download the trial installer: http://www.softwarefx.com/sfxtrial/Trial_downloads.aspx?ProductID=CfxNet70
  2. We have released a new installer containing the Silverlight samples compatible with Silverlight 2.0 Beta 1. You can download the installer from the following link: ftp://ftp.softwarefx.com/Temp/ChartFX7WebForms.exe
  3. The UserLegendBox is not available as part of the design-time properties exposed by ChartFX. You need to set this in the code-behind file of the WebForm.aspx. This is normally a .cs or .vb file. The above code is for C# though.
  4. The easiest way to look at this is by seeing that each series represents a column in your table, while each point represents a row within that column. For example, if you are setting the Text property as follows, chart1.Points[0, 5].Text, then you are doing so for the first column and sixth row of the table being passed to the chart.
  5. The ChangedByUser event is fired before a change is performed on the chart; however, we only fire this event once since any subsequent changes are considered a waste as the chart is already dirty. Furthermore, you can implement the InternalCommand event which fires every time a chart command is processed; wether is from the MenuBar, ToolBar, or ContextMenu, this event is always fired. Unfortunately, you cannot tell exactly what change was actually done but you could let the user know that a change was made on the chart. In regards to the DISPID of the events, a list was not provided in that article since when you right click on the chart, select Events, and add the desired event, this information is automatically provided in the code within the EVENTSINK_MAP portion; however, for your convenience, I am putting here a list of the most commonly used events with their respective DISPIDs: Event DISPID AttributesChanged 21 ChangedByUser 16 DataChangedByUser 18 Highlighted 20 InternalCommand 14 MouseDown 10 MouseMove 12 MouseUp 11 UserCommand 15 PostPaint 3
  6. In order to change the Font of the LegendBox, you have to pass a new instance of the Font class as follows: chart1.LegendBox.Font = new Font("Arial", 8);I have found that the size of the font will also increase/decrease the size of the marker inside the LegendBox. The bottom line is that there is no fix solution for minimizing the size of the LegendBox; its size actually depends on how many LegendBoxItems you are showing when plotting the chart.
  7. The ChartFX.Silverlight.Client.dll and ChartFX.WebForms.Writer.Silverlight.dll provided in the sample are compiled against the 2.0 runtime of Silverlight 2.0 Beta 1. The version that was previously provided in ChartFX 7 was compiled against the Silverlight 1.1 version. The new version is not officially out as we are finishing tests so we can release this with our new installers; however, I am attaching these two new .dlls for you to try. Make sure you place them in the bin folder of your ChartFX extension. Furthermore, the sample I provided you was built using the Silverlight 2.0 Beta 1 SDK and Visual Studio 2008. My machine, where I created this sample, has a clean installation of the 2.0 runtime and SDK of Silverlight. In regards to your issue, what exactly is the problem you are experiencing? Can you post a screenshot for further reference?
  8. We are currently finishing testing our ChartFX Silverlight samples for version 2.0 Beta 1. In the meantime, I am attaching a simple sample that populates a chart in a Silverlight application.
  9. When you click on reply, you should see four tabs at the top: Compose, Options, Related, and Preview. Click on the Options tab, you should see a button on the top left to Add/Update attachments.
  10. Unfortunately, the standard legend box in ChartFX for .NET 6.2 does not provide a way to order the legend box items; however, you could hide the standard legend box and create your own UserLegendBox adding each UserLegendBoxItem in the order in which you need them to show. You could do something like the following: chart1.UserLegendBox = true; UserLegendBoxItem userLegendBoxItem = chart1.UserLegendBoxObj.Item[0];userLegendBoxItem.Label = "Below 100MB"; userLegendBoxItem.Color = System.Drawing. Color.Red;userLegendBoxItem.MarkerShape = SoftwareFX.ChartFX.MarkerShape.Rect; userLegendBoxItem.BorderEffect = SoftwareFX.ChartFX. BorderEffect.None;userLegendBoxItem.BorderColor = System.Drawing.Color.Black; userLegendBoxItem = chart1.UserLegendBoxObj.Item[1]; userLegendBoxItem.Label = "Below 500MB"; userLegendBoxItem.Color = System.Drawing. Color.Yellow;userLegendBoxItem.MarkerShape = SoftwareFX.ChartFX.MarkerShape.Rect; userLegendBoxItem.BorderEffect = SoftwareFX.ChartFX. BorderEffect.None;userLegendBoxItem.BorderColor = System.Drawing.Color.Black; userLegendBoxItem = chart1.UserLegendBoxObj.Item[2]; userLegendBoxItem.Label = "Below 1GB"; userLegendBoxItem.Color = System.Drawing.Color.Green; userLegendBoxItem.MarkerShape = SoftwareFX.ChartFX. MarkerShape.Rect; userLegendBoxItem.BorderEffect = SoftwareFX.ChartFX.BorderEffect.None; userLegendBoxItem.BorderColor = System.Drawing. Color.Black;Please note that the functionality you are looking for is available in ChartFX 7 via the LegendItemAttributes Collection. Charts.zip
  11. As I mentioned before, you can set the Text property of each individual pie slice and then use the %L variable setting of the PointLabels.Format property to show those values; in addition, you can use the %p variable setting to show the percentage that this pie slice represents. You can do as follows: chart1.AllSeries.PointLabels.Visible = true; chart1.Points[0, 0].Text = "Slice 1";chart1.Points[0, 1].Text = "Slice 2"; chart1.Points[0, 2].Text = "Slice 3";chart1.Points[0, 0].PointLabels.Format = "%L" + " is %p%%"; chart1.Points[0, 1].PointLabels.Format = "%L" + " is %p%%"; chart1.Points[0, 2].PointLabels.Format = "%L" + " is %p%%";For more information about these variable settings, please refer to the Format property of the PointLabelAttributes class in the Samples & Resource Center (Documentation installed with the product). X-Axis labels.zip
  12. The gap properties are used to set the distance in pixels between the border of the bounding rectangle (chart control) and the plot area of the chart not between the plotted area and the axes.
  13. You can use the ScrollPosition property of the DataGrid; this property scrolls the data horizontally to the specific column in the grid. You can do as follows: chart1.DataGrid.Visible = true; chart1.DataGrid.ScrollPosition = 20; The above value will scroll the DataGrid to the 20th column.
  14. maximop

    XmlDataProvider

    You are welcome. If you have further questions or concerns, please post it on the forum or send us an e-mail to supportATsoftwarefx.com.
  15. I am unable to see the screenshot. Can you attach the file or post a link replicating the problem?
  16. What do you mean with small squares in the background? Please post a screenshot.
  17. Is the ReportServer on a different machine? If so, please note that ChartFX for Reporting Services needs to be installed there as well.
  18. You need to set the Link Object of each pie slice in the PointAttributesCollection. Assuming you have a pie chart with three slices, you can do as follows: Chart1.Points[0, 0].Link.Url = "http://www.google.com"; Chart1.Points[0, 1].Link.Url = "http://www.softwarefx.com";Chart1.Points[0, 2].Link.Url = "http://www.yahoo.com";
  19. maximop

    XmlDataProvider

    Please ensure that you have added a reference to the ChartFX.WebForms.Data.dll as well as setting the namespace above.
  20. In order to show a label inside a pie slice, you need to enable the point labels for that slice and set the point labels format with one of the pre-defined variable settings; please refer to the ChartFX documentation for more information about this property. chart1.Points[0, 0].PointLabels.Format = "%L"; chart1.Points[0, 0].PointLabels.Visible = true;In addition, you can set the Text property of the particular point you want to show the point label for, and the %L of the point labels format will show this value. chart1.Points[0, 0].Text = "Slice 1";
  21. I just noted that it was in the wrong forum since you reported this under ChartFX for .NET 6.2 and not under ChartFX ClientServer 6.2. In addition, if you are developing a Visual Basic 6 application using our ClientServer component, please refer to the Samples and Resource Center (Documentation installed with the product) which shows numerous samples related to your programming environment.
  22. The API for ChartFX ClientServer 6.2 was completely re-designed. Although we do not have an actual migration guide from version 5.1 to 6.2, I have created an article that shows how to use our ChartFX ClientServer 6.2 component within an MFC application. This article also has a zip file attached where you can download a compilation of C++ projects that can help you in migrating your existing application. http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxCS62&Source=http://support.softwarefx.com/kb/190/1/011.htm In the future, please post your question(s) under the correct forum. Thank you.
  23. First ensure that the gallery property is set to Bar, then you can set the Stacked property as follows: chart1.Gallery = Gallery.Bar; chart1.AllSeries.Stacked = Stacked.Normal;Alternatively, you can access each individual series and set its Stacked property in the following way: Assuming you are plotting three series, you can do the following: chart1.Series[0].Stacked = true; chart1.Series[1].Stacked = true;chart1.Series[2].Stacked = false;This will stack the first two series while the third one will show next to the stacked bars.
  24. Let's try running the installer from the command prompt as follows: C:\"installer name" /N The important thing here is that you use the /N parameter which forces the installer to run. Also, make sure that you replace the "installer name" string with the actual name of your installer.
  25. Are the ChartFX Internet 5.5 virtual folders properly set on IIS? Please follow the information below to ensure that the virtual folders are properly set and that you set the MIME Types: There are some known issues regarding Chart FX and Windows Server, here are some articles referring to that topic: http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxIE&Source=http://support.softwarefx.com/kb/143/1/059.htm - This talks about adding the mime types. http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxIE&Source=http://support.softwarefx.com/kb/143/2/058.htm - This talks about setting the virtual folders. Due to the "lock down" nature of Windows Server, IIS is configured to not server any unknown file types. As a consequence, IIS6 returns 404 - File Not Found for some of the file extensions we use with our component or a license error much like the one you have received. You will need to add .chw and .lic extensions to the list of mime types manually. If not, IIS will not serve any files with those extensions. Steps: - Internet Information Service Manager - Right click "Default Web Site" and select properties - HTTP Headers page - Click on the "MIME Types" button - Click new - Set the extension to .chw and the mime type to "application/octet-stream" OK ... Also add: extension: .lic, type = text/plain
×
×
  • Create New...