Jump to content
Software FX Community

Neoteny

Members
  • Content Count

    25
  • Joined

  • Last visited

Everything posted by Neoteny

  1. Mmm, you make it sound so easy, just add zero point five to fix the problem. I thought I pointed out that the chart needs to work with numbers (for x-y and bubble size) that I don't know beforehand. To complicate things, I don't know the number of series and points the chart needs to display either. To find a correction algorithm took us almost a week, the information provided in some posts in the forum (including an algorithm used in an older version of the chart control) and in the resource centre wasn't of much help. My point is, that one would (should?) expect the chartfx control to co
  2. I'm sorry, I meant nested axes, not an x-axis at the other side of the chart. Try this code: Chart1.Gallery = Gallery_Gantt 'Chart1.AxisX.Title.Text = "My X-Axis Title Test" 'The next lines create another x axis and set its properties Dim axis As axis Set axis = Chart1.axis(3) axis.Visible = True axis.Min = 0 axis.Max = 12 axis.Step = 3 axis.YAxis = False axis.Gridlines = True axis.Position = AxisPosition_Center axis.Title.Text = "My Secondary X-Axis Title Test" Of course, while trying to adjust your example to match my findings I discovered that axis.Position
  3. When plotting a bubble chart with automatic axis scaling (for both x- and y-axis) it seems that the calculated value for the axis.max is the center of the outermost bubble, not taking into account the diameter of the bubble. the topmost and rightmost bubble(s) are cut in half. Sorry to say, but this doesn't look good. One would expect that automatic scaling takes the bubble diameter into account. I don't want to switch to manual scaling because I don't know in advance what the range is for the data the chart is fed with, and I don't want to program complex calculations to make corrections
  4. If a x-axis has a title and the gallery is changed to Gantt, the title is displayed vertically. However, if two Axes are placed on the x-axis and the second one (Axis.Item(3)) has a title, the title is not rotated, but placed on the bottom and displayed horizontally. It takes way too much space this way.
  5. On second thought... There are some strange consequences. Suppose the chart decides that the best way to place the ticks/gridlines is every three bars. Suppose months are plotted on the x-axis, from januari to december. The labels are centered and end up under the 2,5,8,11 bar, corresponding to the months februari, may, august, november. But the labels that are displayed are the last labels before the division: march, june, september, december. This is very confusing. One tends to interpret the label to match the bar right above it, not the one to the right of it. I can't think of a wa
  6. Thanks a lot! I somehow missed this one.
  7. I (and my customers) are used to having ticks and gridlines between clustered bar groups. In ChartFX it seems there's no way to accomplish this. ticks and gridlines are always drawn through a bar cluster and are centered above the label. It would be nice if it would be an option in ChartFX 7 (is there a release dat yet?) to place the grid between the bar clusters. It would make the vertical interlacing look better too. Any thoughts on this one? Regards, Caius
  8. anyone? It's really not a very good looking feature :-(
  9. When combining lines and bars in a chart it is annoying that line series dissappear behind bars. To solve this I have to move line series to the end (so they are drawn last and over the bars). However, I would like to make it appear to the user that the order hasn't changed. This means I need a legend where lines are often the first items in the legend, followed by the bar series. I know I can use the userlegendboxobj to create my own legend, but it would've been nice if I could attach a series to a userlegendboxitem. Unfortunately I can only attach points to a userlegendboxitems. I can ac
  10. How can I remove the shadow effect from a 2d radar chart (like the PolarNoShadow example on your site)? Regards, Caius Caesar Scanmar
  11. Hi, If I do the following: Chart1.PointLabels = True Chart1.PointLabelOffset.X = 10 Chart1.PointLabelOffset.Y = 10 Nothing happens... I can't create an object (type is ExternalPoint and that's hidden and anyway the property is readonly) Strangely, the PointLabelOffset property is not a member of the PointAttributes object... Any thoughts on this one?
  12. Sorry for the late reply, doesn't matter which style i use (print or normal, it's all the same...). I did find a workaround though: For every font in the ChartFX object model I do the following just prior to calling the paint method (example is for legendbox font): dim dSize as double dSize = Chart1.LegendBoxObj.Font.Size Chart1.LegendBoxObj.Font.Size = dSize As you can see, this looks ridiculous, but it somehow triggers something that makes the font scale correctly.
  13. Hi, I'm trying to include a chart in print output, using the paint method. I have the following problem: When I leave the font of chart objects (axes,titles...) 'untouched' everything is fine. The chart prints wysiwyg. However, when I change the font of one or more of the chart objects, the fonts on the print output become much smaller than on the screen (unreadable). They don't even come close to the point size I specified. I tried to work around this problem by adjusting the size of the fonts prior to printing and restoring the size after printing, but I can't discover the scaling
  14. The mouse down and up events return fairly odd numbers for args.button (1048576 for left button and 2097152 for right button, it would have been nice to capture them in an enumeration...), but there's no 'shift' argument that indicates wether shift and/or ctrl keys are pressed during the event. I need this info because I have code for selecting objects. shift and ctrl keys have their purpose in that. I must say, I never worked with a control that didn't pass this info. Any chance of a bugfix? I have a deadline next week...
  15. The InternalCommand event is raised before the command is executed. I would like to perform some actions, based on the palette that is selected by the user, but there's no way for me to find out which palette he selected. I'd hate working with timers because that would be errorprone in my opinion. It would be nice to have a method that forces chartfx to execute the 'buffered' command (wouldn't be too hard to write i guess) regards Caius Caesar Scanmar
  16. What do you mean by 'updated version'. I did download the latest service pack, but the color setting didn't work. How can I get a version that does include this feature?
  17. Using Chart.ClearData ClearDataFlag_ColorsAndPatterns I can reset all colors to their palette defaults, with the exception of Chart.BackColor. This seems an omission (bug) to me.
  18. As I wrote in my last posting: 'First: args.object is always empty in my version'
  19. Suppose: User selects specific color for serie 1 User selects different gallery for series 1 User selects different pallete for graph I want to reset all user-selected series colors when the user selects a different palette. However I don't want to reset other series attributes (like gallery) to defaults. Chart.ClearData(ClearDataFlag_PerSeriesAttributes) clears all series attributes, so both gallery and color is cleared Is there a way to do this? Regards Caius
  20. It seems to me there's no possibility for a user to reset scaling to auto, once he entered figures for min and/or max. Clearing the fields or typing in auto doesn't work. Am I missing something here or do I need to create my own 'reset' menu? Regards,
  21. I want to save changed chart properties to a text stream (in xml format) and then put it in a database. According to the help I should use a System.IO.Stream as argument, but that's a .NET object. So far I was only able to save the props to a file, but that is (for several reasons) not what I want. Is there a way to get the props in xml format in memory, without writing them out to a file first?
  22. I puzzled a while and got most things working, but not the way you describe it: First: args.object is always empty in my version Second: I found that args.ID gives very interesting results! Before making changes to the contents of the submenu, clicking a chart type returns the appropriate CommandID in args.ID (so clicking a Line chart gives args.ID=CommandId_Line, clicking a bar gives args.ID=CommandId_Bar, etc...). But After I change the Gallery options like this With Chart1.Commands(CommandID_Gallery) .RemoveAllSubCommands .InsertSubCommands 2, 0
  23. Thanks for the quick reply, > As part of the command parameters you also receive an object that indicates the context. In the case of the Gallery command from the toolbar or chart's background, this object will be null (or a Pane). In the case of the series gallery it will be the series object, It seems to me you're talking about another version of the component (.NET?). The InternalCommand event has two arguments: sender (which always contains the chart control) and args As Cfx62ClientServerCtl.CommandUIEventArgs. Now, I discovered that Args.HitType gives me the type of the chart-pa
  24. First problem: when I capture the InternalCommand event to see if the user changes the Gallery via a context menu, I don't know the constants for the change of the gallery of one series (i.e. when changing the gallery for the chart to area the args.id is CommandID_Area, but what is the args.id when changing the gallery for one series) Second problem: I changed the subCommands of the Gallery command (removed several chart types and added a new one, created using Commands.AddCommand). When I select this command using the context menu or hte toolbar, I expect the UserCommand to be raised (sin
×
×
  • Create New...