Sanjukta

Members
  • Content count

    2,213
  • Joined

  • Last visited

  • Days Won

    14

Everything posted by Sanjukta

  1. Hi, I am afraid, the links in the labels using STYLES would not work when the "lableDisplay" attribute is set to 'ROTATE' mode and "slantLabels='1' " in the <chart> element. Please remove them in order to make the labels behave as links. Hope this helps.
  2. Y Axis Labels As Hyperlinks Possible ?

    Hi, I am afraid, the links in the labels using STYLES would not work when the "lableDisplay" attribute is set to 'ROTATE' mode and "slantLabels='1' " in the <chart> element. Please remove them in order to make the labels behave as links. Hope this helps.
  3. "no Data To Display" Still Exports

    Hi, Could you please send us a Live URL or an erroneous sample so that we can test it? Looking forward to your feedback.
  4. Can User Annotate On Chart Points?

    Hi, I am afraid, FusionWidgets does not support this feature, as of now.
  5. Hey, Glad that your issue is resolved. Happy FusionCharting!
  6. Hi, Please note that the Radar chart has no native attribute to wrap the labels. You can explicitly break the long labels into multiple lines using {br} in between the labels. Ex: <set label='My label{br}is very long' value='10' /> Alternatively, you can explicitly specify the "radarRadius" that would never allow shrinking of the chart and display the long labels truncated with ellipses. In this case, also set the attribute "showTooltipforWrappedLabels" to '1' in the <chart> element. When the labels of the chart are too lengthy, the chart truncates them and displays a part of the label. In this situation, the above attribute shows a tooltip displaying the complete label when the mouse is hovered on the shortened labels. Hope this helps.
  7. Y Axis Values Show From 0

    Hi, Please note that in case if any of the datavalue in the XML is lesser than the "yAxisMinValue" mentioned, the chart would ignore the explicitly set minimum value and automatically set itself to a lower value or '0' value in order to fit the lower datavalue. In this case it seems that there are a few "y" values (y='512.2254') that are lesser than the 'yAxisMinValue="534" '. In that case, the charts is taking up '0' as the "yAxisMinValue" to fit the data. Hope this helps.
  8. Multiseries Chart With Php Mysql

    Hi, Thanks for sharing. It would be helpful for many users. Happy FusionCharting!
  9. Hi, I am afraid, I am unable to comprehend the query. FusionCharts supports explicitly mentioning the Y-axis values with the help of the "yAxisMinValue", "yAxisMaxValue" and the "numDivLines" in the <chart> element. In case these values are not mentioned in the XML, the charts calculates the Y-axis values automatically. Hope this helps.
  10. Hi Atul, I am afraid, FusionWidgets does not support this, as of now. In case any of the value is greater than the mentioned limit, the chart/gauge auto adjusts itself in order to fit the exceeding value. This is set internally and cannot be customized explicitly.
  11. Hi, Please make sure that you are not using any URL encoded characters which might cause the error. In case this does not help, please send us the scaled down version of the code. Hope this helps.
  12. Discontinuous Data Using Highcharts

    Hi, Please try using the attached latest Beta version of the JS files (evaluation) to solve your purpose. This would be officially released with our next upgraded version, i.e FusionCharts v3.2.2. Hope this helps. Latest Eval JS files.zip
  13. Fusioncharts & Visualforce

    Hi, 1. Use the SF data and create the charts in their own application or on some other website. For this, they will have to query the SF database using any of the connectors provided here. http://wiki.developerforce.com/index.php/Integration. As you can see, there are a lot of platforms / languages supported. So for example, if the guy is using PHP, then he can simply use the PHP integration toolkit. The user will have to get an security key from SF. It can be found from here - Name > My Profile > Personal Information > Reset my Security Token. Doing so will send a security token to the person's email. Now this token will have to be appended to the password while using any of the toolkits. For example: it should be "passwordsecuritytoken" both in 1 single string. Also, a WSDL file needs to be downloaded and put in the same directory. This file can get gotten from Name > Setup > Develop > API. Detailed tutorials and guides are provided with each different toolkit. This much setup will allow them to query the SF database. But sometimes, the details of the database are not known to this particular developer, so he can use the ForceExplorer AIR app to view the database schema and try out queries from its interface. After this, its just a matter of using the same queries in the toolkit and getting the database response. Then generating the XML / JSON is up to the developer. This XML can be passed on to our charts. 2. Create our charts within the SF, by using the VisualForce method. Let us assume the user knows how to create a VisualForce page, and knows how to get into Developer Mode. (My Personal Information > Edit > Check the checkbox "Developer Mode"). Once the page is created with the blank "Hello World" text, it means that the page is ready. In the editor the user can type valid APEX code and see the results. Now, the main issue here is to reference the JS and SWF files. The best way to do this is to create Static Resources through Name > Setup > Develop > Static Resources. Here, the user can upload the FusionCharts.js, Highcharts.js, jQuery Min.js, and whatever chart SWF files are needed. Back to the VF page in developer mode, write this - <apex:page> <apex:includeScript value="{!$Resource.FC_JQ_MIN}"/> ------- the minified jquery file <apex:includeScript value="{!$Resource.FC_HC}"/> ---------- the highcharts file <apex:includeScript value="{!$Resource.FC}"/> --------- the fusioncharts.js file <div id="FC_canvas"></div> <script> a = new FusionCharts("{!$Resource.FC_SWF}","myChartId","400","300","0","1") a.setJSONData('{ "chart" : {}, "data" : [ { "label" : "test", "value" : "50" },{ "label" : "test", "value" : "30" } ] }') a.render("FC_canvas") </script> </apex:page> So this is the process to create a simple chart using hardcoded data. Of course this data can be either in XML / JSON. Now, to get dynamic charts which are connected to the SF database, the user would have to write a class in Java. Actually the terminology here would be "write an APEX class" (Name > Setup > Develop > APEX Classes). This custom class would query the database (as it is done according to the SOQL syntax). Querying the database, parsing through the results, and forming an XML / JSON string would all happen within this class. And it would return the XML / JSON string. In the editor of the VF page, <apex:page standardController="APEXclassThatIWroteAbove"> <apex:includeScript value="{!$Resource.FC_JQ_MIN}"/> ------- the minified jquery file <apex:includeScript value="{!$Resource.FC_HC}"/> ---------- the highcharts file <apex:includeScript value="{!$Resource.FC}"/> --------- the fusioncharts.js file <div id="FC_canvas"></div>... The first line "includes" the class that was written. Now it is just a matter of creating the chart as above in the <script> tags and referencing the XML / JSON string returned from the class. Hope this helps.
  14. Slant Lables

    Hi, Could you please try setting "showLabels" attribute to '1' in the <chart> element in order to rotate it? Also, please remove the extra quotes(") from the attribute "xAxisMinValue='0'" " to get a valid XML data. Hope this helps.
  15. Slant Lables

    Hi, >> Please try setting the attribute "rotateLabels" to '1' in the <chart> element. >> I am afraid, FusionCharts does not support the above 2 features, as of now. Hope this helps.
  16. Javascript Rendering Issues In Ipad

    Hi Chetan, Glad that your issue is resolved. Please note that this is not the final upgrade. This is the Beta version (which are still in process) which is temporarily given to the licensed customers on request. This would be officially released with FusionCharts v3.2.2, which is hope to be released by the next quarter. Thank you for your continued patience and support. Happy FusionCharting!
  17. Chartrender Problem

    Hi, Please note that as far as we have been able to comprehend your issue, we think this issue is related to passing data to a chart on a different component. So here we have built a sample which would pass data to chart at diffrent components and render them. The main thing is whenever data is needed to be shown to the chart, the data is passed through events. Please find the attached example files. Hope this example helps. DynamicDataSolution.zip
  18. Javascript Charts For Ipad

    Hi, Glad that your issue is resolved. Happy FusionCharting!
  19. Can I Modify Displayvalue?

    Hi, The "displayValue" attribute lets you specify your own custom string that would be displayed on the data plot. In this case, the original "value" and "label" of the charts are overridden by the "displayValue" attribute. Hence, you would need to provide all the necessary values (that you wish to display on the chart) as the value for the "displayValue" attribute. Ex: <set label='Product A' value='25' displayValue='Product A, 25%, Increasing' /> Hope this helps.
  20. Javascript Charts For Ipad

    Hi, Glad that your issue is resolved. Please try using the following line of code to get the SVG string for only JavaScript charts. Ref.- FusionCharts('chartID').ref.FCC.getSVG() Hope this helps.
  21. Ipad/phone Rendering

    Hi, This issue has been fixed. Please send us your Order ID at [email protected] quoting this forum thread link and we would get back to you with the solution to this. Looking forward to your feedback.
  22. Javascript Rendering Issues In Ipad

    Hi, This issue has been fixed. Please send us your Order ID at [email protected] quoting this forum thread link and we would get back to you with the solution to this. Looking forward to your feedback.
  23. Html Characters In Legend And Hover Text

    Hi, Please note that as of now, due to the use of <object> embed method ("RenderChartHTML" method) used by you, there are limitations in the use of certain characters (namely, percentage, ampersand, quot, apostrophe, less than and greater than sign) which breaks down/can break down the implementation. Here is a sample caption where things will work: Ex: <chart ... caption='%25 %26 %26lt; %26gt; %26apos; %26quot;My Name Tom%26quot; %26apos; %26gt; %26lt; %26 %25' ... > Please note that the first 5 characters are specially embedded and these need to be passed exactly in this way. Documentation reference: http://www.fusioncha...unctuation.html Let me also give you small notes on why %, &,<, >, ', " will not work in your mode of implementation which we call HTML Embedding method (http://www.fusioncha.../HtmlEmbed.html) and data is passed as Data String method (http://www.fusioncha...html#datastring). In this method the data and other chart settings are passed value of as FlashVars as shown in the sample scaled down FlashVars below: FlashVars="chartWidth=540&chartHeight=440&dataXML=<chart caption='My caption'><set value='100'/></chart>&debugMode=0" This breaks down the FlashVars into these variables names and values: [chartWidth] = 540 [chartHeight] = 440 [dataXML] = <chart caption='My caption'><set value='100'/></chart> [debugMode] = 0 You would need to use %26 and not & or & because as you can see that the variables chartWidth, chartHeight, dataXML, debugMode are passed here in QueryString format where & acts as the separator of the variable name-value pairs. Hence, the presence of any & (& or & - which gets converted to & after passing) in the will break the XML as well as the the whole implementation as that & will be parsed by Flash Player as a separator of queryestring variables. FlashVars="chartWidth=540&chartHeight=440&dataXML=<chart caption='My &caption'><set value='100'/></chart>&debugMode=0" will be parsed as these QueryString variables names and values: [chartWidth] = 540 [chartHeight] = 440 [dataXML] = <chart caption='My [caption'><set value] = '100'/></chart> [debugMode] = 0 You cannot use &/" as these are auto converted to ' or " and since the XML contains attributes values encapsulated by either ' or ", these values will break and then the resultant XML would be invalid. FlashVars="chartWidth=540&chartHeight=440&dataXML=<chart caption='My & caption'><set value='100'/></chart>&debugMode=0" This will form the XML as: <chart caption='My 'caption'><set value='100'/></chart> which is invalid as per XML validation. If you put FlashVars="chartWidth=540&chartHeight=440&dataXML=<chart caption='My " caption'><set value='100'/></chart>&debugMode=0" This is likely to break the FlashVars attribute altogether: FlashVars="chartWidth=540&chartHeight=440&dataXML=<chart caption='My " caption'><set value='100'/></chart>&debugMode=0" You cannot use < /> as these gets converted to < or > which will break the XML as these are invalid characters for XML. In the "RenderChart" method, the special characters are internally handled and you do not need to explicitly URL encode them since FusionCharts v3.2. Hope this clarifies your query.
  24. Which Chart Should I Use?

    Hi, Could you please try using Combination 2D Dual Y chart for solving your purpose? Ref.- http://www.fusioncharts.com/docs/?ChartSS/Combi2DDY.html Also, please note that Stacked charts mean that only data plot would be placed on top of the other to finally provide the sum of all the values. In case you wish to start all the data plots from "0", please try using Multi-series Column 2D chart. It would be really helpful if you can provide us with a screenshot of your requirement. Looking forward to your feedback.
  25. Hi, I am afraid, I am unable to replicate the issue. The charts are exported perfectly with the button after getting rendered. Please try to use the following line of code (note the space between the "input" and "type"): <input type='button' onclick="javascript:initiateExport();" value="Begin batch export123"/> instead of : <inputtype='button' onclick="javascript:initiateExport();" value="Begin batch export123"/> Hope this helps.