Replies: 3 comments 3 replies
-
You can use CartesianCharts and use a LineSeries but if I were coding this I would prefer using CartesianCharts and just adding Sections for each of the 5 HVACs and use different colors and x widths (Date/Time ticks elapsed) to represent the different states. Are you building it with Winforms or WPF or on another architecture? There is example code on how to build a line series and sections in the sample code section you can check out here: https://github.com/beto-rodriguez/LiveCharts2/tree/master/samples (the ViewModel is a class that builds the backbone of the chart type which the cartesianchart series/properties can be assigned from. Let us know if it is Winforms/WPF/etc so we can help you out better. |
Beta Was this translation helpful? Give feedback.
-
I am using WPF.
…On Thu, Oct 28, 2021 at 12:54 AM preintel ***@***.***> wrote:
You can use CartesianCharts and use a LineSeries but if I were coding this
I would prefer using CartesianCharts and just adding Sections for each of
the 5 HVACs and use different colors and x widths (Date/Time ticks elapsed)
to represent the different states. Are you building it with Winforms or WPF
or on another architecture?
There is example code on how to build a line series and sections in the
sample code section you can check out here:
https://github.com/beto-rodriguez/LiveCharts2/tree/master/samples (the
ViewModel is a class that builds the backbone of the chart type which the
cartesianchart series/properties can be assigned from. Let us know if it is
Winforms/WPF/etc so we can help you out better.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#262 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMJAQT273ZWGPBX6I2WZLD3UJD6VDANCNFSM5G246SWA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
I started with using LiveCharts and not LiveCharts2. Do you recommend upgrading to LiveChart2 and if so, do you have any migration instructions? |
Beta Was this translation helpful? Give feedback.
-
I'm trying to create a chart that is similar to the following image. Do you have any suggestions on the type of chart that I could use or modify to produce something similar? The control state of 5 HVAC units are logged in a database. I need to chart the state of each unit over time. The HVAC units can be in one of five states: ByPassOff, ByPassOn, FanOn, Stage1On, Stage2On. Each state is represented by a different color. Nothing is displayed when in ByPassOff state.
The states of each of the 5 HVAC units are all the same in the example image.
Beta Was this translation helpful? Give feedback.
All reactions