Struggling!!!Please some hero/savior help me about Axis of wxFreeChart!!!!

Talk here about issues with one of the components hosted at wxCode, or suggest features for it.
Post Reply
czczzzz
Earned a small fee
Earned a small fee
Posts: 20
Joined: Thu May 13, 2021 10:34 am

Struggling!!!Please some hero/savior help me about Axis of wxFreeChart!!!!

Post by czczzzz »

struggling with wxfreechart......

It is helpful but I it is really hard to build and use it today......with wxWidgets 3.15 and vs2019......

and I finally make it work with this "version" https://github.com/exacqvision-client/wxFreeChart and I make somethings like this
mychart.JPG
mychart.JPG (61.26 KiB) Viewed 8743 times
Could I add more "label" to the bottom axis???

instead of "0.00 20.00 40.00 ..... "

I want to make it like" 0.00 1.00 2.00 3.00 ....."

I try SetMinorIntervalCount()......but this function can not add "label",only add "gridline"

please help!!!

and sorry for my english......
czczzzz
Earned a small fee
Earned a small fee
Posts: 20
Joined: Thu May 13, 2021 10:34 am

Re: Struggling!!!Please some hero/savior help me about Axis of wxFreeChart!!!!

Post by czczzzz »

for some reasons......I make it works.....

I just changed the code in "numberaxis.cpp" of wxFreeChart

a protected fuction's name is "CalcNiceInterval(double value,bool round)"

it return a "calculated double"...... So I force it to return a "double" instead of what it calculated......

hope that help someone else
Post Reply