-
Just getting started using this in a GWT/dominokit project. I will be retrieving fft signal data from a db and then plotting it. The below code is just a simple test. I get the chart and the red legend, the axis is scaled down to about -60 and the title changes, but no line is drawn.
UPDATE: the problem appears to be that we dont have any labels set. We will probably only set about 5 labels, but we will have 200+ points of data. This is a frequency plot and there will not be enough room to display all the labels UPDATE2: This is getting uglier. If I set 3 labels, only 3 points are plotted. What I really would like is something like: labels["0", "50", "100"] and they be spaced at the start, middle and end, but all of the points get plotted. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
ok, quick code to help anyone that might follow
|
Beta Was this translation helpful? Give feedback.
-
@howudodat the data to load in a chart should have always 2 dimensions, for cartesian axes as you are using.
Furthermore you can In the example, the The code that you published, all ticks (related to the index) are not showed . To have a clear picture about your expected result, can you publish here how the chart should look like? I'm glad you are using Charba on DominoKit. Let me know, if you want, how it's working because I haven't tested it yet. |
Beta Was this translation helpful? Give feedback.
ok, quick code to help anyone that might follow