ngx-charts Questions

1

I'm setting up a simple example of the line chart and it fails with the getColor on undefined error. If I remove the [results] data, the chart displays but then fails on missing data. Not sure how ...
Minim asked 15/7, 2019 at 23:22

3

Solved

Using ngx-charts, and particularly the vertical bar chart, I have found that there's a limit of elements over which the bars won't be displayed. I believe the limit is related to the chart's avail...
Werner asked 5/10, 2017 at 14:12

3

for ngx-charts line chart, it show the line chart, but there is no dot for the data point. If you hover the data point, it show a dot for the data pint and also with a label tooltip. I like t...
Meanwhile asked 8/5, 2019 at 23:29

5

How do you use the customColor attribute as a function? I'm looking to build a scatter plot and mark all points with a negative value as red, and all those with a positive value as green. I would t...
Rainout asked 8/6, 2018 at 17:34

3

Solved

I am using ngx-charts with Angular 12 and I'm getting this error message then I use this: colorScheme = { domain: ['#5AA454', '#A10A28', '#C7B42C', '#AAAAAA'] }; The error message is: Type '{ dom...
Banausic asked 18/10, 2021 at 9:0

1

I am trying to build the stacked bar graph using ngx-charts in angular 4.x. While displaying the data labels, I am using tooltip template and able to display, but I want those labels to show up alw...
Bensky asked 5/10, 2017 at 12:1

2

I have created a chart using ngx-chart. The x-axis should populate year. My array of year currently has values: 2020, 2021,2022,2023. However when it is displayed in the chart, it automatically add...
Pursuit asked 28/5, 2020 at 12:45

4

I'm working on an angular app and using ngx-charts, after debugging and searching online for few moments I couldn't find how to change the color palette on the charts. The default angular color p...
Sycosis asked 15/8, 2018 at 19:46

3

Solved

I'm using ngx-admin and I'm trying to make my ngx-line-chart responsive. My chart is in a nb-card, and when I resize the window the nb-card is totaly responsive. So I want my chart to be resized t...
Ideation asked 28/9, 2018 at 9:57

5

I am currently using ngx-charts for Angular2, and I would like to customize some legends, e.g. place the legend below the chart, or rename the legend fields, or make the legend wider (parts of the ...
Apical asked 21/8, 2018 at 10:37

4

I am using ngx-charts for plotting time series data. I am using their example <ngx-charts-line-chart [view]="view" [scheme]="colorScheme" [results]="multi" [gradient]="gradient" [xAxis]=...
Chesna asked 29/8, 2017 at 22:17

2

Solved

By default, ticks are formatted based on time range selection in timeline. If it pans across days it shows month and if it is with in a day, it shows only time. This is great! Now I want to locali...
Antigorite asked 26/6, 2018 at 5:23

5

I'm building an app using Swimlane's Ngx Charts for graphical data representation, but I'm getting odd behaviour when I update the data via a refresh button which re-calls a GET function to update ...
Cheke asked 24/1, 2018 at 13:22

3

Solved

I've been trying to set a custom label in a line chart's tooltip , e.g., modified number of minutes in HH:mm format (74 min --> 1:14), for quite some time now, but unfortunately without any success...
Yezd asked 27/7, 2018 at 11:36

0

When using the timeline feature in ngx-charts and selecting a range in order to zoom in, is there a way (a callback or event listener) that can return the subset of data or period that you are look...
Avrom asked 30/7, 2018 at 19:3

4

Solved

I am trying to implements some statistics in my develepping platform and I try to use ngx-charts to display them. However I get an error and I can't figure out why. I am using storedProcedures fo...
Eurhythmy asked 18/5, 2018 at 8:45

2

Solved

I am using a filter pipe with the ngx-charts data array. The data is filtered by 2 dates: fromDate and toDate. The pipe is working fine when filtering with dates that make the array smaller, but wh...
Carollcarolle asked 12/1, 2018 at 14:44

0

Is there a detailed document how to make a custom ngx-chart? This is what I've found, but couldn't start working with: https://medium.com/@amcdnl/charts-with-svgs-in-angular2-1d08a0e635ea I want t...
Beograd asked 7/9, 2017 at 11:55
1

© 2022 - 2024 — McMap. All rights reserved.