Hi, I am currently evaluating whether the Reporting Engine fits our needs to generate Word reports dynamically based on data coming from our application. I was able to generate most of the elements to represent, but I am a bit stuck on a chart with several timeseries. The number of timeseries varies based on the perimeter chosen, and the values are not always synchronized.
Something like:
Report 1 : image.png (8.3 KB)
Report 2: image.png (3.4 KB)
Ideally, this would be done from a data in the format:
"Q":[
{
"Name": "Q1",
"Values": [
{"value":2,"time":"2022-04-23T18:00:00.000Z"},
{"value":4,"time":"2022-04-23T18:15:00.000Z"},
{"value":5,"time":"2022-04-23T18:45:00.000Z"}
]
},
{
"Name": "Q2",
"Values": [
{"value":3,"time":"2022-04-23T18:00:00.000Z"},
{"value":3,"time":"2022-04-23T18:15:00.000Z"},
{"value":2,"time":"2022-04-23T18:30:00.000Z"},
{"value":2,"time":"2022-04-23T18:45:00.000Z"}
]
}
]
I tried by first combining the data myself in the format:
"Q":[
{"Q1value":"2","Q2value":"3","time":"2022-04-23T18:00:00.000Z"},
{"Q1value":"4","Q2value":"3","time":"2022-04-23T18:15:00.000Z"},
{"Q2value":"2","time":"2022-04-23T18:30:00.000Z"},
{"Q1value":"5","Q2value":"2","time":"2022-04-23T18:45:00.000Z"}
]
I did manage to get some results with this second format and the option “AllowMissingMembers”, but two issues remain:
- The legend name stays visible even if there is no data
- Is it possible to do something based on the first data model? That would be much more powerful for my use case
Thanks !