Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [visualforce-charting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
54 views

Show Percentage on wedges of pie chart

<apex:pageBlockSection > <apex:chart height="250" width="350" data="{!PieData}" resizable="true"> <apex:pieSeries dataField="data" labelField="name" /> <apex:...
0
votes
0answers
32 views

Chart Not display in visualforce

My code are saved without error but the chart does not display in the VF page portion of the VF page: <apex:page renderAs="pdf" showHeader="false" sidebar="false" applyBodyTag="false" ...
0
votes
1answer
64 views

How to embed external (live) charts to Visualforce page?

I tried doing the following in Visualforce Page: <apex:page> <div class="embed-container"><iframe src="https://fred.stlouisfed.org/graph/graph-landing.php?g=m8jU5" scrolling="no" ...
2
votes
1answer
55 views

Which is more elegant/faster: Iterate over a large query result 25+ times or do 25+ queries?

NOTE: This is not an "opinion-based" question. I am asking a technical question about how the platform handles queries and memory. Please do not flag it. I want to display survey results using ...
0
votes
1answer
305 views

Can we redirect to report when PieSlice is selected in Visualforce Custom Pie chart

Piechart Controller is public class Controller { public List<PieWedgeData> getPieData() { Id userId = UserInfo.getUserId(); User loggedInUser = [Select Id, Email, ProfileId ...
0
votes
1answer
60 views

Apply CSS to Custom Visualforce Chart

We have developed a Custom VF Chart as shown above. Now our requirement is to beautify the chart(bars and texts) and its legends by applying the css on it. Can we apply css on the chart tag and ...
1
vote
1answer
801 views

On clicking on bar chart display list of related records on Visualforce page

I have a visualforce page with a bar chart that displays a user count on x-axis and profile name on y-axis. When a user clicks on the bar chart, I need to populate the user data in a table that have ...
1
vote
1answer
300 views

Visualforce chart Custom field filter error: For the filter 1: Specify a valid filterable column because XXX is not valid

HEELP! I have a report for opportunities. I need a VF that shows this report and I need a filter using a custom field named: PUBLISH DATE(Publish_Date__c ) : I've tried Publish_Date__c, ...
0
votes
1answer
82 views

Can Salesforce Radar Chart have less than 10 values on yAxis

I am using the below code to plot radar chart and I only want values 1through 5 on yAxis. However the values are duplicated as shown below. I tried using margins property, but that did not make any ...
0
votes
1answer
65 views

Use Bootstrap for Analytics ReportChart

Can bootstrap be used to control the size of an Analyltics report chart? I have a VF page referencing the Bootstrap CSS file but the chart dis not appear to be responding to the added reference. Am ...
1
vote
1answer
977 views

Create a chart in Lightning

I want to create a chart map in lightning something like this where the names are marked on a point on the base map based on 2 scores. I don't see any option to create as such using scatter chart or ...
0
votes
1answer
339 views

Apex:Chart is not render correcly when load in Hide Page Section Mode in Internet Explorer

I build chart in visualforce and embedded to page section in standard Page layout with scroll bar enable properties. It works fine in if page section is load in Show Section mode, and it works when we ...
0
votes
0answers
91 views

Apex Scatter Chart - how to handle overlapping points?

I have a VF page that displays a ScatterSeries chart - where each point is an Account (coordinates are two values on the Account). The issue is that some of the points have the same coordinates, so ...
0
votes
1answer
573 views

Hide Chart label in apex:gaugeseries

how could I hide the chart labels in chart, I'm tring with apex:chartLabel display="none" but seems not working. My code: <apex:page controller="GaugeChartController"> <style> ....
1
vote
1answer
46 views

Visualforce Charting limitation

I am reading on Visualforce Charting Limitations and Considerations, and notice this sentences : Dynamic (Apex-generated) charting components are not supported at this time. I want to know the scope ...
0
votes
0answers
59 views

Plotting y axis tick in Visualforce Radar Chart

Here is my chart I want the plotting start by even number such as 0,2,4,6,8,10 instead of 0 to 10.I tried steps or margin but it does not work. <apex:axis type="Radial" position="radial" steps="...
1
vote
1answer
174 views

How to refresh analytics:reportChart from Controller

I have the following code in the visualforce page and a button so when the user clicks the button I would like to show the reportChart but its not happening PS: Yes the reportId is not blank I'm ...
0
votes
1answer
421 views

Different apex:chart colors

How to get the different colors instead of just blue as shown below? <apex:page controller="OppsController"> <apex:chart data="{!Opportunities}" width="600" height="400"> <...
1
vote
1answer
2k views

Change Default Pie Chart Color in Apex?

I'm wondering is there a way to change the default pie-chart colors? the default random colors does not work in my scenario and we have our own set of colors like to implement in the pie-chart. Here ...
3
votes
1answer
133 views

barSeries can not contains multiple fields in yField via Javascript?

I can render this barSeries from controller page: <apex:chart id="barChart" height="400" width="100%" data="{!dataArray}"> <apex:axis type="Category" position="bottom" fields="...
3
votes
1answer
232 views

Convert SOQL milliseconds output to mm/dd/yyyy format in visualforce chart

I want to display the CreatedDate in MM/DD/YYYY format in line chart here. I am getting the SOQL output in milliseconds. I know this can be done using javascript but I am not that familiar with it. &...
3
votes
1answer
344 views

Show/create simple Bar Graph on a Visual Force Page in a Salesforce Community

The main requirement was to show a simple Bar graph in a Community Home Page (VF Page). I firstly tried to show a simple already created Report in Salesforce but got to know that Community doesn't ...
1
vote
0answers
168 views

Embedded Visual Force Gauge Chart

I have been tasked with making a gauge chart that will be embedded in our customer 'location' object that will be unique to each location, based on 3 key metrics within the location. I know what they ...
1
vote
1answer
464 views

VF Charting not working— simple Bar Chart. Bar not getting generated

I have this List of apex wrapper class and using the same in creating Bar charts but no bars are appearing at all. Class: public class ChartData{ public String yearMonth {get;set;} public ...
4
votes
2answers
1k views

Apex Chart not rendered in Lightning Design System

I developed a really simple page where I have several apex bar charts, based on values calculated in an apex controller. Now, when I put the charts into a <div class="slds"></div>, the ...
1
vote
1answer
333 views

Test Class for Chart Controller

Below is a Visualforce Chart Controller example directly from the offical documentation. https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_charting_overview_simple_example.htm ...
1
vote
1answer
135 views

How do i create a new VF page for Salesforce Analytics API

We are novice to VisualForce Page and Apex development. Trying to create a new VF page using sandbox org. Also in that, we need to use jquery ajax callout. We are trying to implement SFDC Analytics ...
1
vote
0answers
146 views

Displaying two lists in VF chart

Curently in an apex chart, I am displaying a bar chart . Bar chart data is a List method. public static List<InnerClassName> getMethod1(List<String> Ids) In the VF Page Visualforce....
-3
votes
1answer
37 views

Doubt in Apex:chart [closed]

how to display the xfield and yfield value only once if the values are repeating in apex:chart. Thanks in advance, Abinaya S
1
vote
1answer
174 views

Visualforce Line chart not populating

I need to plot values vs week. I don't see any errors. But just the data is not populated ? public class ChartController { // Return a list of data points for a chart public List<Data> ...
0
votes
2answers
74 views

Hide Visualforce Chart Based on Number of Data Points

I want to hide a Visualforce Chart if there are no data points. Since PieData is a list of data points, why can I not use the style below? <apex:page Controller="PieChartController" rendered="{!...
2
votes
2answers
131 views

Markerfill error in VF Line Series

<apex:lineSeries axis="left" xField="Month" yField="Score" markerType="circle" markerSize="4" markerFill="MarkerColour" /> I am using a formula field to store colour code in a formula field and ...
2
votes
1answer
148 views

Can you remove steps in a gauge?

I built a custom vf gauge chart, which looked and worked well in the sandbox. When we had it look against real data the chart gets ugly. The values are too high to show with any meaning. I created ...
2
votes
2answers
101 views

Sales Team Dashboard

I need to change the dashboard called “Sales Team Dashboard”. The first top left dashboard needs to show as a percentage of goal. The graph should look similar to the below. One thing to note is ...
0
votes
1answer
367 views

Apex chart - Scatter Series

I have a line series with Y AXIS = Opportunity Closed Date X AXIS = Opportunity stage OpportunityFeedback has 4 picklist values. Based on that I was planning to spread the data into scatter series ...
1
vote
1answer
513 views

change the Colour/markerFill in an Apex Line Series?

I have a line series : <apex:lineSeries axis="left" xField="Date" yField="Opportunity Name" markerType="circle" markerSize="4" markerFill="#8E35EF" /> Is it possible to change the markerType/...
1
vote
1answer
470 views

Visualforce gauge step values inside chart

Is there a way to make the step values of a gauge show up on the inside of the gauge chart compared to the outside? I tried using apex:chartLabel and changing the display value but that does not seem ...
0
votes
1answer
372 views

i am trying to show pie chart for my requirement

<apex:page controller="RepresingusingAggrgate" title="Pie Chart"> <apex:pageBlock> <apex:pageBlockSection title="using aggregate results"> <apex:chart data=...
0
votes
3answers
1k views

Controller Error: expecting right curly bracket, found 'for' at line 12 column 8

I am gathering some data for a bar chart. I cannot see why it keeps yelling at me for the right curly bracket. Error: Compile Error: expecting right curly bracket, found 'for' at line 12 column 8 ...
1
vote
1answer
264 views

apex chart with negative values [closed]

I created a visualforce with apex:chart and apex:barSeries with stacked attribute set to true. One of the values is negative and I want it to be under the x axis. How do I do that ? Thanks.
1
vote
1answer
2k views

Change mouse to cursor pointer whenever hover over visualforce chart in salesforce

VF page <apex:page controller="ChartController" title="Pie Chart" sidebar="false"> <apex:includeScript value="{!URLFOR($Resource.ChartLib, 'jquery.min.js')}"/> <script type="text/...
1
vote
2answers
912 views

Using Report Builder record data in custom Visualforce Page

Is it possible to use the records a standard Salesforce report would generate in a Visualforce page or class? Is see that there is an api to query for report metadata, but is there a way to also get ...
1
vote
0answers
40 views

VF Pie Chart with two data points

Is it possible to have two data points(two different custom fields ie. Data1field & Datafield) in a single pie chart? Currently there are no errors but pie chart doesn't show. public class ...
2
votes
1answer
161 views

Does apex:chart work for a partner portal/communities user?

I've seen a few posts on here to get dashboards displayed to portal users and things of that nature, but I'm looking specifically for whether or not this tag works for communities users. We've setup ...
2
votes
0answers
575 views

apex chart legend in multiple lines / line break

I have 10 line series apex chart developed in visual force page. I am displaying my legend at bottom of the chart. I dont see all the legends being shown. The legend is shown as on single line and ...
1
vote
0answers
247 views

how to convert VF chart X-axis time from 24hr format to 12hr format?

I have a visualforce chart in which the time is given in 24 hours format . I want that to convert in 12 hours format with am/pm. Is there any way to achieve this . Thanks, Prasanth public with ...
5
votes
2answers
618 views

How to rerender multiple charts

I'm trying to rerender two apex chart components after a form field change, and can only seem to rerender one of them. Here's my page: <apex:page showHeader="false" sidebar="false" controller="...
1
vote
1answer
148 views

Unable to generate Pie Chart in Apex

I want to have a chart created using Apex. Below is the Object parameters: Pie chart should have Product types shown based on the total quantity of that particular product. ProductType__c ...
1
vote
0answers
294 views

Chart not displaying Aggregate SUM value in VisualForce using Apex

I have an object Revenue__c that has 2 fields ... ProductType__c, QuantitySold__c. I want to showcase this below scenario as a bar graph : ProductType__c QuantitySold__c AC ...
2
votes
1answer
1k views

How to display values near bar chart in Visualforce

I'm creating a bar chart using visualforce charting and I'd like to add the row values near the bars on chart. Currently it looks like this: And that's what I'd like to achieve: Is it even possible ?...