Custom chart color

Falco shared this idea 2 weeks ago
Completed

I want to change my chart color from light blue to black to be able to view an elevation chart on my power saving lcd dashboard.


I found several custom colors in config.cfg but I didn't found the chart colors.


Here is the screenshot:9461e34ad4af4c7edf1ae5901ca92583


I would like to edit the light blue area or the solid blue line and change it to a much darker color because on zero display brightness I could only read the numbers but not the diagramm.


If somebody wonder why this is a white theme, it's an LCD power saving dashboard. For OLED you would need an inverted theme.

Comments (20)

photo
1

Good day Falco,

I had to change your question to idea, because this is currently not possible. Colors are currently hardcoded in the application.

photo
1

Really hardcoded in a compiled binary or just a ressources xml in the apk? Because I would be ok doing an extract and repackage of the base.apk after each release.


Good thing is that the light blue is the bottom layer of this chart, which means I wouldn't hurt the more advanced charts by changing it for the whole app because everthing else is on top of the blue area.

photo
1

Really hardcoded, as:

    public static int getSeriesColorLine(int type) {
        if (type == AXIS_Y_ALTITUDE) {
            return Color.argb(255, 0, 0, 255);
        } else if (type == AXIS_Y_SPEED) {
            return Color.argb(255, 255, 0, 0);
        } else if (type == AXIS_Y_SEN_SPEED) {
            return Color.argb(255, 255, 0, 150);
        } else if (type == AXIS_Y_SEN_HEART_RATE) {
            return Color.argb(255, 170, 120, 0);
        } else if (type == AXIS_Y_SEN_CADENCE) {
            return Color.argb(255, 0, 170, 0);
        } else if (type == AXIS_Y_GRADIENT) {
            return Color.argb(255, 60, 130, 130);
        }
        return Color.BLACK;
    }
Anyway, do you know quite new "experimental" settings? Something I would like to switch for little-complicated config.cfg. Just long click on "Settings" button in the main menu and then scroll down in settings. And there will be six new options in the next version to change these colors.

photo
1

@menion using the latest 3.32.1 Pro when I long click on "Settings" button in the main menu it just displays standard Change screen where I can reassign the Settings button for another function

what trick am I missing?

photo
1

Access to this menu is still little complicated because it since begin was not intended to be public :)

Anyway, change settings in one of six buttons to something different. Then this "settings" button appears at the bottom in the main menu and here will work this long click.

photo
1

Thanks @menion. I eventually got the new Settings button visible (seemed to take more "experimentation"/ mucking around than in your instructions?) but a long tap on this new (and old) Settings button doesn't do anything? I recorded a video in case you can see what I'm doing wrong - https://youtu.be/XlMhjFI9QVo.

photo
1

Hmm ... get rid of settings button in the top 6-buttons grid. Then it will surely work :)

photo
1

I found that the 2nd special Settings button is only made visible after you exit the Main Menu screen then re-open. That would explain why it so long to discover this button in my last post. But still with all 6 top buttons now not set to Settings, the 2nd Settings button (below Web services) will still not respond to a long tap. I also tried this button after restart of Locus but no change. 3.32.1 Pro? or only Beta?

photo
1

Hmm, interesting. I've checked code and it should work in public Pro as well.

Well, leave it for now if this not work. I'll try to find the better place where to add this "special menu".

photo
1

Change in latest 3.32.2 version: enabling of experimental mode moved under "Long click on main menu button".

photo
1

@menion - 3.32.2 Pro - long tap main menu button is ignored. You mean hamburger icon in top/ left of main screen right?

photo
1

Sometimes, simple things need many iterations :). In this case, this menu was possible only in Beta version.So ... in next version, it will be possible also in "public version", sorry.

photo
photo
1

Next version already? Such a hurry, Thanks a lot.

Yes I know the experimental Settings.

photo
1

With all the quick support I feel like I have to share the result of my projekt android phone dedicated for navigation only in the forum until autumn to share all my locus settings, tasker hacks and hardware changes: case modification and smd soldering.


It's target is bike usage on rough terrain with a lot of hardware buttons and proximity gestures.


This project does combine the following topics:

http://help.locusmap.eu/topic/ability-to-force-warm-start-gps

http://help.locusmap.eu/topic/threshold-for-altitude-changes

http://help.locusmap.eu/topic/collect-battery-life-improvement-tipps-for-knowlage-base

http://help.locusmap.eu/topic/create-faq-entry-for-solving-bt-sleep-issues

http://help.locusmap.eu/topic/altitute-filter-spezification

http://help.locusmap.eu/topic/is-gps-over-bluetooth-low-energy-le-bt-4-0-supported

photo
photo
1

I found a similar topic with more requirements:

http://help.locusmap.eu/topic/choose-your-own-chart-colour-in-dashboard

I am not sure if you want to merge it because they request even more customization. I would be happy if I could make anything of the diagramm darker because for high contrast it does not matter which elements are dark and how thick lines are.

photo
1

Maybe your change does solve this requirement as well:http://help.locusmap.eu/topic/change-color-of-dashboard-icons

photo
1

Hi, thanks for a search.

Because we already had here some discussion, I rather won't merge these topics. Anyway, you are correct with first one, it is the same idea, fine. The color of icons in the dashboard is another story that needs more work on the dashboard itself.

Combination of six topics: nice collection :). Seems, you are well skilled with filtering and some geeky tasks. They usually need a lot more time to implementation & testing then some easy relax tasks like this one. I'm currently fighting with some problems and finishing of geocaching & other tasks, anyway I'm sure, that time of "optimizations & algorithm updates" have to come soon. Thanks for now.

photo
2

So far I was able to create workarrounds for everthing. Thanks for all of your work.

photo
photo
1

Well done


Did you remove the not usefull red trackpoint marks? Or did I hide them on accident?


I did spend alot of time to find any way to remove them but I couldn't get rid of them and now there are just away.

photo
2

All "navigation commands" (red down-arrow) was removed with new 3.32 update.

photo