Jump to content
Software FX Community

RandyJ

Members
  • Posts

    126
  • Joined

  • Last visited

Everything posted by RandyJ

  1. Hi, You need to use the ScrollPosition property. This property allows you to set the first visible cell in the data editor. Example To set the data editor scroll position to 15: [C#] chart1.DataEditorObj.ScrollPosition = 15; Note: Please note that the ScrollPosition and SetScrollView settings of the Axis will override this property (if they have been manually set), as the data editor cells will synchronize with the points shown on the chart. For this reason in such a case the value of the data editor's ScrollPosition will be ignored by Chart FX. Regards, Randy Jimenez
  2. Hi, Are you passing actual data to the new series? Could you please post a sample showing where you pass data to the new series? Regards, RandyJ
  3. Hi, Please take a look at the code below. It shows where to apply the template you need: <my:Chart Margin="13,13,13,5" Name="chart1"> <my:Chart.LegendBox> <my:LegendBox Visibility="Visible" DockPanel.Dock="Right"> <my:LegendBox.ContainerStyle> <Style TargetType="{x:Type ItemsControl}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate> <StackPanel Orientation="Horizontal" IsItemsHost="True"/> </ControlTemplate> </Setter.Value> </Setter> </Style> </my:LegendBox.ContainerStyle> </my:LegendBox> </my:Chart.LegendBox> </my:Chart> Regards, Randy Jimenez
  4. Hi,The feature you are looking for is indeed supported when using the full version of the product. Unfortunately, Chart FX Lite does not support the creation of XY Charts.Regards,Randy Jimenez
  5. Hi, I think the problem is related to the fact that you are creating an X/Y chart (using XValues). Please note that XY charts do not have a categorical axis. Both the X and Y axis become a numerical axis and, therefore, you can set any axes values such as minimum, maximum, step, logbase and other settings related to a numerical axis. The problem is that due to its nature, X/Y charts do not support non-x/y galleries such as bar charts, gantt, etc (as these galleries use a categorical X axis). You can use X-Values only in some galleries such as LINES, AREA, CURVE, STEP, SCATTER, SURFACE, CONTOUR (which support a numerical X axis). In the sample posted, you are attempting to create an X/Y chart by passing XValues, this means the X Axis will be a numerical Axis and for this reason you will not be able to use bars (as Bar is a non-x/y gallery). When this gallery is used in an X/Y chart, an unexpected behavior may be experienced. Regards, Randy Jimenez
  6. Hi, Performance of charts vary widely based on several factors such as datasources used, data size, server capabilities, data population methods, visual features, chart size and so on. It is usually related to the complexity of the chart being displayed, for example a Curve chart is much slower than a Line chart, Circle markers are slower than Squared ones. Please note that many of the product's default settings are tailored for improving the chart's look rather than focusing on server performance. In situations where Chart FX is heavily used, these default settings may need to be configured to improve performance. In general, if server performance is of real concern you should refrain from making extensive use of the features geared towards achieving a cosmetic effect on the chart, particularly features like Borders, Transparency, Gradients, Motifs which heavily use the system graphical API as a way to improve the way charts look. Regards, Randy Jimenez
  7. Hi, How are you placing the logo in the chart control? Are you adding it as an annotation object? Could you please post a sample of the code you are using? Regards, Randy Jimenez
  8. Hi, I am afraid that is not possible. This is by design. You are not able to modify the position of the tick mark so that it appears at the beginning/end of a bar. On the other hand, you are indeed able to specify the increment you want between minor tick marks and minor gridlines (if they are displayed) on the selected axis by using the MinorStep property as follows: chart1.AxisY.MinorStep = 2; For example, if the selected axis ranges from 0-100 and you have specified a Step value of 10, labels and gridlines will appear at 10, 20, 30, etc. If you would like to have 5 minor tick marks in each major interval, you can set the MinorStep to 2. You can also set the tickmark to be located inside or outside the Axis, but you cannot make it appear at the beginning/end of a bar. chart1.AxisX.Grids.Minor.TickMark = ChartFX.WinForms.TickMark.Outside; Regards, RandyJ
  9. Hi, This can be easily done by calling the clear method of the chart to remove existing data. Take a look at the following sample: [C#] chart1.Data.Clear(); Regards, RandyJ
  10. Hi AdolfoCG,I am afraid this is by design. CustomGridLines are meant to highlight limits or specific points of interest in the chart. They can be drawn anywhere in the chart area by being attached to a particular value in the Axis but they are intended to appear over the points by design. RandyJ
  11. Hi bperkins24, I am sorry for the misunderstanding. Unfortunately I believe this would not be possible with the version for Reporting Services. In this version you are limited to whatever is available in the properties window. Since you cannot enter code, I believe this property is not available. However, since the property in question was indeed included in the documentation I'll investigate further to see if there is any work around to overcome this problem. Regards, RandyJ
  12. Hi, Can you please post a sample showing the way the labels should be displayed (inverted) to meet your needs? This way I will be able to provide you with an accurate solution. Thanks, RandyJ
  13. Hi bperkins24, The style property belongs to the Axis class. Please refer to the link below which points to the Chart FX for Reporting Services Documentation. You will find the style propery under Chart -> ChartFX.ReportingServices -> AxisY Class -> Properties -> Style http://support.softwarefx.com/SupportDocTree.aspx?Prod=CfxRS&Type=A This other link points to the Syle property directly: http://support.softwarefx.com/OnlineDoc/CfxRS/API/Axis_Style.htm Regards, RandyJ
  14. Hi bperkins24, The zero line appears when the BreakZero flag is "on". This flag is one of the many flags you can enable or disable by means of the axis style property. Remember the axis style property is a mask property which means all settings represent a bit in the word that you need to turn on or off according to what you want. For this purpose you will need to use the bitwise operators (And, Or, Not, Xor) provided by your development tool. So for example, if you want to delete the X axis line when the Y values has negative and positive values, you just need to add the following line: Chart1.AxisY.Style &= ~AxisStyles.BreakZero; Regards, RandyJ
  15. Hi,Well, actually the performance is related to the complexity of the chart being displayed, for example a Curve chart is much slower than a Line chart, Circle markers are slower than Squared ones, in general, we depend on the performance of GDI+ so the performance of the chart depends a great deal of the performance of the GDI+ primitives used. Performance of charts vary widely based on datasources used, data size (the number of points is an important thing you need to consider when rendering charts, it is recommended to keep it under 70.000), data population methods, visual features, chart size, etc. While it is true that many development tools and web development technologies significantly reduce development time and allow for quicker deployment, this paradigm presents a whole new challenge for developers; among them, server scalability and performance. The real issue in web application design is user experience. To make an application perform as a traditional desktop application when it is actually a distributed application that could be simultaneously servicing hundreds or even thousands of users. To understand how Chart FX impacts server performance, consider every time a web page containing a chart is accessed, the Chart FX Server component creates a chart in memory using a device context created on the server. Therefore, hardware and software settings on your server affect how quickly these charts are created. In general, Chart FX performance depends to a great extent on the chart format generation (Image, .NET Control, SVG, Flash, etc) and the chart return mechanisms (GetHtmlTag or GetHtmlData) chosen. Also, when generating chart images you should pay close attention to the Chart FX default settings and chart size as major performance factors when the server is under a heavy load. For example, a common practice among web developers is to create a big chart that can be easily read on a browser. However, this practice can be an important factor on how your server behaves and performs under heavy load. Essentially, a bigger chart means a larger image that needs to be processed, generated, stored and finally downloaded. This affects in one way or another, the application's overall performance, therefore, you must be careful when choosing the final chart rendering size in the page if server performance is a concern. Chart FX was designed to conform to web development guidelines and to take advantage of the server-bound nature of web applications. Nevertheless, many of the product's default settings are tailored for improving the chart's look rather than focusing on server performance. In situations where Chart FX is heavily used, these default settings may need to be configured to improve performance. For example, Chart FX uses a default smoothing algorithm (anti-aliasing) on text and markers that negatively impacts server performance. This feature can be turned off by using the SmoothFlags property to
  16. Hi, The ToolTipFormat property allows to control the information to be displayed in the tooltip when the user moves the mouse over a particular data point in the chart. If you specify the "L" parameter, the tooltip will show the text property of the Point object. Chart1.ToolTipFormat = "%L" ; Chart1.Points[0, 0].Text = "Custom text" ; You just need to loop through the data you want to display for each point. Regards, RandyJ
  17. Hi, In order to rule out other possible problems, please let us know whether you can see the charts when the PSS service is stopped. Regards, RandyJ
  18. Hi, After analyzing your case creating chart templates using the designer, I was able to understand what your issue is. You are creating charts using the designer and saving them as file templates with a .chw extension. After that, you are trying to Import the template file with the chart FX Import Method and this is not supported. The Chart FX Import method is used to import a chart previously saved with the Export method, and the template file created with the Designer is not a supported file format for this method. In case you want to read more about the Import/export Method, please take a look at the Import/Export Method document located in the Chart FX Internet Programmer
  19. Hi,I am not sure I have properly understood what you want to do. Could you please elaborate a little bit more on what you meant by "programmatically determine the value which would show a stripe from the very start of the chart area" ? Regards,RandyJ
  20. RandyJ

    Labels

    Hi, I am afraid this would not be possible. There is no built-in feature to allow a second set of labels. However, you can achieve a similar behavior by using annotation objects, which will require a little bit of coding but will give you the flexibility you need. You can create annotation objects that are "attached" to logical X/Y coordinates (in X and Y axis logical units). This would allow you to place a second set of labels. For more information on annotation objects please check the help files and the support site. Regards, RandyJ
  21. Hi,I have not been able to reproduce the issue on my side. Please send us an email to support at softwarefx dot com and include a compilable sample that replicates the issue and shows how exactly you are configuring the chart.Regards,RandyJ
  22. Hi, The calculated-by-ChartFX bar depth percentage is 100 by default. It will keep this value unless you change it. If you modify this value and then access the depth property you will get the new value you have set. If you don't modify this value you will always get 100 since this is the default depth. Regards, RandyJ
  23. Hi, A depth of 100 is the default value of the Depth property. How exactly are you modifying the chart to have a different depth? Are you specifying it dinamically? Could you please post a sample showing the code you are using? Regards, RandyJ
  24. Hi, Unfortunately, breaking a slice in a Pie chart into further slices is a non-supported behavior. However I kindly invite you to send us an email to support at softwarefx dot com so that this can be considered as a new possible feature for future versions. Regards, RandyJ
  25. Hi, Unfortunately, due to the fact that firefox does not support ActiveX, you are not able to render the charts as .net clients. For firefox, you are only able to set the render format to "Image" or Auto (which will generate the most interactive format depending on the User Agent of the browser requesting the chart. If the browser is Internet Explorer with the .NET Framework installed, Chart FX will generate a .NET component. If the browser is Internet Explorer 4 or above, without the .NET Framework, an ActiveX will be generated. For the rest of the browsers, an image will be generated in Png or Jpeg format, depending on the browser's capabilities). However, please note that Chart FX 7 takes advantage of the out of band callbacks capability and combines it with a powerful DHTML engine to produce chart images that allow full interactivity and support state in web applications. Among other things, the Chart FX DHTML rendering engine allows developers to: - Prevent downloading, configuration and use of ActiveX or .NET components making the application platform agnostic and maintenance free. - Deploy charts that are fully secured as no binary files are needed in the browser. - Access a fully interactive toolbar with drop-down menus that support most Chart FX end user functionality, including zooming and scrolling providing a much smoother client experience, while still maintaining the full flexibility of deploying to any browser client in the enterprise. While the user is interacting with the chart, the Chart FX DHTML rendering engine will automatically update the chart with the new data. While this takes place, end users don't lose any of their chart settings, they don't get the appearance of a complete page refresh, and Internet Explorer didn't need to download the entire page content again; it only updated the one portion of the chart that changed. Although you do not get exactly the same kind of interactivity when rendering images, you do get a lot of interactivity by means of the full advantage that Chart FX has taken of Ajax technologies. Regards, RandyJ
×
×
  • Create New...