Jump to content
Software FX Community

AndreG

Staff
  • Posts

    333
  • Joined

  • Last visited

Everything posted by AndreG

  1. To avoid confusion, I have created a new thread on the right forum and posted the sample there. Here is the link. http://community.softwarefx.com/forums/t/9865.aspx
  2. Some people requested me this sample, so I decided to post it on the forums. It showcases using annotations to create a cursor with moving markers that follows the mouse movements over the chart. It also shows how one could use balloon annotations to create flags on a chart. A Chart FX for .NET 6.2 sample can be found at the following link. http://community.softwarefx.com/forums/p/9860/23686.aspx#23686 (Screenshot attached to this post. Sample attached to next post.)
  3. I created a sample some time ago of something similar. It displays a vertical cursor. Adding a horizontal one should not be too much trouble. Hope it helps. AndreG
  4. Not sure what you mean. Could you provide a mock screenshot? Maybe more details? AndreG
  5. Try setting the volume to 100. chart1.setVolume((short)100); Regards, AndreG
  6. Please try changing the number of decimals in the Y axis. Although not visible, the Y axis is where the point labels and tooltips get their values from. chart1.AxisY.LabelsFormat.Decimals = 2; Regards, AndreG
  7. Yes. Here is the code you are looking for. chart1.ContextMenus = false; Regards, AndreG
  8. The highlighting functionality of a chart is only available if the chart is rendered as a .NET component. Is that an option for you? --- AndreG
  9. Here is the Online Sample code. I hope it helps. --- AndreG --- <gridfx:grid id="Grid1" runat="server" dataparameterfield="property_id" datasourceid="SqlDataSource1" width="100%" Motif="Gmail"><DataFields> <GridFX:TextField DataPath="address_line1"> <Format> <DigitalPanel Height="50px" Width="200px"> </DigitalPanel> </Format> </GridFX:TextField> <GridFX:TextField DataPath="address_city"> <Format> <DigitalPanel Height="50px" Width="200px"> </DigitalPanel> </Format> </GridFX:TextField> <GridFX:TextField DataPath="address_state"> <Format> <DigitalPanel Height="50px" Width="200px"> </DigitalPanel> </Format> </GridFX:TextField> <GridFX:TextField DataPath="address_zip"> <Format> <DigitalPanel Height="50px" Width="200px"> </DigitalPanel> </Format> </GridFX:TextField> <GridFX:TextField DataPath="year_built"> <Format> <DigitalPanel Height="50px" Width="200px"> </DigitalPanel> </Format> </GridFX:TextField> <GridFX:NumberField DataPath="list_price"> </GridFX:NumberField> <GridFX:NumberField DataPath="property_id" IsKey="True" ReadOnly="True"> </GridFX:NumberField> <GridFX:ChartField CollapsedMode="Full" DataSourceID="SqlDataSource2" UniqueID="Chart"> <Chart> <AxisX LabelAngle="45" Title-Text=""> </AxisX> <DataSourceSettings> <Fields> <chartfx7:FieldMap DisplayName="amount" Name="amount" Usage="Value"> </chartfx7:FieldMap> <chartfx7:FieldMap DisplayName="date" Name="date" Usage="XValue"> </chartfx7:FieldMap> </Fields> </DataSourceSettings> <LegendBox Visible="False"> </LegendBox> <Series> <chartfx7:SeriesAttributes Text="amount"> </chartfx7:SeriesAttributes> </Series> </Chart> </GridFX:ChartField> <GridFX:ChartField DataSourceID="SqlDataSource2" ExpandEvent="Never" UniqueID="Chart_1"> </GridFX:ChartField> <GridFX:ChartField CollapsedMode="Full" DataSourceID="SqlDataSource2" UniqueID="Chart_2"> <Chart> <AxisX LabelAngle="45" Title-Text=""> </AxisX> <LegendBox Visible="False"> </LegendBox> <Series> <chartfx7:SeriesAttributes> </chartfx7:SeriesAttributes> <chartfx7:SeriesAttributes> </chartfx7:SeriesAttributes> <chartfx7:SeriesAttributes> </chartfx7:SeriesAttributes> </Series> <Titles> <chartfx7:TitleDockable Text="Transactions History"> </chartfx7:TitleDockable> </Titles> </Chart> </GridFX:ChartField> </DataFields> <SideBars> <GridFX:TemplateBar DependsOnSelectedItem="True" Side="Bottom" Title="Transactions History"> <ContentTemplate> <TABLE width="100%"><TBODY><TR><TD align=center><GridFX:FieldContainer id="ChartField1" runat="server" Field="Chart"></GridFX:FieldContainer></TD></TR></TBODY></TABLE> </ContentTemplate> </GridFX:TemplateBar> </SideBars> <Columns> <GridFX:FieldColumn Field="address_line1" Title="Address"> </GridFX:FieldColumn> <GridFX:FieldColumn Field="address_city" Title="City"> </GridFX:FieldColumn> <GridFX:FieldColumn Field="address_state" Title="State"> </GridFX:FieldColumn> <GridFX:FieldColumn Field="address_zip" Title="Zip Code"> </GridFX:FieldColumn> <GridFX:FieldColumn Field="year_built" Title="Year Built"> </GridFX:FieldColumn> <GridFX:FieldColumn Field="list_price" Title="List Price"> </GridFX:FieldColumn> <GridFX:FieldColumn Field="Chart_1" Title="Transactions"> </GridFX:FieldColumn> </Columns> <TitleBar Title="Properties and Transactions" Visible="True"> <Image HorizontalAlignment="LeftEdgeOfTitle" Icon="Home" /> <Style HorizontalAlign="Right" /> </TitleBar> <ItemDetails> <ContentTemplate> <GridFX:FieldContainer ID="ChartField1" runat="server" Field="Chart_2"> </GridFX:FieldContainer> </ContentTemplate> </ItemDetails> </gridfx:grid>
  10. I believe what you are looking for are the ValueToPixel and PixelToValue methods of the Axis Object. They are both documented in your API Reference, but here are the online version of these documents. http://support.softwarefx.com/OnlineDoc/CfxCS62/WebAPI/Axis_ValueToPixel.htm http://support.softwarefx.com/OnlineDoc/CfxCS62/WebAPI/Axis_PixelToValue.htm --- Andre G
  11. Please contact support at support@softwarefx.com directly. They will be able to provide you with a 64bit installer. --- Andre G
×
×
  • Create New...