Questions tagged [charts]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
27 views

Radial chart attributes

I created a visualforce page which displays a radial chart. How can I change the number of lines of the chart? My chart displays always two lines per value 1, 2, 3, 4, 5, but I want to display just ...
user avatar
  • 95
0 votes
0 answers
55 views

Is it possible to create a custom Gauge chart in LWC?

Is it possible to create a custom Gauge chart in LWC? I have a requirement of creating a gauge chart on dashboard. Target value is sum of one column of report and measure is sum of other column of the ...
user avatar
1 vote
2 answers
383 views

Chart JS in LWC : Display labels on data

I am trying to use chartjs-plugin-datalabels plugin to display labels on a bar chart in LWC. ChartJS version is 2.80. I loaded the plugin as below and registered the plugin as specified in the ...
user avatar
-1 votes
1 answer
34 views

Bar charts & Combination charts in 3D format

please I have a question: Is it possible to have a Bar charts and also a Combination charts but in 3D format? I know that we have the models that salesforce offers but they are not 3D, so do i have ...
user avatar
-3 votes
1 answer
56 views

Add Chart to our LWC [closed]

i want to get something just like this , is it possible with LWC , with the possibility that the arrow change the position in depend of the condition that i will make in my JS , should i just use the ...
user avatar
0 votes
0 answers
28 views

Is it possible to edit/display chart axes even when there is no data available?

I am creating a KPI dashboard in lightning which tracks various targets of the team. I would like to display a number of charts within a dashboard, where the chart axes are drawn even if there is no ...
user avatar
  • 1
0 votes
2 answers
147 views

How to put the most recent item of report to the right side of the chart?

Here is a chart that I have and I am seeing in a dashboard. The x-axis is from the most recent to the past time. I am looking for a way to reverse the x-axis. I want the rightmost to be November 2021 ...
user avatar
0 votes
0 answers
37 views

I want to show the measure total in a bar chart same as the funnel chart on top

I need help regarding this issue. I want to show the same measure total as in the funnel chart and on my bar chart at the place of subtitle is it possible. and I also want to change the measure total ...
user avatar
0 votes
0 answers
36 views

How to create chart with Multiple Y Axis with some Y Axis merged

I need to create a chart similar to below using LWC. It has 3 values on Y-Axis. 2 of them are of type currency and remaining is 1 Percentage. Now I have tried using some libraries like Highchart but ...
user avatar
  • 1,464
0 votes
0 answers
23 views

Using other user leads on my report chart

We had only 1 user, so I add another user with administrator permission (like myself), I did some changes on my dashboard and I want the same exact dashboard shows in the other user too. I couldn't ...
user avatar
  • 1
1 vote
0 answers
23 views

Visualforce - add thousand separator in barSeries chart

i need to put a thousand separator in the tooltip of the bar in a chart eg: 400000 -> 400,000, but so far i couldn't find how to do it. Searching on the internet i find a way to do it with the ...
user avatar
1 vote
1 answer
48 views

Display Custom text in VF Page when field value is null

I have a Gantt Chart which is used to show the Project Timeline. I am using Google Charts to display the Gantt Chart. Below is the VF page: <apex:page standardController="Project__c"> ...
user avatar
0 votes
0 answers
277 views

Donut chart not rendering using chart.js on a lightning record page

I am seeking urgent help. I have to show a donut chart on a record. I tried to use chart.js latest library 3.2.0 but still, it doesn't work. APEX Controller - public class FeesChartController { @...
user avatar
0 votes
1 answer
241 views

Create a chart with 5 lines, despite Salesforce's limitation of 2

I have a custom object with fields: Date Measurement A Measurement B Measurement C Measurement D Measurement E I want to create a line graph with X-axis: the date (field 1) and 5 lines, for fields 2 ...
user avatar
1 vote
1 answer
259 views

Highchart not working in LWC getting TypeError: e.chart is not a function

I am trying to use Highchart js (https://code.highcharts.com/highcharts.js) in my LWC component for Chart, but getting error: TypeError: e.chart is not a function I am not able to figure out what ...
user avatar
  • 497
1 vote
0 answers
41 views

I want to pull data into a Visualforce stacked bar chart using an Apex controller

Every example I've seen is of Visualforce stacked bar charts with the data hard-coded in the Apex controller, similar to https://hub.appirio.com/tech-blog/building-dynamic-stacking-bar-charts-in-...
user avatar
0 votes
0 answers
207 views

Is there a way to show 'Total Records' in a chart(Report) in salesforce?

I would like to show Total records count in a bar chart in salesforce, but I am not sure if it is possible.
user avatar
0 votes
1 answer
1k views

Unable to assign Dynamic values in chartjs in lwc? need to set the condition to display chart [closed]

javaScript file: import { LightningElement, api, wire, track } from 'lwc'; import { loadScript } from 'lightning/platformResourceLoader'; import chartjs from '@salesforce/resourceUrl/...
user avatar
0 votes
0 answers
2k views

how can i handle click events from chart.js in lighning components?

My problem is i can't handle click events when i'm using chart.js library. It throws me a namespace error. I'm trying to update the chart when i click it on some bars for example. I don't know if it ...
user avatar
  • 13
4 votes
1 answer
513 views

Do C3 charts work inside an LWC?

C3 does things like drawing values in pie charts by default, and as it is based on D3 perhaps has sone good animation capabilities. (The LWC recipe is using Chart.js.) But before I waste hours on ...
user avatar
  • 130k
1 vote
2 answers
1k views

Chart with Dynamic data LWC

Trying to display the Dynamic data in Pie chart using Chartjs, Below is the Code. To build the chart, how to pass the Dynamic Chart label and Chart data. This is the response I'm returning from ...
user avatar
0 votes
0 answers
159 views

How do I make a Lightning Web Component reload, not just refresh?

I have a Lightning Web Component that contains a chart using Chartjs. However, when the dataset changes, the new chart is appended instead of refreshing the existing chart. One method that I think ...
user avatar
1 vote
1 answer
1k views

Is there a way to refresh chart data in a Lightning Web Component?

I have developed a Lightning Web Component using Chartjs according to the example given here: https://github.com/trailheadapps/lwc-recipes/tree/master/force-app/main/default/lwc/libsChartjs I have ...
user avatar
0 votes
2 answers
997 views

Donut chart in lightning component

Can someone suggest me to create a Donut chart in the lightning component? Here in a custom object, I have a field having values that are like 1 to 100 %. Based on the percentage I want to show in ...
user avatar
  • 17
-1 votes
1 answer
314 views

Is it possible to create a custom chart type in salesforce (one that can be used in reports)? [closed]

Salesforce reports lets you pick from a number of chart types (bar, line, pie etc), is it possible to extend these types for my org? I want to create my own chart type and make it available in the ...
user avatar
  • 917
0 votes
1 answer
3k views

How to create chart in Lightning Component using SLDS

I am trying to draw different types of Charts e.g. Bar Chart, Pie Chart,Stacked Bar and Column Chart etc. in Lightning Component. Can anyone please suggest me how to draw using SLDS. Link : https://...
user avatar
1 vote
0 answers
46 views

Gantt Chart Lightning (aura) [duplicate]

I am trying to create dependencies between task in Gantt Chart for example finish to start , A task need to finish in order to start another task, We have a object which will tell which task is ...
user avatar
1 vote
0 answers
240 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:...
user avatar
1 vote
3 answers
1k views

Error building Gantt Chart in LWC

I was able to get a working test chart using ChartJS but I'm having trouble with the Frappe Gantt library. Right now it's throwing an error in the catch, but I think the error is null as I'm getting ...
user avatar
  • 23
0 votes
0 answers
16 views

Aggregate Cumulative

It is possible to cumulate the aggregate results? My code below works fine so far, I get for each month a sum of BWS but now I need the cumulative value. For example: January BWS - 100 February ...
user avatar
  • 431
0 votes
0 answers
18 views

Fetch data from reports

I have a requirement where I want to show charts , graphs or pull data from reports in pardot email template. Is their any way I can do that either in pardot or from salesforce itself ?
user avatar
0 votes
0 answers
82 views

Put Aggregateresult in Chart

I want to count the number of consultingdays each month from the current year. And I want add this values into a line chart. But it doesn't work. If I run the visualforce page I get the error field '...
user avatar
  • 431
0 votes
1 answer
27 views

Stacked Barchart

I want to create a chart with stacked bars and a line, but it just works if I doesn't stack. Public Class APPBWS_ChartData { Public String Month { get; set; } Public Double Data1 { get; set; ...
user avatar
  • 431
1 vote
0 answers
75 views

Chart colors are different on home page and report

I'm doing a report with a chart and it displays a palette of color but on the home page with the same chart, colors are different. Is there a way to colors been the same in both charts?
user avatar
  • 33
0 votes
1 answer
189 views

Creating a Pie Chart In an Opportunity

We'd like to build a pie chart that can be displayed on the Opportunity Page Layout that calculates the following: Custom Field 1 + Custom Field 2 + Custom Field 3 = Amount I imagine we would start ...
user avatar
1 vote
0 answers
99 views

How to show Chart in Visualforce page which has renderas = pdf [duplicate]

I have VF page with renderAs = PDF. I want to display a chart on that PDF? I have tried https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_charting_example.htm and Display ...
user avatar
0 votes
3 answers
534 views

Is there a way to export custom developed Chart (Chart was developed using Chart.js) to PDF without using any other library

I have developed a bar chart using Chart.js library in lighting as standard dashboard doesn't help me to meet my requirements. I want to export to PDF without using any other library. I tried ...
user avatar
  • 5
0 votes
2 answers
1k views

Pie chart not displaying in aura component [closed]

I am developing a simple pie chart which will be included in the Accounts lightning page and I've stored Chart.js(Version 2.7.3) in static resources. However I'm struggling to get it working and no ...
user avatar
  • 163
1 vote
0 answers
129 views

Is it possible to have the report/chart filter in a VF page

Where could we the out-of-box filters on a VF page? Just like we do at the report admin page. So that everyone accesses the VF page, they can manipulate the filter by their own self. <...
user avatar
  • 253
0 votes
1 answer
547 views

Getting error while using Chart.js

<ltng:require scripts="{!$Resource.chartJS}" afterScriptsLoaded="{!c.setup}"/> <canvas aura:id="chart" id="myChart" width="400" height="400"/> ({ setup : function(component, event,...
user avatar
2 votes
0 answers
210 views

Chart rerender not working

I have a visualforce page in which I lazy load elements (otherwise the page would take forever to load). I load charts with each call of a javascript function, but for whatever reason the charts do ...
user avatar
1 vote
1 answer
34 views

Visualforce forcing components together

I have a strange issue. I have a component that constructs a visualforce line chart: <apex:component id="ShowGraph" layout="block" controller="ControllerShowGraph" selfClosing="true"> <apex:...
user avatar
0 votes
0 answers
195 views

Compare Table experts needed!

Description: I have a table like below, the Price Change row which contains '300' for 2018 and '600' for 2019 is the sum of values of all products per year. Price Change is a column defined by the ...
user avatar
  • 125
1 vote
1 answer
1k views

Custom (re)ordering of legend/bar segments in Einstein Analytics

Question: Currently I can sort bar segments of a stacked column chart in asc/desc order or keep it unsorted. However I would like to sort them in a custom fashion like in the image. How to do it with ...
user avatar
  • 125
1 vote
1 answer
4k views

Binding (and Filtering) two listselectors independently with an Einstein Analytics Chart

Description: We are using Einstein Analytics to compare two different dates which share the same values in the same dataset. See the dataset sample image below. The dates are string fields and in the ...
user avatar
  • 125
2 votes
2 answers
1k views

Variance Analysis using Einstein -Wave- Analytics

Description: We are using Einstein Analytics to create more insight on products our customers have, this requires creation of Einstein Analytics dataflows, datasets, dashboards and apps. We have a ...
user avatar
  • 125
0 votes
1 answer
232 views

Help with Visualforce PieChart

ChartController: public class DonutChartController { public List<PieWedgeData> getPieData() { Id userId = UserInfo.getUserId(); User loggedInUser = [Select Id, Email, ProfileId From ...
user avatar
0 votes
1 answer
2k views

How to display column and stacked column bars in a chart in Einstein Analytics?

Description: Einstein Analytics dashboards contains different chart types to select. Column and stacked column charts are only two out of tens available. Question Is it possible to use column bars ...
user avatar
  • 125
4 votes
0 answers
647 views

Embed report chart in a Lightning component to parametrize its filters

I have a report which doesn't filter by Lookups but by String field values. I want to show this chart on the record pages of a related record. But I am not sure how I pass in filter criteria into the ...
user avatar
2 votes
1 answer
3k views

How to create cumulative line chart in Analytics Studio?

According to the release notes Summer '16 (Release Notes) we should be able to create cumulative line charts in Einstein Analytics. However, I was not able to find any more documentation about this. ...
user avatar
  • 172