hello, i have a requirement to provide a user dashboard on my angular application, display bar charts with data from an API, i also have an requirement to allow the user to drive the creation on the chart, i.e user creates a customers chart and selects the data that he/she wants to be displayed - this would be a call to the customers api,which the front end will then filter out the data based on what the user has selected...
My questions is with ngx-charts i know i can build a chart and define what data i want to show in the code ...i.e pre defined chart, but can i also allow my end users to build custom on demand charts on the UI?
Hello guys, I m using ngx-charts version 10.
The behavior I want to achieve is to change font color, on theme change event.
I' have found here: "swimlane/ngx-charts#540", that you can use " style="fill: grey;"" to change font color.
Is it possible to replace the style with ngStyle? When I made that change, it applied the first value defined in ngStyle, and it didn't react to any changes.
Hello guys :)
I have a question about timeline.
So I've implemented a line-chart along with timeline, Y-axis displays numbers (20-100) and X-axis displays the time. There are several lines on the chart that represents the data (output from the sensors, each line represents a separate sensor).
Data that is displayed on the chart is dynamically changed. So approximately every minute I get the new data for each sensor (value and time). The problem happens, when one of the sensors doesn't send data for a time period, and the other ones do. E.g. one sensor sent the last data yesterday, and the rest of them sent data 2 minutes ago. In that case, the time gap on the chart is too big, and data is not displayed correctly (Look at the pictures).
I'm wondering, is there a way to prevent this behavior? I know that I can set Max and Min on the X-axis. Also, there is a timeline option, but it is also based on the values of the X-axis. Is there way to limit the value of the timeline ( so only I can select last 20 minutes or something like that)