• prakash chaudhary
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 47
    Questions
  • 68
    Replies

How to generate Fusion charts with XML data ?

Since I have generated fusion charts with JSON data but I am able to connect with XML data please let me knows about it that how to use Fusion charts in XML format data ?

Since i have generated fusion charts in VFpage but I want know that how to show this charts on PDF ?

Since while generating plan we have to show entire data in charts format also but it will see in pdf as image format only.

So my elaborated quesiton is like this...

How to convert charts into image automatically while generating PDF & how to show it on PDF?

 

How to pass dynamic value in JSON format data ?

Since I have connected JSON data to display charts on page since there is static value in my code but I want to send dynamic data in that so please tell me how can i make my JSON code dynamically so that it will execute dynamically ?

Please tell me how to set background color dynamically by javasrcript ?

Since I am creating table in page but I want that its even number row must have color light grey & odd number row must have color light blue.

Please tell me how to do it ?

SInce I tried to make it by taking total number of row by javascript & in condition give color to their row but could not get any effect so please help me.

Is it possible to use fusion charts on visual force ?

If Yes then please let me know with simple example bcoz I am able to use fusioncharts in webpage like html, jsp but I am trying with all my capabilities but not getting any output so please help me whether it is possible or not ?

 

Please tell me how can i do it ?

Thnking you so much if u can help me for this....

Please let me know that If i upload my files like swf file or any video file on my server & I want to access that file in my vfpage then how can i use that ?

Actually In my VFPage code there is one javascript code that need one .swf file in their constuctor but when I uploaded that file in static resources then it is not working bcoz of that i want to use that file from server itself.

 

Since my constructor is like this...

var myChart = new FusionCharts("Column3D.swf",  "myChartId", "600", "400", "0", "1" );

 

This red marked text is static file which is used in constructor so can I here use my server page ?

or is their any other ways to use this file from static resources itself then let me know...

Please can anybody tell me that what I have to write for the below line to use that in Visualforce page ?

 

var myChart = new FusionCharts("Column3D.swf",  "myChartId", "600", "400", "0", "1" );

 

Please reply me how can write this line in visualforce ?

Can anyone please give me simple example of fusion charts on VFPage ?

Please give me simple example rather to give documentation bcoz I am able to make that charts on HTML but I need that in VFPage & I am not getting that how to make that ?

You can give me very simple as you wish bcoz I just want to see how it looks in VFPage & how can we use it.

I have Fusion charts package so As I think that I need to use this package as static resources or we have to fetch it from server.

Please reply me fast...

How to set width & height of background image ?

Since generally we set background image for anything like table, div tag etc.

but i need that the image size is very shot while assigning as background image so how can i manage this width & height ?

Please tell me that how can i do it bcoz I am not able to resize it by css also.

 

OR

 

Whenever I put any image in background then it must show me full image not a croped image whether cell size is low or very high...Generally it crops image or sometimes it repeats image 2 or more times.

Since i know i can stop the repeating image but I want to know to put the fully image in cell / table / div etc..

 

Regards....

Here I have mentioned my all the code.

I need one horizontal line below my footer as showing part of footer but I am not gettting that ?

Since I have placed my code but It is not showing me that line so please tell me how can make that line...

I am giving my code here in that I have kept my all footers & header.

<apex:component >
    <!-- Component Attributes -->
    <apex:attribute type="string" name="type" description="Determines if the component renders as a header or footer" />
    <apex:attribute type="string" name="position" description="Determines if component should render the text on the left, center, or right" />
    <apex:attribute type="boolean" name="showPageNumbers" description="Determines if the header/footer information displays the page number information." />
        
    <!-- Component Variables -->    
    <apex:variable var="styleClass" value="{!LOWER(type)}_{!LOWER(position)}"/>
    
    <!-- Component Body -->
    
    <apex:outputPanel id="panelHeaderFooter" styleClass="{!styleClass}" layout="block">
        <apex:outputPanel layout="none" rendered="{!showPageNumbers}">           
            <div>Page <span class="pageNumber"/> of <span class="pageCount"/> </div>
        </apex:outputPanel>
        
        <apex:componentBody />
    </apex:outputPanel>
</apex:component>

 The above code is my component & below I am pasting my css code.

 

@page { 
	size: letter portrait;
	
	margin-top: 100px;
	margin-bottom: 100px;	
	
	@bottom-left {
		content: element(footer_left);
	}
	
	@bottom-center {
		content: element(footer_center);
	}
	
	@bottom-right {
		content: element(footer_right);
	}
}

.footer_center {
	text-align: center;
	position: running(footer_center);
}

.footer_right {
	text-align: right;
	position: running(footer_right);
}

// This is written to show line only not alignment...
.footer_line {
	position: running(footer_line);
}

.pageNumber:before {
	content: counter(page); 
}

.pageCount:before {
	content: counter(pages);  
}

 & I am trying to make horizontal line via this way....

<c:PDFHeaderFooter type="footer" position="line">
        <hr style="width:100%" />
</c:PDFHeaderFooter>

Please help me in this...

Regards...

Hiiii

I am making information in tabular format..

When I put information with single goal then it shows in data proper but when i insert more than one goal then data comes like adding one cell next to previous one like

 

Goal1  Goal2 Equity1 Equity2 Debt1 Debt2  Gold1 Gold2

 

But I need it like this

 

Goal1  Equity1  Debt1  Gold1

Goal2  Equity2  Debt2  Gold2

 

Please tell me how can I do it since my value are from database...

My code is..

<apex:repeat id="hd" value="{!beanObj.goalList}" var="golObj">
      <tr>
          <td class="textStyle" style="width:40px">{!golObj.Description__c}</td>

              
          <apex:repeat value="{!beanObj.sipList}" var="aseObj">
              <apex:repeat value="{!aseObj.golListVals}" var="gObj">
                  <td class="textStyle" style="width:40px;text-align:right;">  
                   <apex:outputText value="{0, number, ,##,##0}" >
                        <apex:param value="{!gObj}"/>
                   </apex:outputText>
                  </td>  
              </apex:repeat>
          </apex:repeat>    
                         
          
          <apex:repeat value="{!beanObj.totSIPList}" var="totObj">
              <td class="textStyle" style="width:40px;text-align:right;">
                   <apex:outputText value="{0, number, ,##,##0}" >
                        <apex:param value="{!totObj}"/>
                   </apex:outputText>
              </td>
          </apex:repeat>
          
          <apex:repeat id="hd1" value="{!beanObj.asetList}" var="aseObj">
          <apex:repeat value="{!aseObj.golListVals}" var="gObj">
              <td class="textStyle" style="width:40px;text-align:right;">
                  <apex:outputText value="{0, number, ,##,##0}" >
                       <apex:param value="{!gObj}"/>
                  </apex:outputText>
              </td>
          </apex:repeat>
          </apex:repeat>
          
          <apex:repeat id="hd111" value="{!beanObj.totLumpSumList}" var="totObj">
              <td class="textStyle" style="width:40px;text-align:right;">
                   <apex:outputText value="{0, number, ,##,##0}" >
                       <apex:param value="{!totObj}"/>
                   </apex:outputText>
              </td>
          </apex:repeat>
              
      </tr>
      </apex:repeat>

 

Can I assign value in variable in VFpage ?

Since I have to show image in table according to their goal so that i decided to put same name of static resource as name of goal so please tell me that how can i assign description name which is coming from database into VFPage?

 

So how can i do this, value={!Resource.(discription name should come here...it is coming from my controller)}

 

Generally resource_name needs to idetify reource in static resource & resource_name is generally string so can I assign any variable as resource_name ?

 

REply me fast...

Please help me to make given below design...


My page requirement is -> http://yfrog.com/kfl4p
My image that i have made for border -> http://yfrog.com/h354dg 

Since I have made the image for border in photoshop but when i use that image then it do show properly as i want.
Please help me urgently for this thing...

 

Regards....

Please tell me that how can i make the below shown footer.

http://yfrog.com/kfqmc7p

since i have made footer bt its layout is not proper according my expectation so please help me make it proper.

Please tell me, since i am generating PDF from VFPage but it is taking too much size probably near about 3.0 MB of single document but I want to compress it while generating probably in KB's so please tell me how can i compress it.

It is so important bcoz If i will make PDF of 3.0 MB then it will time to generate also so it might create problem to us so please reply of it urgently..

Regards...

How to create nested unordered list in VFPage like Bullets in general mean of msword ?

We create list in html by taking help <ul> tag but it is making single bullets not nesting one please help me abt it.

Since I have wriiten the code but that code is not working in VFPage but that is working very well in HTML so please tell me that why it is not working in VFPage ? Below have given link of snapshot that needed...

http://yfrog.com/hsjcbdp 

 

My HTML code as folllow...

<ul style="list-style-type:disc;font-family:Garamond;font-size:14px">
        <li>&nbsp;&nbsp;&nbsp;Demystify the jargons </li>
        <ul style="list-style-type:circle;font-family:Garamond;font-size:14px">
            <li>&nbsp;&nbsp;&nbsp;Asset Allocation</li>
            <ul style="list-style-type:square;font-family:Garamond;font-size:14px">
                <li>&nbsp;&nbsp;&nbsp;Progressive Asset Allocation</li>
            </ul>
            <li>&nbsp;&nbsp;&nbsp;Asset Classes </li>
            <ul style="list-style-type:square;font-family:Garamond;font-size:14px">
                <li>&nbsp;&nbsp;&nbsp;Debt </li>
                <li>&nbsp;&nbsp;&nbsp;Equity </li>
                <li>&nbsp;&nbsp;&nbsp;Gold </li>
            </ul>
            <li>&nbsp;&nbsp;&nbsp;Mutual Funds</li>                        
            <li>&nbsp;&nbsp;&nbsp;Risk Profile</li>
            <li>&nbsp;&nbsp;&nbsp;Risk and Return</li>
        </ul>
        <li>&nbsp;&nbsp;&nbsp;Understanding the goal pages</li>
        <ul style="list-style-type:circle;font-family:Garamond;font-size:14px">
            <li>&nbsp;&nbsp;&nbsp;Show a snapshot of a goal page and explain the various parts of the goal page 
                through arrows and use a text box to explain each sub part</li>
        </ul>
    </ul>

 

Can anyone tell me please how to generate dynamically drop down list field in html by using javascript DOM object ?

Since I created text field, checkbox & label but not able to create drop down list (generally referred as select type in HTML).

 

Regards...

Now I am accessing values from Goal__c custom object but I also want to access data from Accoun object too so how can i do that ?

Since the other object is standard object so is there any thing that wihout writing controller code, can i access there fields in my page like {!Account.name} or {!Account.custom__c}

Regards...

How to create ordered List/ Unordered List in Visualforce ?

Since I have written some code & that code is working very well in Html but in VFPage it shows me as single column output..

Please see the code & then tell me wht is the mistake that I have done in my code..

 

<font style="font-family:Garamond;font-size:14px">
       What to Expect/ getting familiarized with your Financial Plan
    </font>
    <ul style="list-style-type:disc;">
        <li>&nbsp;&nbsp;&nbsp;Demystify the jargons </li>
        <ul style="list-style-type:circle;">
            <li>&nbsp;&nbsp;&nbsp;Asset Allocation</li>
            <ul style="list-style-type:square;">
                <li>&nbsp;&nbsp;&nbsp;Progressive Asset Allocation</li>
            </ul>
            <li>&nbsp;&nbsp;&nbsp;Asset Classes </li>
            <ul style="list-style-type:square;">
                <li>&nbsp;&nbsp;&nbsp;Debt </li>
                <li>&nbsp;&nbsp;&nbsp;Equity </li>
                <li>&nbsp;&nbsp;&nbsp;Gold </li>
            </ul>
            <li>&nbsp;&nbsp;&nbsp;Mutual Funds</li>                        
            <li>&nbsp;&nbsp;&nbsp;Risk Profile</li>
            <li>&nbsp;&nbsp;&nbsp;Risk and Return</li>
        </ul>
        <li>&nbsp;&nbsp;&nbsp;Understanding the goal pages</li>
        <ul style="list-style-type:circle;">
            <li>&nbsp;&nbsp;&nbsp;Show a snapshot of a goal page and explain the various parts of the goal page 
                through arrows and use a text box to explain each sub part</li>
        </ul>
    </ul>

 

http://yfrog.com/kiimnp

Please help me to make design...

Since I made Footer with my logo but not getting proper layout & arrangement on that so please help me.

Is it possible to use fusion charts on visual force ?

If Yes then please let me know with simple example bcoz I am able to use fusioncharts in webpage like html, jsp but I am trying with all my capabilities but not getting any output so please help me whether it is possible or not ?

 

Please tell me how can i do it ?

Thnking you so much if u can help me for this....

Please let me know that If i upload my files like swf file or any video file on my server & I want to access that file in my vfpage then how can i use that ?

Actually In my VFPage code there is one javascript code that need one .swf file in their constuctor but when I uploaded that file in static resources then it is not working bcoz of that i want to use that file from server itself.

 

Since my constructor is like this...

var myChart = new FusionCharts("Column3D.swf",  "myChartId", "600", "400", "0", "1" );

 

This red marked text is static file which is used in constructor so can I here use my server page ?

or is their any other ways to use this file from static resources itself then let me know...

Please can anybody tell me that what I have to write for the below line to use that in Visualforce page ?

 

var myChart = new FusionCharts("Column3D.swf",  "myChartId", "600", "400", "0", "1" );

 

Please reply me how can write this line in visualforce ?

Hiiii

I am making information in tabular format..

When I put information with single goal then it shows in data proper but when i insert more than one goal then data comes like adding one cell next to previous one like

 

Goal1  Goal2 Equity1 Equity2 Debt1 Debt2  Gold1 Gold2

 

But I need it like this

 

Goal1  Equity1  Debt1  Gold1

Goal2  Equity2  Debt2  Gold2

 

Please tell me how can I do it since my value are from database...

My code is..

<apex:repeat id="hd" value="{!beanObj.goalList}" var="golObj">
      <tr>
          <td class="textStyle" style="width:40px">{!golObj.Description__c}</td>

              
          <apex:repeat value="{!beanObj.sipList}" var="aseObj">
              <apex:repeat value="{!aseObj.golListVals}" var="gObj">
                  <td class="textStyle" style="width:40px;text-align:right;">  
                   <apex:outputText value="{0, number, ,##,##0}" >
                        <apex:param value="{!gObj}"/>
                   </apex:outputText>
                  </td>  
              </apex:repeat>
          </apex:repeat>    
                         
          
          <apex:repeat value="{!beanObj.totSIPList}" var="totObj">
              <td class="textStyle" style="width:40px;text-align:right;">
                   <apex:outputText value="{0, number, ,##,##0}" >
                        <apex:param value="{!totObj}"/>
                   </apex:outputText>
              </td>
          </apex:repeat>
          
          <apex:repeat id="hd1" value="{!beanObj.asetList}" var="aseObj">
          <apex:repeat value="{!aseObj.golListVals}" var="gObj">
              <td class="textStyle" style="width:40px;text-align:right;">
                  <apex:outputText value="{0, number, ,##,##0}" >
                       <apex:param value="{!gObj}"/>
                  </apex:outputText>
              </td>
          </apex:repeat>
          </apex:repeat>
          
          <apex:repeat id="hd111" value="{!beanObj.totLumpSumList}" var="totObj">
              <td class="textStyle" style="width:40px;text-align:right;">
                   <apex:outputText value="{0, number, ,##,##0}" >
                       <apex:param value="{!totObj}"/>
                   </apex:outputText>
              </td>
          </apex:repeat>
              
      </tr>
      </apex:repeat>

 

Can I assign value in variable in VFpage ?

Since I have to show image in table according to their goal so that i decided to put same name of static resource as name of goal so please tell me that how can i assign description name which is coming from database into VFPage?

 

So how can i do this, value={!Resource.(discription name should come here...it is coming from my controller)}

 

Generally resource_name needs to idetify reource in static resource & resource_name is generally string so can I assign any variable as resource_name ?

 

REply me fast...

Please tell me that how can i make the below shown footer.

http://yfrog.com/kfqmc7p

since i have made footer bt its layout is not proper according my expectation so please help me make it proper.

Please tell me, since i am generating PDF from VFPage but it is taking too much size probably near about 3.0 MB of single document but I want to compress it while generating probably in KB's so please tell me how can i compress it.

It is so important bcoz If i will make PDF of 3.0 MB then it will time to generate also so it might create problem to us so please reply of it urgently..

Regards...

How to create nested unordered list in VFPage like Bullets in general mean of msword ?

We create list in html by taking help <ul> tag but it is making single bullets not nesting one please help me abt it.

Since I have wriiten the code but that code is not working in VFPage but that is working very well in HTML so please tell me that why it is not working in VFPage ? Below have given link of snapshot that needed...

http://yfrog.com/hsjcbdp 

 

My HTML code as folllow...

<ul style="list-style-type:disc;font-family:Garamond;font-size:14px">
        <li>&nbsp;&nbsp;&nbsp;Demystify the jargons </li>
        <ul style="list-style-type:circle;font-family:Garamond;font-size:14px">
            <li>&nbsp;&nbsp;&nbsp;Asset Allocation</li>
            <ul style="list-style-type:square;font-family:Garamond;font-size:14px">
                <li>&nbsp;&nbsp;&nbsp;Progressive Asset Allocation</li>
            </ul>
            <li>&nbsp;&nbsp;&nbsp;Asset Classes </li>
            <ul style="list-style-type:square;font-family:Garamond;font-size:14px">
                <li>&nbsp;&nbsp;&nbsp;Debt </li>
                <li>&nbsp;&nbsp;&nbsp;Equity </li>
                <li>&nbsp;&nbsp;&nbsp;Gold </li>
            </ul>
            <li>&nbsp;&nbsp;&nbsp;Mutual Funds</li>                        
            <li>&nbsp;&nbsp;&nbsp;Risk Profile</li>
            <li>&nbsp;&nbsp;&nbsp;Risk and Return</li>
        </ul>
        <li>&nbsp;&nbsp;&nbsp;Understanding the goal pages</li>
        <ul style="list-style-type:circle;font-family:Garamond;font-size:14px">
            <li>&nbsp;&nbsp;&nbsp;Show a snapshot of a goal page and explain the various parts of the goal page 
                through arrows and use a text box to explain each sub part</li>
        </ul>
    </ul>

 

Now I am accessing values from Goal__c custom object but I also want to access data from Accoun object too so how can i do that ?

Since the other object is standard object so is there any thing that wihout writing controller code, can i access there fields in my page like {!Account.name} or {!Account.custom__c}

Regards...