Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [charts]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

chart.js Ticks callback not working in lwc

I have a simple bar grapgh and i need to format the Y axis labels. the code i found on Chartjs documentation is not working in LWC. not sure whats wrong with my code. currently thy axis labels are ...
Syed Najeeb's user avatar
1 vote
0 answers
89 views

Chart JS in LWC : Data Labels are not coming in charts

I'm using using chart JS 3.8 as provided in trailhead repo & chartjs-plugin-datalabel v2 to show datalabels in my line chart but the charts are loading without any data labels. import { ...
soum007's user avatar
  • 11
0 votes
0 answers
25 views

Error in graph when trying to calculate lead % change month-to-month

I am trying to calculate the month-to-month lead % change for my company. I have the created month as a grouped column and I used the following formula to calculate the % change: (RowCount - ...
rts1994's user avatar
0 votes
0 answers
71 views

Customize Revenue Insights Dashboard to show Commit + Closed Won

My manager wants to customize the standard Revenue Insights dashboard to show Closed Won + Commit amount on the chart which will show how close we are to quota with those two numbers combined. We are ...
Lori Rott's user avatar
-2 votes
1 answer
25 views

Visualforce apex:chart showing unknown property error

I am trying to display a simple line chart with 3 data (today, 7 days ago, and 14 days ago) in order to view the evolution of the score of a certain record. Everything is set to "public"... ...
Bernardo Lira's user avatar
0 votes
1 answer
120 views

Need to show the percentage of surveys in a gauge chart

I need to show the percentage of monthly positive surveys in a gauge chart like this: But I can't seem to show the percentage as it only asks me for Record Count or Sum of score My report is like ...
David Salomon's user avatar
-1 votes
1 answer
53 views

Highchart Dendogram in LWC

i want to show a simple dendogram and i have uploaded a zip file having highchart.js, highchart-more, treegraph in stati c resource but still not working. import { LightningElement } from "lwc&...
Syed Najeeb's user avatar
1 vote
1 answer
61 views

Display Google Bubble Chart with Aggregate Query

Hi I have a need to display a google bubble chart that aggregates data from a child records. It works perfect with data hard coded, but I cannot figure out how to display data pulled from an aggregate ...
Hep's user avatar
  • 11
3 votes
1 answer
417 views

Charts in Visualforce generated PDFs in early 2023

I needed to return to this subject this week and Googling revealed some potentially misleading fairly complicated solutions. There are multiple posts on the subject here e.g. Image Charts in ...
Keith C's user avatar
  • 136k
1 vote
0 answers
284 views

Issue importing dependent libraries in LWC

I'm trying to create an orgChart in LWC to represent how my objects are set up. I found the following library to do it : https://github.com/bumbeishvili/org-chart When looking at the examples, he ...
Sacha Dieryck's user avatar
0 votes
2 answers
826 views

how to write formula in sf to show percentage

I have a chart showing following information but now i need to have instead of numbers the percentage. Now it shows percentage of all records. But im interested if its possible to count % separately ...
KseF's user avatar
  • 9
1 vote
1 answer
2k views

Chartjs 2.8.0 in lwc

Trying to implement stacked bar chart to get something like path component, but several datasets and colors, something like this Using chartjs 2.8.0, added it as static resource. All the time getting ...
Alex Koval's user avatar
0 votes
0 answers
67 views

Moving LWC to production with external Library ChartJS

I am trying to migrate my LWC that uses an external library Called LightningWebChartJS Every time I am trying to migrate the component from Sandbox to Prod I get this error No MODULE named markup://c:...
Ben2pop's user avatar
  • 425
0 votes
0 answers
466 views

Any way to embed Google Charts in LWC or any charts to present percentage in addition to absolute value?

I would like to present a chart in my LWC with both absolute value and percentage. This can be easily achieved if data is exported to Google Docs and then Google Chart is created from the data. There ...
Patlatus's user avatar
  • 17.1k
1 vote
1 answer
124 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 ...
Rag21's user avatar
  • 105
1 vote
0 answers
1k 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 ...
farooq.ind's user avatar
1 vote
2 answers
6k 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 ...
Hareesh Mohan's user avatar
-1 votes
1 answer
637 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 ...
mary snh's user avatar
-3 votes
1 answer
660 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 ...
mary snh's user avatar
2 votes
2 answers
1k 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 ...
Matin Lotfaliee's user avatar
0 votes
0 answers
35 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 ...
Bob's user avatar
  • 1
1 vote
0 answers
65 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 ...
Lucas Campos's user avatar
1 vote
1 answer
164 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"> ...
SFDCUser's user avatar
0 votes
0 answers
517 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 { @...
Pratik Pawar's user avatar
0 votes
1 answer
795 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 ...
Sander de Jong's user avatar
1 vote
1 answer
762 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 ...
RKM's user avatar
  • 517
1 vote
0 answers
123 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-...
Rita Leverett's user avatar
0 votes
0 answers
1k 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.
user3920709's user avatar
0 votes
1 answer
2k 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/...
Meenu rosy's user avatar
0 votes
0 answers
3k 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 ...
JScript's user avatar
  • 13
4 votes
1 answer
885 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 ...
Keith C's user avatar
  • 136k
1 vote
2 answers
2k 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 ...
SFDC_Beginner's user avatar
0 votes
0 answers
359 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 ...
Jonathan's user avatar
1 vote
1 answer
2k 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 ...
Jonathan's user avatar
0 votes
2 answers
2k 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 ...
Aryan's user avatar
  • 17
-1 votes
1 answer
675 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 ...
Joelio's user avatar
  • 937
0 votes
1 answer
5k 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://...
Diganta's user avatar
1 vote
0 answers
47 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 ...
ekta deswal's user avatar
1 vote
0 answers
688 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:...
GroundToCloud's user avatar
1 vote
3 answers
2k 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 ...
Pete's user avatar
  • 23
0 votes
0 answers
31 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 ...
peXeq's user avatar
  • 471
0 votes
0 answers
30 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 ?
Ruchika Choudhary's user avatar
0 votes
0 answers
204 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 '...
peXeq's user avatar
  • 471
0 votes
1 answer
34 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; ...
peXeq's user avatar
  • 471
1 vote
0 answers
201 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?
marivel's user avatar
  • 33
0 votes
1 answer
303 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 ...
Mona Caro's user avatar
1 vote
0 answers
100 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 ...
HowToDoItInSalesforce's user avatar
0 votes
3 answers
940 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 ...
Alex's 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 ...
SFDC_Dev's user avatar
  • 293
1 vote
0 answers
186 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. <...
newBike's user avatar
  • 253