Jump to content
Software FX Community

fomur

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by fomur

  1.  Hi rkw6086,

     Thanks for help. I got the idea and I am trying to implement as of now. However when I used  <% ChartVar.UniqueID %> statement after placing my control instead of "ChartVar" it produces error at Javascript level. Then I have implemented another approach as assigning the value to a hidden field in the master page when page loads to get the value using document.getElementById method however this time I am having VS problems as it does not recognize my fields. I think it is a different issue than the original so once I figured it out I think it is going to work. Also I have found out using ClientID is better. I have used my control's ClientID directly inside the javascript to test it and it worked. Therefore I am going to use it once I resolve this VS problem. Thanks your help again it helped a lot.

     Ferhat

  2. Hi,

     I am trying to implement usercallback method instead of onclick that I have used previously when I was creating charts. I want to implement AJAX feature of ChartFX so I decided to use usercallback as event handler. However, I am getting this error when I want to use it under my master template:

     "The target 'Chart1' for the callback could not be found or did not implement ICallbackEventHandler"

     My page is working without any problems whatsoever when it is a standalone page. Is there any special setting or configuration for implementing usercallback when using a master template?

     Thanks...

    file:///C:/DOCUME%7E1/fomur/LOCALS%7E1/Temp/moz-screenshot-1.jpg
  3. Hi,

    I am developing maps using chartFX extensions. Basically, I have one US map and one ZoomedState map. Whenever a state is clicked at US map, ZoomedState map loads clicked state on the USmap. I want to paint some states with different colors and I can do that by using the following sample code.

    tempRegion = USMap.FindMapRegion("CA");USChart.Points[tempRegion.Point].Color = Color.PaleGoldenrod; 

    However, when I want to do same thing with ZoomedState map it does not work. I am using 3-Zip code maps for showing ZoomedState map and want to paint specific ZIP regions with a different color. So when I use following code after NY 3-Zip code loaded to ZoomedState map it does not change color.

    tempRegion = CountyMap.FindMapRegion("127");countyChart.Points[tempRegion.Point].Color = Color.PaleGoldenrod;

    When I debug my code, I have seen that when first code  is executed it returns correct point code for California which is 3. However, when I execute the second code it returns -1 as a point value for 127 zip code. Can you help me out that where am I doing a mistake? Thanks...

     

     

     

     

  4.  Hi,

     I have a problem with ChartFX chart that is not being shown after putting it under an update panel. My gauges are being updated after a triggering event, clicking radio buttons that have auto postback, but chart is not shown after such an event. I am putting my code below. Can you help me?

     ---BEGIN CODE----<asp:UpdatePanel ID="UpdatePanel1" runat="server">   <ContentTemplate>     <table style="vertical-align:top; width:800pt">   <tr>   <td style="border-style: solid; border-width: thin; vertical-align:top; padding-top:20px; height:50%; width:200pt ">   <div style=" padding-bottom:10px; text-align:center"><b>Campaign Type</b></div>   <asp:RadioButton ID="All" runat="server" GroupName="Campaign" AutoPostBack="true"   Text="All"  Width="150px" Checked="true" OnCheckedChanged="SelCampaign" /><br />   ... and other buttons...

      </td>   <td rowspan="2" style="width:600pt">   <chartfx7:Chart ID="Chart1" runat="server"   Height="500px" Width="800px" DataSourceID="SampleDBSource"   RenderFormat=".NET"> <Series>   <chartfx7:SeriesAttributes Text="Budget" Color="#cccccc"></chartfx7:SeriesAttributes>   <chartfx7:SeriesAttributes Text="Actual" Color="#ff9900"></chartfx7:SeriesAttributes>   <chartfx7:SeriesAttributes Text="Forecast" Color="#6699ff"></chartfx7:SeriesAttributes>   </Series>   </chartfx7:Chart>   <chartfxannotation:Annotations runat="server" ChartId="Chart1">   </chartfxannotation:Annotations>   </td>   </tr>   </table>  

      ... my gauges and some asp.net elements...

     

    </ContentTemplate>   </asp:UpdatePanel>

     ----END CODE----  

     If you have any clues that you share with me i will really appreciate.

     

  5.  Hi Frank,

     

    Thanks for reply. I have two more questions based on reply and if you can also answer them I will appreciate.

    1) Is it possible to apply your 3rd solution when using Flash rendering option? ( I don't really thinks so but I just want to make sure)

    2) Is there any samples that you may know that applies the 3rd solution as you mentioned?

     

    Thanks a lot in advance.

  6. Hi,

    I am working on a dashboard project. I created couple of radio buttons to change chart data. Whenever user clicks different radio buttons, page executes a different query on an access data source to provide data to ChartFX object. However, since I am not using AJAX, page reloads each time a user interaction involved. I don't want to use AJAX if it is not last resort. So, is there a way to load all different queries initially to ChartFX object, and then use this data to manipulate the chart on client side whenever a user interaction involved? Also, is there any user interaction control similar to radiobuttons or dropdownlists that can be embedded into ChartFX object so I can avoid using ASP.NET controls. I am using C# as the language and flash rendering option. Thank you in advance whoever helps!!

×
×
  • Create New...