I'm currently building a angular project where i need to draw a line chart with multiple datasets.
Angular 14
dc.js 4.2.7
Example object format:
{ id: "string", datasets: [ id: "string", data: []; color: "string"; ] }
I followed some examples and only could made a series chart where each line is an address. where's a clean run of what i've got:
https://jsfiddle.net/TheAndre98/zexncpd5/41/
*in this example the data arrays start seperated from the color string
Tried to change the dimension and tried colors with colorAcessor but nothing worked.
Is it possible to make a line chart where each line is a address and the color of the line is the from the dataset ?
Meaning multiple lines with same address but diferent colors and values.
** if not, is it possible to do something similiar with a bar chart too ?
I'm currently building a angular project where i need to draw a line chart with multiple datasets.
Angular 14
dc.js 4.2.7
Example object format:
{ id: "string", datasets: [ id: "string", data: []; color: "string"; ] }I followed some examples and only could made a series chart where each line is an address. where's a clean run of what i've got:
https://jsfiddle.net/TheAndre98/zexncpd5/41/
*in this example the data arrays start seperated from the color string
Tried to change the dimension and tried colors with colorAcessor but nothing worked.
Is it possible to make a line chart where each line is a address and the color of the line is the from the dataset ?
Meaning multiple lines with same address but diferent colors and values.
** if not, is it possible to do something similiar with a bar chart too ?