-
-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Radial Chart Issues (weatherRange columnrange) #195
Comments
No not yet. It's very new and more custom than I thought. It needs more
work before fully ready.
Curious, why set the tick interval? The ideas to show the temperature range
columns for one full day over the course of a week, month or year. What
would the tick show?
Sent from mobile
…On Mon, Aug 26, 2019, 8:03 AM HoracioDos ***@***.***> wrote:
Hello Pat
Thanks for this new radial chart. Is there a way to set the tickInterval.
I tried both (x and y) and it didn't worked.
[[chart2]]
title = Radial 2019
time_length = year
css_class = "weatherRadial"
[[[weatherRadial]]]
xAxis_tickInterval = 0.1
[image: Radial2019]
<https://user-images.githubusercontent.com/4549674/63689362-20e52280-c7e0-11e9-8dc7-12dd4ac92efc.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#195?email_source=notifications&email_token=AA2SYZYY2BB4ATOSGN4UC3TQGPA7VA5CNFSM4IPO5QWKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHLSI2A>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2SYZ5BGYYUC36WXYKUSR3QGPA7VANCNFSM4IPO5QWA>
.
|
Hello Pat. |
Ah yes. That is part of what I need to clean up. The decimals are not being
rounded yet. Soon!
Sent from mobile
…On Mon, Aug 26, 2019, 8:27 AM HoracioDos ***@***.***> wrote:
Hello Pat.
mmm You made me doubt about this. I rephrase my question. How can I set
less decimal values in this chart? For example. I would like to show low
temp = 13,8 and not 13,89999999
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#195?email_source=notifications&email_token=AA2SYZ2HHHMVWGZOLYZ3U23QGPD25A5CNFSM4IPO5QWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5EG2NI#issuecomment-524840245>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2SYZ765JCY3APTBRLDMDTQGPD25ANCNFSM4IPO5QWA>
.
|
Give the latest commit a try. I also added a new translation key in skin.conf. Here is my config and my output now
|
I just pushed another commit with more tooltip behavior. Give the latest one a try. I think it is good now. |
Can you paste your translation labels so i can try to replicate the
encoding?
On the months and their names... Hmm. That's automatically generated by
highcharts. I'll have to look into it. When does your database start? May?
Sent from mobile
…On Tue, Aug 27, 2019, 8:33 AM HoracioDos ***@***.***> wrote:
Hello Pat.
It works now! Thanks! But there is an encoding problem for Low & High
Labels.
Another minor detail: Is it possible to force a category name for
incomplete month values? For example: May temperatures are not complete, so
It would be nice to have a also a category name for it. Perhaps it's easier
to exclude them somehow?
Thanks again!
[image: Radial2019]
<https://user-images.githubusercontent.com/4549674/63771514-b13d6900-c8ad-11e9-8c58-ad34552e6647.png>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#195?email_source=notifications&email_token=AA2SYZ37VLKBPXCVGWRDNOTQGUNLBA5CNFSM4IPO5QWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5HSFQQ#issuecomment-525279938>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2SYZ4BZK4SPTRSWB23XKLQGUNLBANCNFSM4IPO5QWA>
.
|
Hello Pat.
|
I'll try it out. Do you think weatherRadial makes sense? It is only showing temperature. Should it be renamed to something like |
Hello Pat If the radial chart only purpose is to show temperature and nothing else I guess it would be ok to rename it to outTempRadial. If you think it can evolve into something else like energy or power I would name it as radial only. |
You need to upgrade the dark CSS file too. That was updated recently.
Right now the outTemp is hard coded into the chart because the database
lookup is looking up specific values. I will have to see if there is a way
to make it not hard coded.
Sent from mobile
|
Hello Pat.
|
What's the link to your site again?
Sent from mobile
…On Wed, Aug 28, 2019, 9:17 AM HoracioDos ***@***.***> wrote:
Hello Pat.
This is very weird. I can see that .highcharts-weatherRadial class is
included at the end of belchertown-dark.min.css and css_class =
"weatherRadial" also matches in graphs.conf but it still doesn't work.
/* Belchertown Dark Skin Overrides */
body.dark{color:#fff;background-color:#222}.dark ::-moz-selection{background-color:#fff!important;color:#000!important}.dark ::selection{background-color:#fff!important;color:#000!important}.dark .genesis-nav-menu a{color:#fff}.dark .responsive-menu-icon::before{color:#fff}.dark .compass,.dark .moon-container{color:#fff!important}.dark .records table{border:1px solid #aaa}.dark pre{color:#aaa;background-color:#222;white-space:pre}.dark .highcharts-windRose .highcharts-xaxis-grid .highcharts-grid-line, .dark .highcharts-weatherRadial .highcharts-xaxis-grid .highcharts-grid-line {stroke-width: 1;}.dark .genesis-nav-menu a:hover, .dark .genesis-nav-menu .current-menu-item > a, .dark .genesis-nav-menu .sub-menu .current-menu-item > a:hover {color: #e5554e;}
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#195?email_source=notifications&email_token=AA2SYZ7627CMCPATJAQBNSTQGZ3IBA5CNFSM4IPO5QWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5LCX3I#issuecomment-525741037>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2SYZ5NI6NDOTLNVIM5HPDQGZ3IBANCNFSM4IPO5QWA>
.
|
This was a tricky one because when I changed the tooltip to fix the language characters, it broke the color. The reason my site was working was because I didn't update my site. Download the latest 2 commits I just pushed. 1 for the belchertown-dark.min.css and one for belchertown.js.tmpl. Let me know how it looks |
Good news! Also @HoracioDos the labels are being tricky for me. It has to do with the 30 day tick interval on the xAxis. No matter what if I set it lower or higher it doesn't work. Look at my example test charts below. Maybe the first group is better? The first group lets Highcharts own the labels and not Belchertown... No xAxis tickinterval and no xAxis label. Highcharts owns the labels.Maybe this is the best option? The date formatting looks a little off though. No xAxis tickInterval, but with xAxis label of %bThis looks bad |
I'm expanding this request to add a few more options
I could use your help test. I will try to commit something later today. Some samples: Weather Radial with
|
Hello Pat. |
Adds title, color, units, min based on series data, polar control, dark mode stroke css class if polar Updates #195
Just pushed some updates. More to go, but I think what I have so far is working and allows some flexibility. The new
Note: I think I will rename [[[weatherRadial]]] to weatherRange tomorrow, since these charts are really range charts. Some chart examples and output: Column range chart with outTemp and temperature custom coloring. No polar defined (missing)
Column range polar chart (circle) with outTemp and temperature custom coloring
Column range polar chart with color red defined, and windSpeed graphed
Column range chart with outHumidity graphed and no polar (false), and no color (removed) which uses the default colors from graphs.conf
|
I'll try them asap. I think that people with solar panels will love this charts. It seems to be ideal to show charging efficiency. |
Looks nice Pat....Are the color ranges hard coded into code or can it be option in the graph.conf file? |
@Stormtracker017 They are hardcoded and match the temperature colors represented on the front page. Edit: to clarify, any temperature observations are hard-coded. You can override them, or any other observation, with the |
Here's outside temperature with a color override to orange.
|
Is there a way right now to do Zones in the code? |
What do you mean by zones?
Sent from mobile
…On Fri, Aug 30, 2019, 5:54 PM Stormtracker017 ***@***.***> wrote:
Is there a way right now to do Zones in the code?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#195?email_source=notifications&email_token=AA2SYZ6P2CSYA3LJOHEGZL3QHGJHZA5CNFSM4IPO5QWKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5S34II#issuecomment-526761505>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA2SYZYEH5QT5UH6ES4RW3DQHGJHZANCNFSM4IPO5QWA>
.
|
If a point "value" falls within a zone, you can change the color that the value represent. You can have multiple zones within a plot. |
@Stormtracker017 No, zones aren;t implemented (doing these columnranges was challenging enough). Edit: are not implemented |
Another big update to test! You have to download the entire development package again since I have updated a lot in a lot of files! But with the charts, there's a big update in b101183 which allows you to control the chart height and width. Just place the height, or width of the chart right in the chart options. If height and width are not defined then the charts will be their same default sizes For example:
And here's the output of my own front page with some mixed size graphs. |
With this update we can do columnrange graphs? |
@Stormtracker017 Yeah, it's a special chart type for Belchertown because each columnrange requires some specific x, y coordinates and the min/max. So it's not as easy as doing I've tried multiple observations per columnrange chart and it looked cluttered, so for now I'm doing 1 observation per chart for columnrange. If you're charting outTemp, then it gets colored based on the temperature color scale within the skin. Otherwise the colors are default and/or from the Note: I'm still tweaking it. The current name for the observation is weatherRadial. I need to change that to weatherRange in the very near future (possibly this afternoon). You can see this on the front page of https://belchertownweather.com too. Here's an example config:
|
If you want your columnrange to look a little more interesting, add I also added new option of
|
Alright, if you update to the latest version, |
Hello Pat
I know you are busy but don't forget to update the wiki about weatherRadial change to weatherRange. |
Hi Horacio. Have you updated all files? Or just a few? I made some updates to make the skin weewx 4 ready, which has encoding in it. If you did not update all files, please try that and restart weewx when you can. Then let me know. |
I updated only the files which were affected by development commits since August 31. I'll sync everything and I'll let you know about it. I'll look for any hidden control character in about.inc just in case too. |
Hello Pat.
Almost every text is taken from weewx.conf but I still have some hardcoded text in the about page. |
@HoracioDos Congrats on the new job btw! Those 2 lines won't be supported in Python 3 or weewx 4, so they had to be removed. What we should do is try to fix what is wrong without them. At the top of your about.inc add this line:
and remove those lines you added. Restart weewx and try again? |
Excellent!! Problem solved. |
Great news! I'll get that added to all the files |
I have updated the wiki to include the |
Hello Pat
Thanks for this new radial chart. Is there a way to set the tickInterval. I tried both (x and y) and it didn't worked.
The text was updated successfully, but these errors were encountered: