Questions tagged [visualforce-charting]

The tag has no usage guidance.

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

How to add $ sign over hoover on each employee

I need to add $ symbol over hoover eg- 1000 --> $1000 VF Page: <apex:page controller="BarChartController"> <apex:chart height="400" width="400" data="{!employees}"> <...
1
vote
2answers
73 views

VisualForce Google Chart = TypeError: Cannot read property 'length' of undefined at drawChart

We are trying to create a Visualforce page which will include a graph displaying budget data. For testing purposes, I want to display 3 columns as defined in the code below. Running the query in the ...
1
vote
0answers
20 views

Getting multiple lineseries component VF charting & dynamic VF

I have a requirement where I am asked to have multiple lineseries. The number of line series components is variable. I tried Dynamic VF components with just one line series and this is the error ...
1
vote
0answers
96 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
1answer
89 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
65 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
364 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
65 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
1k 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
357 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
93 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
109 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
1k 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
524 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
104 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
684 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
47 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
65 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
209 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
449 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
143 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
260 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
362 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
176 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
528 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
356 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
143 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
179 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
77 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
141 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
156 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
102 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
383 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
573 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
491 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
444 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
306 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
984 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
41 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
172 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
614 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
257 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
649 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
162 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 ...